View Single Post
02-05-10, 04:55 AM   #5
Ailae
A Rage Talon Dragon Guard
 
Ailae's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 318
Yeah, Dridzt is right, it will only fire on a "cold" login so to speak. If you're using PLAYER_ALIVE to know when talents are available you can register for PLAYER_ENTERING_WORLD and when it fires do this:

lua Code:
  1. if (GetNumTalentTabs() == 0) then
  2.     frame:RegisterEvent("PLAYER_ALIVE")
  3. else
  4.     -- talents are available already, so this was probably a /reload.
  5. end
__________________
Oh, the simulated horror!
  Reply With Quote