RegisterBasicCustomMenu - UI
Revision as of 22:40, 11 February 2018 by imported>Qazaaq (added f4se member)
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.
Syntax[edit | edit source]
bool Function RegisterBasicCustomMenu(string menuName, string menuPath, string rootPath) Global
Parameters[edit | edit source]
- menuName: The name of the custom menu to be registered.
- menuPath:
- rootPath:
Return Value[edit | edit source]
- Returns true if the menu was registered.
Examples[edit | edit source]
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