WoW:XML/Script: Difference between revisions

No edit summary
Line 24: Line 24:
* (optional) - Lua script as plain text called as a Lua function.
* (optional) - Lua script as plain text called as a Lua function.


=== Lua parameters ===
=== Parameters ===
Lua script parameters set by the engine for use by the script.
* self - (table) the container table. For a Frame is the scripts Lua frame table itself
* self - (table) the container table. For a Frame is the scripts Lua frame table itself
* event - (string) the name of the wow event
* event - (string) the name of the wow event