Difference between revisions of "EnablePlayerControls"
Jump to navigation
Jump to search
imported>HawkFest (→Syntax) |
imported>HawkFest |
||
Line 13: | Line 13: | ||
==Examples== | ==Examples== | ||
EnablePlayerControls | EnablePlayerControls() | ||
Player's controls are completely enabled | Player's controls are completely enabled | ||
EnablePlayerControls 1 1 0 | EnablePlayerControls(1, 1, 0) | ||
Turns back on ability to move and fighting, but not to POV, Looking... (assuming they were currently disabled) | Turns back on ability to move and fighting, but not to POV, Looking... (assuming they were currently disabled) | ||
Revision as of 14:57, 18 January 2013
Description
EnablePlayerControls enables the player's controls after use of DisablePlayerControls.
Syntax
EnablePlayerControls ([MovementFlag (0/1)][, FightingFlag (0/1)][, POVFlag (0/1)][, LookingFlag (0/1)][, SneakingFlag (0/1)][, MenuFlag (0/1)][, ActivateFlag (0/1)])
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 fighting, but not to POV, Looking... (assuming they were currently disabled)
Notes
- See DisablePlayerControls for flag definitions.
See Also
DisablePlayerControls
GetPlayerControlsDisabled