WoW:AddOn loading process: Difference between revisions

Odd Scrolling box around example made it hard to read.
m (added minor note on quest information becoming available after the PLAYER_ALIVE event)
(Odd Scrolling box around example made it hard to read.)
Line 18: Line 18:


To illustrate the loading order, consider the following addon code example:
To illustrate the loading order, consider the following addon code example:
<div style="max-height: 150px; border: 2px solid black; padding: 1em; margin: 0.2em; overflow: auto">
 
<span style="font-size: 1.6em">LoadingOrder.toc</span>
<span style="font-size: 1.6em">LoadingOrder.toc</span>
  ##Interface: 30000
  ##Interface: 30000
Line 49: Line 49:
<span style="font-size: 1.6em">file3.lua</span>
<span style="font-size: 1.6em">file3.lua</span>
  print("This concludes this presentation");
  print("This concludes this presentation");
</div>


== Saved variables loading ==
== Saved variables loading ==
Anonymous user