Navigation menu

WoW:API and scripting quirks: Difference between revisions

Jump to navigation Jump to search
m (→‎World of Warcraft Scripting Quirks: Corrected inherited/nested)
Line 18: Line 18:
** If you get no error output, but your addon is simply not being loaded, make sure you don't have a syntax error in your .xml file.  A simple way to ensure that your xml is well-formed is to open it in Firefox; it will point out any XML structure errors to you. You can also check the contents of your Logs directory for errors.
** If you get no error output, but your addon is simply not being loaded, make sure you don't have a syntax error in your .xml file.  A simple way to ensure that your xml is well-formed is to open it in Firefox; it will point out any XML structure errors to you. You can also check the contents of your Logs directory for errors.


* [[Output]]
* Output to the outside world
** The only file output allowed is when the UI engine saves variables before it exits or reloads. Addons use the ## SavedVariables: header to indicate which data they wish to save.
** The only file output allowed is when the UI engine saves variables before it exits or reloads. Addons use the "<tt>## [[SavedVariables]]:</tt>" header to indicate which data they wish to save.
** Another way to output data is to save certain variables using the SetCVar() function.  This will immediatly do an export of the config.wtf file that contains various in game variables.  This will not allow you to create new variables to export out, just set non default values to certain in game variables.
** Another way to output data is to save certain variables using the SetCVar() function.  This will immediatly do an export of the config.wtf file that contains various in game variables.  This will not allow you to create new variables to export out, just set non default values to certain in game variables.


Line 32: Line 32:
**** "|c" doesn't have the same problem, but will cause the text after it not to show.
**** "|c" doesn't have the same problem, but will cause the text after it not to show.


== Also See ==
* [[Interface Customization FAQ]]
<br>
<br>
[[Category:Interface Customization]]
[[Category:Interface Customization]]
Anonymous user