Thread Tools Display Modes
10-13-05, 06:50 AM   #1
ProfOak
A Cyclonian
Join Date: Oct 2005
Posts: 47
I need a manual about interface hierarchy and variables order on load (Addon)

Hi!

I'm going to try to explain what i would like to know. I need a manual not about LUA programing neither about XML, i need a manual about the order the variables are catch by the event (Ex.: PLAYER_ENTER_WORLD caught 2nd to VARIABLES_LOAD ?) and the frame hierarchy, which frame to use to do what you need, which frames you can use (Ex.: GameToolTip frame to catch Tooltips).

I don't know if i was clear in exposing my question :/
Maybe this is a question more to application developers.
No clue.

Thks
  Reply With Quote
10-13-05, 09:51 AM   #2
mondinga
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 66
Rough load order:
-> OnLoad & In-line scripting, in the order it's loaded (files included in .toc and .xml are loaded in the order specified, add-ons are loaded alphabetically to my knowledge, with the exception of dependencies)
-> VARIABLES_LOADED fires
-> layout-cache.txt info and scaling are applied
-> PLAYER_LOGIN fires, followed immediately by PLAYER_ENTERING_WORLD
-> Frames show for the first time, OnUpdate's start firing

Will add some more stuff later tonight if I get a moment.
  Reply With Quote
10-14-05, 01:52 AM   #3
ProfOak
A Cyclonian
Join Date: Oct 2005
Posts: 47
Thks 4 the help you're giving me :P

What you just post explain some errors that i had and that i didn't understand why :P
Hope that you can gimme some more help :P but appreciate the 1 you just gave :P

Thks :P
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » I need a manual about interface hierarchy and variables order on load (Addon)


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off