Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

XML/Scripts

Last wiki revision 2021-08-19

<Scripts> (child of, or ) contains widget script handlers such as &lt;OnLoad&gt; or &lt;OnUpdate&gt;. &lt;Scripts&gt; &lt;OnLoad function="" method="" inherit="" intrisictOrder="" autoEnableInput="" /&gt; &lt;OnUpdate&gt; -- Lua code &lt;OnUpdate&gt; &lt;!-- See widget script handlers for the full list --&gt; &lt;/Scripts&gt;

Each widget script may enclose Lua code between the tags.

  • function - Name of a function instead of Lua code between the XML tags.
  • method - Name of a widget method instead of Lua code between the XML tags.
  • inherit - Hooks other scripts inherited through an XML virtual template.
  • intrinsicOrder - Hooks other scripts when copied as an intrinsic frame.
  • autoEnableInput

Source

https://warcraft.wiki.gg/wiki/XML/Scripts · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.