EnablePlayerControls

From the CreationKit Wiki
Revision as of 17:09, 2 December 2011 by imported>Scornett-Bot (Script running global find and replace: = for '''=)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

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

Syntax

EnablePlayerControls MovementFlag (0/1) (optional), FightingFlag (0/1) (optional), POVFlag (0/1) (optional), LookingFlag (0/1) (optional), SneakingFlag (0/1) (optional), MenuFlag (0/1) (optional), ActivateFlag (0/1) (optional)

Default (no parameters) is equivalent to:

EnablePlayerControls 1 1 1 1 1 1 1

Examples

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)

Notes


See Also

DisablePlayerControls
GetPlayerControlsDisabled


Papyrus Version

EnablePlayerControls - Game