LavishGUI:UI (Command)

From Lavish Software Wiki
Jump to navigation Jump to search

Syntax

Command Difficulty Rating
UI
Usage Newbie
Level of Understanding Newbie
Computer Savvy Newbie
Logic Newbie

UI -reset|-[re]load [-skin <name>] <filename> [<element name> [new name]]|-unload <filename>

Forms

  • UI -reset - clears all UI elements
  • UI -load [-skin <name>] <filename> - loads an XML interface file and adds the new elements to the current interface. Any top-level elements in the file that already exist in the current UI will be skipped
  • UI -reload [-skin <name>] <filename> - same as load except it will not skip existing elements and replace them instead
  • UI -unload <filename> - Unloads each of the elements described in the XML file

Tip: The UIElement command can be used to remove specific UI elements

Examples

Removing all UI elements (including any console)

  • UI -reset

Load a UI from an XML file

  • UI -load defaultui
  • UI -load tradeskillui

Load a UI with a skin from an XML file

  • UI -load -skin myskin defaultui

Reload a UI from an XML file

  • UI -reload myui

Unload a UI

  • UI -unload myui

See Also