- Found in:
- F4SE
boolfunctionRegisterCustomMenu(stringmenuName, stringmenuPath, stringrootPath, UI:MenuDatamData)NativeGlobal
[DEV SERVER] Loading description...
Caveats
Parameters
stringmenuName
CK Wiki Description
The name of the custom menu to be registered.
stringmenuPath
stringrootPath
UI:MenuDatamData
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.")
EndIfAuto-Generated Example
string myString__menuName
string myString__menuPath
string myString__rootPath
UI:MenuData myUI_MenuData__mData
bool returnedValue = UI.RegisterCustomMenu(myString__menuName, myString__menuPath, myString__rootPath, myUI_MenuData__mData)Related Pages
- UI
- MenuData Struct - UI
- UI.RegisterBasicCustomMenu(...)
- UI.IsMenuRegistered(...)
- UI.OpenMenu(...)
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
