UIExtensions v1.2.0
Requires SKSE 1.7.1 or greater
What does this mod do?
This mod adds several custom menus meant for modder and user use.
What do the menus do?
Cosmetic Menu
- Designed to borrow the RaceMenu interface to apply features from NiOverride such as overlays to NPCs.
Dye Menu
- Designed for applying dyes to Armor, can optionally consume items and determine how many dyes can be blended.
List Menu
- Designed to display a variable amount of information in a list format, optionally the lists can contain other lists (This menu is difficult to use).
Magic Menu
- Designed to display the spells of another Actor, and optionally trade them with the player.
Selection Menu
- Looks like the vanilla favorites menu, lets you select an Actor (or multiple) from a list of Actors supplied by FormList.
Stats Menu
- Displays all relevant Actor or a list of Actor's stats.
Text Entry Menu
- Allows you to type (UTF-8) input into a textbox and have the text returned to script.
Wheel Menu
- 8-option menu in a circular layout, if passed an optional Actor or List of Actors their name will be displayed at the top and their health/magicka/stamina displayed on the left.
How to access the menus via script?
Use the UIExtensions global script to access and alter the menus before opening them
e.g.
UIExtensions.InitMenu("UIWheelMenu")
UIExtensions.SetMenuPropertyIndexString("UIWheelMenu", "optionText", 0, "Option0")
UIExtensions.SetMenuPropertyIndexString("UIWheelMenu", "optionLabelText", 0, "Option0")
int ret = UIExtensions.OpenMenu("UIWheelMenu")
Debug.Trace("Option " + ret + " selectioned")
Various menus have special properties that can be altered prior to opening, these can be viewed from their respective scripts.