Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-06-08, 08:17 PM   #1
kerrang
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2006
Posts: 109
VARIABLES_LOADED - except they're not

I have some code in my addons which is called when VARIABLES_LOADED fires

It relies on SavedVariables - and it seems that on initial login, they are NOT set when VARIABLES_LOADED fires - tho they tend to be on /console reloadui

This is obviously a bug (or that event has a WAY misleading name!)

Where SHOULD I put such code - I only want it executed once at each login (so PLAYER_ENTERING_WORLD is no use) and SavedVariables must be set before it runs

Any ideas?
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » VARIABLES_LOADED - except they're not


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