View Single Post
09-15-10, 03:44 AM   #13
v6o
An Onyxian Warder
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 399
So I was making something that requires knowing when talent information is available and that's PLAYER_ALIVE on login and basically any time after on /reload's or loading screens.

Now I don't want to save variables if it's not necessary but I'm not finding another way of doing this.
The only way I can think of is saving a variable to say we're logged in and talents are available when first logging in (first PLAYER_ALIVE.. does this fire on login to Ghost/Dead?) and then resetting it when logging out.

Edit: Wrote PLAYER_LOGIN in first sentence when I meant PLAYER_ALIVE
Edit2: PLAYER_ALIVE does fire as ghost on log in.
__________________
I stopped playing back World of Warcraft in 2010 and I have no plans on returning.
This is a dead account and if you want to continue any of my addons or make a fork then feel free to do so.
This is your permission slip.

If you need to contact me, do so on Twitter @v6ooo

Best regards, v6.

Last edited by v6o : 09-15-10 at 04:41 AM.
  Reply With Quote