IsFightingControlsEnabled - Game

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

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

Syntax[edit | edit source]

bool Function IsFightingControlsEnabled() native global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If the fighting controls are currently enabled or not.

Examples[edit | edit source]

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

See Also[edit | edit source]