- Found in:
- F4SE
Description
Wiki Description
Closes a menu by its name.
Documentation Comment
Return value does not indicate the menu is closed, only that it sent the message
Caveats
Parameters
stringmenuName
CK Wiki Description
The name of the menu to be closed.
Examples
If (UI.CloseMenu("MyMenu"))
Debug.Trace("MyMenu has been sent the close message.")
Else
Debug.Trace("Could not send close message to MyMenu.")
EndIfAuto-Generated Example
string myString__menuName
bool returnedValue = UI.CloseMenu(myString__menuName)Related Pages
- UI
- UI.OpenMenu(...)
- UI.IsMenuOpen(...)
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
