RegisterBasicCustomMenu - 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.

Registers a custom menu to be opened later.

SyntaxEdit

bool Function RegisterBasicCustomMenu(string menuName, string menuPath, string rootPath) Global

ParametersEdit

  • menuName: The name of the custom menu to be registered.
  • menuPath:
  • rootPath:

Return ValueEdit

  • Returns true if the menu was registered.

ExamplesEdit

If (UI.RegisterBasicCustomMenu("MyMenu", "TestMenu", "root1.Menu_mc"))
    Debug.Trace("Registered custom menu called MyMenu.")
Else
    Debug.Trace("Could not register custom menu MyMenu.")
EndIf

See AlsoEdit