IsFightingEnabled - InputEnableLayer

From the Fallout4 CreationKit Wiki
Revision as of 17:46, 12 February 2013 by imported>Plplecuyer (→‎Syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: InputEnableLayer Script

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

Syntax[edit | edit source]

bool Function IsFightingEnabled() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If the fighting controls are currently enabled or not.

Examples[edit | edit source]

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

See Also[edit | edit source]