Difference between revisions of "EnablePlayerControls"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
Line 34: Line 34:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]
[[Category:Player Functions]]
[[Category:Player Functions]]
[[Category:Player Functions (GECK 1.0)]]
[[Category:Player Functions (GECK 1.1)]]

Revision as of 10:51, 15 August 2009

Description

EnablePlayerControls enables the player's controls after use of DisablePlayerControls.

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)

Default (no parameters) is equivalent to:

EnablePlayerControls 1 1 1 1 1 1 1

Examples

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 Also

DisablePlayerControls
GetPlayerControlsDisabled