Background for Fallout 4
Member of the UI script
boolfunctionRegisterBasicCustomMenu(stringmenuName, stringmenuPath, stringrootPath)Global

Description

Wiki Description

Registers a custom menu to be opened later.


Caveats


Parameters

stringmenuName

CK Wiki Description

The name of the custom menu to be registered.

stringmenuPath

stringrootPath


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

Auto-Generated Example

string myString__menuName
string myString__menuPath
string myString__rootPath

bool returnedValue = UI.RegisterBasicCustomMenu(myString__menuName, myString__menuPath, myString__rootPath)

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.