Difference between revisions of "UI Script"

825 bytes added ,  23:54, 11 February 2018
added short descriptions
imported>Qazaaq
m
imported>Qazaaq
(added short descriptions)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Template:Incomplete Article}}
'''Extends:''' [[ScriptObject Script]]
'''Extends:''' [[ScriptObject Script]]


Line 10: Line 11:
== Properties ==
== Properties ==
None
None
== F4SE Structs ==
*Struct [[MenuData Struct - UI|MenuData]]
**A structure that holds information about a menu.


== Global Functions ==
== Global Functions ==
Line 15: Line 20:


== F4SE Global Functions ==
== F4SE Global Functions ==
*bool Function [[RegisterCustomMenu - UI|RegisterCustomMenu]](string menuName, string menuPath, string rootPath, MenuData mData)
**Registers a custom menu to be opened later.
*bool Function [[RegisterBasicCustomMenu - UI|RegisterBasicCustomMenu]](string menuName, string menuPath, string rootPath)
**Registers a custom menu to be opened later.
*bool Function [[IsMenuRegistered - UI|IsMenuRegistered]](string menu)
**Returns whether a custom menu is registered or not.
*bool Function [[OpenMenu - UI|OpenMenu]](string menuName)
**Opens a menu by its name.
*bool Function [[CloseMenu - UI|CloseMenu]](string menuName)
**Closes a menu by its name.
*var Function [[Get - UI|Get]](string asMenu, string asPath)
*var Function [[Get - UI|Get]](string asMenu, string asPath)
**Returns a variable from AS3 to Papyrus.
**Returns a variable from AS3 to Papyrus.
Line 32: Line 52:
== Events ==
== Events ==
None
None


[[Category:Scripting]]
[[Category:Scripting]]
Line 37: Line 58:
[[Category:Script Objects]]
[[Category:Script Objects]]
[[Category:F4SE]]
[[Category:F4SE]]
[[Category:User Interface]]
Anonymous user