Difference between revisions of "IsMenuEnabled - InputEnableLayer"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Plplecuyer
 
imported>Qazaaq
(added category)
 
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
'''Member of:''' [[InputEnableLayer Script]]
'''Member of:''' [[InputEnableLayer Script]]


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


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


== Return Value ==
== Return Value ==
Line 34: Line 32:
*[[IsMovementEnabled - InputEnableLayer]]
*[[IsMovementEnabled - InputEnableLayer]]
*[[IsSneakingEnabled - InputEnableLayer]]
*[[IsSneakingEnabled - InputEnableLayer]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:User Interface]]

Latest revision as of 20:48, 11 February 2018

Member of: InputEnableLayer Script

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

Syntax[edit | edit source]

bool Function IsMenuEnabled() Native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

If the menu controls are currently enabled on this layer or not.

Examples[edit | edit source]

; Is this layer allowing menu access?
if myLayer.IsMenuEnabled()
  Debug.Trace("Player can use the menu (if no one else is blocking)!")
endIf

See Also[edit | edit source]