Difference between revisions of "EnablePlayerControls"
Jump to navigation
Jump to search
no edit summary
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>Ez0n3 |
||
Line 1: | Line 1: | ||
== | {{Function | ||
|CSWikiPage = EnablePlayerControls | |||
'''EnablePlayerControls''' enables the player's controls after use of [[DisablePlayerControls]]. | |origin = GECK1 | ||
|summary = '''EnablePlayerControls''' enables the player's controls after use of [[DisablePlayerControls]]. | |||
Default (no parameters) is equivalent to: | Default (no parameters) is equivalent to: | ||
EnablePlayerControls 1 1 1 1 1 1 1 | EnablePlayerControls 1 1 1 1 1 1 1 | ||
|name = EnablePlayerControls | |||
== | |returnType = void | ||
|arguments = | |||
EnablePlayerControls | {{FunctionArgument | ||
|Name = MovementFlag (0/1) (optional), | |||
|Optional = y | |||
}}{{FunctionArgument | |||
|Name = PipboyFlag (0/1) (optional), | |||
|Optional = y | |||
}}{{FunctionArgument | |||
|Name = FightingFlag (0/1) (optional), | |||
|Optional = y | |||
}}{{FunctionArgument | |||
|Name = POVFlag (0/1) (optional), | |||
|Optional = y | |||
}}{{FunctionArgument | |||
|Name = LookingFlag (0/1) (optional), | |||
|Optional = y | |||
}}{{FunctionArgument | |||
|Name = RolloverTextFlag (0/1) (optional), | |||
|Optional = y | |||
}}{{FunctionArgument | |||
|Name = SneakingFlag (0/1) (optional) | |||
|Optional = y | |||
}} | |||
|example = 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 use the pip-boy, but not to fight (assuming fighting was currently disabled) | 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. | * See [[DisablePlayerControls]] for flag definitions. | ||
==See Also== | |||
== | *[[DisablePlayerControls]] | ||
[[DisablePlayerControls]] | *[[GetPlayerControlsDisabled]] | ||
[[GetPlayerControlsDisabled]] | |||
<!-- | <!-- |