Mod:Creation Kit/RegisterBasicCustomMenu - UI

F4SE Member of: Mod:Creation Kit/UI Script

Registers a custom menu to be opened later.

Syntax
bool Function RegisterBasicCustomMenu(string menuName, string menuPath, string rootPath) Global

Parameters

 * menuName: The name of the custom menu to be registered.
 * menuPath:
 * rootPath:

Return Value

 * Returns true if the menu was registered.

Examples
If (UI.RegisterBasicCustomMenu("MyMenu", "TestMenu", "root1.Menu_mc")) Debug.Trace("Registered custom menu called MyMenu.") Else Debug.Trace("Could not register custom menu MyMenu.") EndIf