Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Seerah
Forum: General Authoring Discussion 12-22-17, 12:57 PM
Replies: 24
Views: 5,959
Posted By Seerah
AddonLoader is totally unnecessary and overkill.

AddonLoader is totally unnecessary and overkill.
Forum: General Authoring Discussion 12-21-17, 07:59 PM
Replies: 24
Views: 5,959
Posted By Seerah
No, because it sees in the TOC file in step 1...

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...
Forum: General Authoring Discussion 12-20-17, 01:39 PM
Replies: 24
Views: 5,959
Posted By Seerah
The way the client works is this: 1. Looks at...

The way the client works is this:

1. Looks at the .toc file to find which files will be used
2. Compiles these Lua/XML files into memory ("loads" them so that the code can be run)
3. Executes (runs)...
Forum: General Authoring Discussion 12-19-17, 12:41 PM
Replies: 24
Views: 5,959
Posted By Seerah
You just need one Lua file. For a real simple,...

You just need one Lua file. For a real simple, basic example, look at my Forfend (http://www.wowinterface.com/downloads/info19215-Forfend.html).
Forum: General Authoring Discussion 12-17-17, 09:00 PM
Replies: 24
Views: 5,959
Posted By Seerah
Just to be clear... local _, class =...

Just to be clear...

local _, class = UnitClass("player")
if class ~= "ROGUE" then
DisableAddon("YourAddonName") --you don't need to specify a character here, unless you want to disable for a...
Forum: General Authoring Discussion 12-17-17, 01:13 PM
Replies: 24
Views: 5,959
Posted By Seerah
Combine the 2 solutions. The addon will not run...

Combine the 2 solutions. The addon will not run for classes other than Rogue, and will be disabled for those characters after the first log in.
Showing results 1 to 6 of 6