IsActivateControlsEnabled - Game

Member of: Game Script

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

SyntaxEdit

bool Function IsActivateControlsEnabled() native global

ParametersEdit

None.

Return ValueEdit

If the activation controls are currently enabled or not.

ExamplesEdit

; Can the player activate things?
if Game.IsActivateControlsEnabled()
  Debug.Trace("Player can activate!")
endIf

See AlsoEdit