Mod:Creation Kit/RegisterCustomMenu - UI

F4SE Member of: Mod:Creation Kit/UI Script

Registers a custom menu to be opened later.

Syntax
bool Function RegisterCustomMenu(string menuName, string menuPath, string rootPath, MenuData mData) Native Global

Parameters

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

Return Value

 * Returns true if the menu was registered.

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