OpenMenu - UI

This article has been flagged as incomplete.
Please help improve the wiki by learning how to contribute.

F4SE Member of: UI Script
Requires F4SE version 0.6.5 or higher.

Opens a menu by its name.

SyntaxEdit

bool Function OpenMenu(string menuName) Native Global

ParametersEdit

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

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit