IsFightingEnabled - InputEnableLayer

From Creation Kit
Jump to: navigation, search

Member of: InputEnableLayer Script

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

Syntax

bool Function IsFightingEnabled() native

Parameters

None.

Return Value

If the fighting controls are currently enabled or not.

Examples

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

See Also