EnablePlayerControls

From the Fallout3 GECK Wiki
Revision as of 11:32, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Jump to navigation Jump to search

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