Originally Posted by Layback_
Hi Seerah,
So, even if the addon is set to LoadOnDemand, it still compiles and stays idle after step 2?
|
No, because it sees in the TOC file in step 1 that the addon is LoD.
When it is called with LoadAddOn("AddonName"), then it moves on to step 2 and loads it into memory, then runs it (step 3).
/edit: TOC files are only read when the game client is started up. This is why you need to exit the game completely when editing/changing a TOC file. The TOC file is also where the client gets the addon name from to display in the addon menu at the character select screen.