Background for Fallout 4
Member of the UI script
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.")
EndIf

Auto-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


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.