Quantcast WoWInterface - View Single Post - How to disable Addon for specific Class Spec?
View Single Post
04-04-19, 11:56 PM   #2
Nightness
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Feb 2009
Posts: 30
I'm looking into this...

I'm looking into this for my MagnetButtons addon. I will let you know when I know... Crazy day, but if you want a go at figuring it out, I will quickly explain what to look for... create a frame and set a script for OnEvent, and RegisterAllEvents()... Somewhere in there lies a way to detect spec changes.

Worst case, use an OnUpdate frame event handler to constantly check your current role, and call some callback function when it changes.

Last edited by Nightness : 04-05-19 at 12:01 AM.
  Reply With Quote