Mod:Creation Kit/OpenMenu - UI

F4SE Member of: Mod:Creation Kit/UI Script

Opens a menu by its name.

Syntax
bool Function OpenMenu(string menuName) Native Global

Parameters

 * menuName: The name of the menu to be closed.

Return Value

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

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