IsMovementControlsEnabled - Game

Revision as of 20:00, 21 June 2012 by imported>DreamKing (Added Notes section, note that function does not work reliably.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Game Script

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

SyntaxEdit

bool Function IsMovementControlsEnabled() native global

ParametersEdit

None.

Return ValueEdit

If the movement controls are currently enabled or not.

ExamplesEdit

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

NotesEdit

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

See AlsoEdit