EnablePlayerControls

Revision as of 15:05, 18 January 2013 by imported>HawkFest (→‎Syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DescriptionEdit

EnablePlayerControls enables the player's controls after use of DisablePlayerControls.

SyntaxEdit

EnablePlayerControls([MovementFlag][, FightingFlag][, POVFlag][, LookingFlag][, SneakingFlag][, MenuFlag][, ActivateFlag])

Where each Flag is a boolean value (either 0 or False, either 1 or True). Default (no parameters) is equivalent to:

EnablePlayerControls(1, 1, 1, 1, 1, 1, 1)

ExamplesEdit

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)

NotesEdit


See AlsoEdit

DisablePlayerControls
GetPlayerControlsDisabled


Papyrus VersionEdit

EnablePlayerControls - Game