Navigation menu

WoW:User interface customization guide: Difference between revisions

Jump to navigation Jump to search
Line 58: Line 58:
== Tips and Tricks ==
== Tips and Tricks ==


World of Warcraft supports dynamically reloading the user interface. At any time you can modify the XML and Lua files and then reload them by bringing down the console (pressing ~) and typing "reloadUI". If there were syntax errors in loading, you can just edit, fix, and reload.
World of Warcraft supports dynamically '''reloading the user interface.''' At any time you can modify the XML and Lua files and then reload them by bringing down the console (pressing ~) and typing "'''reloadUI'''". If there were syntax errors in loading, you can just edit, fix, and reload.


''Note'': Nowadays, you will need to use the command /console reloadui (or /rl if you are using Cosmos).
''Note'': Nowadays, you will need to use the command''' /console reloadui''' (or''' /rl''' if you are using Cosmos).
--[[User:Sarf|Sarf]] 06:14, 13 Nov 2004 (EST)
--[[User:Sarf|Sarf]] 06:14, 13 Nov 2004 (EST)


If you're not sure what's happening in the script, use the message() function to print a message and view variables. Once the dialog is shown, your script keeps on executing, but no other message() calls will show anything until you click the button to dismiss the dialog.  
If you're not sure what's happening in the script, use the''' message() function to print a message and view variables'''. Once the dialog is shown, your script keeps on executing, but no other message() calls will show anything until you click the button to dismiss the dialog.  


Feel free to experiment. If you break something, starting fresh is really easy. If you have questions, look on the forums to see if other people have already figured out the answers. Occasionally, Blizzard staff will be available to answer scripting questions - we value your feedback!  
Feel free to experiment. If you break something, starting fresh is really easy. If you have questions, look on the forums to see if other people have already figured out the answers. Occasionally, Blizzard staff will be available to answer scripting questions - we value your feedback!


== Conclusion ==
== Conclusion ==


The interface files are provided for your enjoyment, and are not supported in any way. That said, we hope that World of Warcraft provides a robust and flexible system for custom interfaces.
The interface files are provided for your enjoyment, and are not supported in any way. That said, we hope that World of Warcraft provides a robust and flexible system for custom interfaces.