EnablePlayerControls
Revision as of 07:42, 15 January 2011 by imported>Ez0n3
< [[::Category:Functions|Category:Functions]]
Link to TES4 Construction Set Wiki: EnablePlayerControls.
A function included in the GECK version 1.1.0.36.
Description
EnablePlayerControls enables the player's controls after use of DisablePlayerControls.
Default (no parameters) is equivalent to:
EnablePlayerControls 1 1 1 1 1 1 1
Syntax
EnablePlayerControls MovementFlag (0/1) (optional), PipboyFlag (0/1) (optional), FightingFlag (0/1) (optional), POVFlag (0/1) (optional), LookingFlag (0/1) (optional), RolloverTextFlag (0/1) (optional), SneakingFlag (0/1) (optional)
Example
EnablePlayerControls
Player's controls are completely enabled
EnablePlayerControls 1 1 0
Turns back on ability to move and use the pip-boy, but not to fight (assuming fighting was currently disabled)
Notes
- See DisablePlayerControls for flag definitions.