Difference between revisions of "IsMenuControlsEnabled - Game"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Plplecuyer
(Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Game Script Checks to see if menu controls are currently enabled or not. == Syntax == <source lang="papyrus"> b…')
 
imported>Qazaaq
(added category)
 
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
'''Member of:''' [[Game Script]]
'''Member of:''' [[Game Script]]


Line 7: Line 5:
== Syntax ==
== Syntax ==
<source lang="papyrus">
<source lang="papyrus">
bool Function IsMenuControlsEnabled() native global
bool Function IsMenuControlsEnabled() Native Global
</source>
</source>


== Parameters ==
== Parameters ==
None.
None


== Return Value ==
== Return Value ==
Line 33: Line 31:
*[[IsMovementControlsEnabled - Game]]
*[[IsMovementControlsEnabled - Game]]
*[[IsSneakingControlsEnabled - Game]]
*[[IsSneakingControlsEnabled - Game]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:User Interface]]

Latest revision as of 20:30, 11 February 2018

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]