View Single Post
06/10/17, 02:50 PM   #6
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
If your addon depends on the other addon (or optionally depends on it as it needs functions from it, if the other addon is loaded), you can achieve that your addon gets loaded AFTER the other addon by using the addon manifest .txt file.

If you want your addon be optionally depending on other addons:
Code:
## OptionalDependsOn: LibAddonMenu-2.0 AnotherAddonName
If you want your addon be depending on other addons:
Code:
## DependsOn: LibAddonMenu-2.0 AnotherAddonName
-> Warning: If you use "DependsOn" your addon will not load if the other addon is not found (afaik).


As example:
LibAddonmenu-2.0 is a common addon menu library.
AnotherAddonName is the name of another addon, like e.g. CookeryWiz

You need to check the correct addon name of the other addon by checking the lua/txt file name of the other addon.
  Reply With Quote