IsFightingEnabled - InputEnableLayer

Member of: InputEnableLayer Script

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

SyntaxEdit

bool Function IsFightingEnabled() native

ParametersEdit

None.

Return ValueEdit

If the fighting controls are currently enabled or not.

ExamplesEdit

; Are fighting controls disabled on this layer?
if myLayer.IsFightingEnabled()
  Debug.Trace("Player can fight (if no one else has denied)!")
endIf

See AlsoEdit