How to disable Addon for specific Class Spec?
View Single Post
04-04-19, 11:56 PM
An Aku'mai Servant
Join Date: Feb 2009
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
View Public Profile
Send a private message to Nightness
Find More Posts by Nightness