IsMenuRegistered - UI
Revision as of 22:27, 11 February 2018 by imported>Qazaaq (added f4se member)
This article has been flagged as incomplete. |
Please help improve the wiki by learning how to contribute. |
F4SE Member of: UI Script
Requires F4SE version 0.6.5 or higher.
Returns whether a custom menu is registered or not.
Syntax[edit | edit source]
bool Function IsMenuRegistered(string menu) Native Global
Parameters[edit | edit source]
- menu: The name of the menu to check.
Return Value[edit | edit source]
- Returns whether the menu is registered or not.
Examples[edit | edit source]
If (UI.IsMenuRegistered("MyMenu"))
Debug.Trace("MyMenu is registered.")
Else
Debug.Trace("Could not register MyMenu.")
EndIf