WoW:API and scripting quirks: Difference between revisions

→‎World of Warcraft Scripting Quirks: strike CVar immediate output, not true as of 2.1.0 (or earlier)
m (LUA -> Lua, it is word, not abbreviation. Get rid of "code". Remove unnecessary _ in article title.)
(→‎World of Warcraft Scripting Quirks: strike CVar immediate output, not true as of 2.1.0 (or earlier))
Line 20: Line 20:
* Output to the outside world
* 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 "<tt>## [[SavedVariables]]:</tt>" 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.


* [[World of Warcraft API|Functions]]
* [[World of Warcraft API|Functions]]