Difference between revisions of "EnablePlayerControls"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>Prideslayer m (TESCK wiki link is worthless for this command) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
== | {{Function | ||
|origin = GECK1 | |||
'''EnablePlayerControls''' enables the player's controls after use of [[DisablePlayerControls]]. | |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]] | |||
<!-- | <!-- |
Latest revision as of 22:20, 7 October 2012
< [[::Category:Functions|Category:Functions]]
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.