Mod:Creation Kit/IsMenuRegistered - UI

F4SE Member of: Mod:Creation Kit/UI Script

Returns whether a custom menu is registered or not.

Syntax
bool Function IsMenuRegistered(string menu) Native Global

Parameters

 * menu: The name of the menu to check.

Return Value

 * Returns whether the menu is registered or not.

Examples
If (UI.IsMenuRegistered("MyMenu")) Debug.Trace("MyMenu is registered.") Else Debug.Trace("Could not register MyMenu.") EndIf