Background for Fallout 4
Member of the UI script
boolfunctionIsMenuRegistered(stringmenu)NativeGlobal

Description

Wiki Description

Returns whether a custom menu is registered or not.

Documentation Comment

Returns whether the menu is registered


Caveats


Parameters

stringmenu

CK Wiki Description

The name of the menu to check.


Examples

If (UI.IsMenuRegistered("MyMenu"))
    Debug.Trace("MyMenu is registered.")
Else
    Debug.Trace("Could not register MyMenu.")
EndIf

Auto-Generated Example

string myString__menu

bool returnedValue = UI.IsMenuRegistered(myString__menu)

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.