IsMovementControlsEnabled - Game

From Creation Kit
Jump to: navigation, search

Member of: Game Script

Checks to see if movement controls are currently enabled or not.

Syntax

bool Function IsMovementControlsEnabled() native global

Parameters

None.

Return Value

If the movement controls are currently enabled or not.

Examples

; Can the player move?
if Game.IsMovementControlsEnabled()
  Debug.Trace("Player can move!")
endIf

Notes

  • Does not work reliably--will often return true even when movement is disabled.

See Also