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>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]] | |||
<!-- | <!-- |
Revision as of 07:42, 15 January 2011
< [[::Category:Functions|Category:Functions]]
Link to TES4 Construction Set Wiki: EnablePlayerControls.
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.