IsActivateControlsEnabled - Game

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

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

Syntax[edit | edit source]

bool Function IsActivateControlsEnabled() native global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If the activation controls are currently enabled or not.

Examples[edit | edit source]

; Can the player activate things?
if Game.IsActivateControlsEnabled()
  Debug.Trace("Player can activate!")
endIf

See Also[edit | edit source]