IsFightingControlsEnabled - Game

Revision as of 17:37, 12 February 2013 by imported>Plplecuyer (Undo revision 27381 by Jlundin (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Game Script

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

SyntaxEdit

bool Function IsFightingControlsEnabled() native global

ParametersEdit

None.

Return ValueEdit

If the fighting controls are currently enabled or not.

ExamplesEdit

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

See AlsoEdit