View Single Post
08-30-14, 08:35 PM   #1
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Login/reload event order

Hey all

I've discovered a strange behavior with the event order during the login/load process.
A simple addon with only one frame and the events below registered does fire the events in different orders.

Login in while out of combat and /reload in combat:
VARIABLES_LOADED
PLAYER_LOGIN
PLAYER_ENTERING_WORLD
SPELLS_CHANGED

So far so good.

Login in while in combat:
SPELLS_CHANGED
PLAYER_LOGIN
PLAYER_ENTERING_WORLD
PLAYER_REGEN_DISABLED
SPELLS_CHANGED
VARIABLES_LOADED

VARIABLES_LOADED is the last event that is fired? Wtf?
  Reply With Quote