OpenMenu - UI

From the Fallout4 CreationKit Wiki
Revision as of 22:17, 11 February 2018 by imported>Qazaaq (Created page with "{{Template:Incomplete Article}} '''F4SE Member of:''' UI Script {{Template:Papyrus:RequiredF4SE|version=0.6.5}} Opens a menu by its name. == Syntax == <source lang="papy...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.

Syntax[edit | edit source]

bool Function OpenMenu(string menuName) Native Global

Parameters[edit | edit source]

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

Return Value[edit | edit source]

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

Examples[edit | edit source]

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 Also[edit | edit source]