Lore archive · Warcraft Wiki, 2023 dump
XML/Scripts
Last wiki revision 2021-08-19
<Scripts> (child of, or ) contains widget script handlers such as <OnLoad> or <OnUpdate>. <Scripts> <OnLoad function="" method="" inherit="" intrisictOrder="" autoEnableInput="" /> <OnUpdate> -- Lua code <OnUpdate> <!-- See widget script handlers for the full list --> </Scripts>
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.