Difference between revisions of "LavishGUI:UI (Command)"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Syntax == | == Syntax == | ||
{{CMD-DR|UI|Newbie|Newbie|Newbie|Newbie}} | {{CMD-DR|UI|Newbie|Newbie|Newbie|Newbie}} | ||
− | UI -reset|-load <filename> | + | UI -reset|-[re]load [-skin <name>] <filename> [<element name> [new name]]|-unload <filename> |
== Forms == | == Forms == | ||
− | *UI -reset - clears all UI elements | + | *UI -reset - clears all UI elements |
− | *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 -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 <filename> - same as load except it will not skip existing elements and replace them instead | + | *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 | *UI -unload <filename> - Unloads each of the elements described in the XML file | ||
<small>Tip: The UIElement command can be used to remove specific UI elements</small> | <small>Tip: The UIElement command can be used to remove specific UI elements</small> | ||
== Examples == | == Examples == | ||
− | ===Removing all UI elements (including console)=== | + | ===Removing all UI elements (including any console)=== |
*UI -reset | *UI -reset | ||
===Load a UI from an XML file=== | ===Load a UI from an XML file=== | ||
*UI -load defaultui | *UI -load defaultui | ||
*UI -load tradeskillui | *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=== | ===Reload a UI from an XML file=== | ||
*UI -reload myui | *UI -reload myui |
Latest revision as of 18:47, 14 October 2005
Contents
Syntax
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