View Single Post
12/14/18, 12:05 PM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,964
Each addon runs through event_addon_loaded.
Add the other addon to your addons txt file at ##OptionalDependsOn: OtherAddon

In your callback function of event_addon_loaded you'll be able to check the parameter addonName == Other Addon finally.

Or simply check the other addons code if it got a global variable defined.
Inside your code check if this var exists like this:
If otherAddonVar and otherAddonVar.functionName then
--other addon is loaded
End
  Reply With Quote