49
edits
| Line 12: | Line 12: | ||
== Attributes == | == Attributes == | ||
* function {{attrtype|string}} (optional) | * function {{attrtype|string}} (optional) | ||
*: | *: named function to call using a simple global name. Can be used instead oof inline script payload text. | ||
* method {{attrtype|string}} (optional) | * method {{attrtype|string}} (optional) | ||
*:this frame Lua | *: named method to call using this frame's Lua table or 'mixin' name of function to call, in lieu of inline text or 'function'. | ||
* inherit ([[XML types#SCRIPTINHERITTYPE|SCRIPTINHERITTYPE]]) (optional) | * inherit ([[XML types#SCRIPTINHERITTYPE|SCRIPTINHERITTYPE]]) (optional) | ||
*: order to run this script relative to any | *: order to run this script relative to any other scripts for this event including any 'inherited'. Default is 'none'. | ||
* intrinsicOrder ([[XML types#SCRIPTINTRINSICORDERTYPE|SCRIPTINTRINSICORDERTYPE]]) (optional) | * intrinsicOrder ([[XML types#SCRIPTINTRINSICORDERTYPE|SCRIPTINTRINSICORDERTYPE]]) (optional) | ||
*: order to run this script relative to any implementation scripts for this event. Used only in an intrinsic definition. Default is 'none'. | *: order to run this script relative to any implementation scripts for this event. Used only in an intrinsic definition. Default is 'none'. | ||