Difference between revisions of "EnablePlayerControls"

Jump to navigation Jump to search
411 bytes added ,  07:42, 15 January 2011
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:
=='''Description'''==
{{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]].
=='''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:
Default (no parameters) is equivalent to:
   
   
  EnablePlayerControls 1 1 1 1 1 1 1
  EnablePlayerControls 1 1 1 1 1 1 1
 
|name = EnablePlayerControls
=='''Examples'''==
|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'''==
==Notes==
* See [[DisablePlayerControls]] for flag definitions.
* See [[DisablePlayerControls]] for flag definitions.


 
==See Also==
=='''See Also'''==
*[[DisablePlayerControls]]
[[DisablePlayerControls]]<br>
*[[GetPlayerControlsDisabled]]
[[GetPlayerControlsDisabled]]


<!--  
<!--  
Anonymous user

Navigation menu