Background for Fallout 4
Member of the UI script
boolfunctionOpenMenu(stringmenuName)NativeGlobal

Description

Wiki Description

Opens a menu by its name.

Documentation Comment

Return value does not indicate the menu is ready, only that it sent the message


Caveats


Parameters

stringmenuName

CK Wiki Description

The name of the menu to be closed.


Examples

If (UI.OpenMenu("MyMenu"))
    Debug.Trace("MyMenu has been sent the open message.")
Else
    Debug.Trace("Could not send open message to MyMenu.")
EndIf

Auto-Generated Example

string myString__menuName

bool returnedValue = UI.OpenMenu(myString__menuName)

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.