m
Move page script moved page XML/Script to WoW:XML/Script without leaving a redirect
No edit summary |
m (Move page script moved page XML/Script to WoW:XML/Script without leaving a redirect) |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 23: | Line 23: | ||
== Payload == | == Payload == | ||
* (optional) - Lua script as plain text called as a Lua function. | * (optional) - Lua script as plain text called as a Lua function. | ||
<pre> | |||
=== | <Frame name="Frame1"> | ||
* self - (table) the | <Scripts> | ||
<OnMouseUp> | |||
print(self:GetName(), event, ...) -- payload | |||
</OnMouseUp> | |||
</Scripts> | |||
</Frame> | |||
</pre> | |||
=== Parameters === | |||
Lua script parameters set by the engine for use by the inline script. | |||
* self - (table) the Lua table automatically genmerated for the frame | |||
* event - (string) the name of the wow event | * event - (string) the name of the wow event | ||
* ... - the remaining Lua args list including any event arguments | * ... - the remaining Lua args list including any event arguments | ||