LavishGUI:UI (Command)

From Lavish Software Wiki
Revision as of 20:23, 23 September 2005 by Beefalo (talk | contribs)
Jump to navigation Jump to search

Syntax

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

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

Forms

  • UI -reset - clears all UI elements including the console
  • UI -load <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 <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 console)

  • UI -reset

Load a UI from an XML file

  • UI -load defaultui
  • UI -load tradeskillui

Reload a UI from an XML file

  • UI -reload myui

Unload a UI

  • UI -unload myui

See Also