Poster: Iriel at 9/7/2005 10:56:48 PM PDT Subject: Slouken: Addon detecting load type
In reading and commenting on a couple of recent dynamic loading threads, I realized that, as an addon author, I dont think I have any way of detecting if my addon is being loaded before or after PLAYER_ENTERING_WORLD / PLAYER_LOADED.
Would it be possible (for 1.8) to add an extra arg to the ADDON_LOADED event to indicate whether it's being loaded before or after that point? Or failing that a method that could be called to establish this.
In the 1.7 meantime, what's a good test that would reliably show on which side of the event you were on?
> Use ## SavedVariables: instead of RegisterForSave()