IsMenuRegistered - UI
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.
SyntaxEdit
bool Function IsMenuRegistered(string menu) Native Global
ParametersEdit
- menu: The name of the menu to check.
Return ValueEdit
- Returns whether the menu is registered or not.
ExamplesEdit
If (UI.IsMenuRegistered("MyMenu"))
Debug.Trace("MyMenu is registered.")
Else
Debug.Trace("Could not register MyMenu.")
EndIf