IsMenuControlsEnabled - Game

From the Fallout4 CreationKit Wiki
Revision as of 20:30, 11 February 2018 by imported>Qazaaq (added category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

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

Syntax[edit | edit source]

bool Function IsMenuControlsEnabled() Native Global

Parameters[edit | edit source]

None

Return Value[edit | edit source]

If the menu controls are currently enabled or not.

Examples[edit | edit source]

; Can the player use the menu?
if Game.IsMenuControlsEnabled()
  Debug.Trace("Player can use the menu!")
endIf

See Also[edit | edit source]