WoW:XML file: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | {{uiaddon}} | ||
== Example == | |||
<!-- where did this come from? very old --> | |||
<[[XML/Ui|Ui]] xsi:schemaLocation="http://www.blizzard.com/wow/ui/">; | |||
<Script file="repopme.lua"/>; | |||
<!-- Frame to handle all core events --> | |||
<Frame name="repopme_core"> | |||
<Scripts> | |||
<OnLoad> | |||
self:RegisterEvent("PLAYER_DEAD"); | |||
</OnLoad> | |||
<OnEvent> | |||
repopme_OnEvent(event); | |||
</OnEvent> | |||
</Scripts> | |||
</Frame> | |||
</Ui> |
Revision as of 17:43, 9 September 2014
Example
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/">; <Script file="repopme.lua"/>; <Frame name="repopme_core"> <Scripts> <OnLoad> self:RegisterEvent("PLAYER_DEAD"); </OnLoad> <OnEvent> repopme_OnEvent(event); </OnEvent> </Scripts> </Frame> </Ui>