Difference between revisions of "IsMenuOpen - UI"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Chesko
(Added all possible MenuName options as per the SKSE 1.06 documentation.)
imported>Chesko
(Removed because I see now that that was already linked on another page.)
 
Line 13: Line 13:
== Parameters ==
== Parameters ==
*MenuName: The [[UI_Script#Valid_Menu_Names|name of the menu]] to check.
*MenuName: The [[UI_Script#Valid_Menu_Names|name of the menu]] to check.
Potential values for MenuName are:
* "InventoryMenu"
* "Console"
* "Dialogue Menu"
* "HUD Menu"
* "Main Menu"
* "MessageBoxMenu"
* "Cursor Menu"
* "Fader Menu"
* "MagicMenu"
* "Top Menu"
* "Overlay Menu"
* "Overlay Interaction Menu"
* "Loading Menu"
* "TweenMenu"
* "BarterMenu"
* "GiftMenu"
* "Debug Text Menu"
* "MapMenu"
* "Lockpicking Menu"
* "Quantity Menu"
* "StatsMenu"
* "ContainerMenu"
* "Sleep/Wait Menu"
* "LevelUp Menu"
* "Journal Menu"
* "Book Menu"
* "FavoritesMenu"
* "RaceSex Menu"
* "Crafting Menu"
* "Training Menu"
* "Mist Menu"
* "Tutorial Menu"
* "Credits Menu"
* "TitleSequence Menu"
* "Console Native UI Menu"
* "Kinect Menu"


== Return Value ==
== Return Value ==

Latest revision as of 22:16, 12 October 2012

SKSE Member of: UI Script

Minimum required SKSE Version: 1.06.00

Returns if the menu is currently open.

Syntax[edit | edit source]

Bool Function IsMenuOpen(String MenuName) Global Native

Parameters[edit | edit source]

Return Value[edit | edit source]

Returns whether or not the specified menu is currently open as a bool.

Examples[edit | edit source]

Bool bIsInventoryMenuOpen = UI.IsMenuOpen("InventoryMenu")

Notes[edit | edit source]

None

See Also[edit | edit source]