m
Move page script moved page XML/Script to WoW:XML/Script without leaving a redirect
m (Move page script moved page XML/Script to WoW:XML/Script without leaving a redirect) |
|||
| (4 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"> | |||
<Scripts> | |||
<OnMouseUp> | |||
print(self:GetName(), event, ...) -- payload | |||
</OnMouseUp> | |||
</Scripts> | |||
</Frame> | |||
</pre> | |||
=== Parameters === | === Parameters === | ||
Lua script parameters set by the engine for use by the script. | Lua script parameters set by the engine for use by the inline script. | ||
* self - (table) the | * 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 | ||