WoWInterface - View Single Post - Addon for selecting assigning specific targets
View Single Post
03-09-18, 02:56 AM   #2
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Not possible. Addons cannot change what happens when you click on a unit in the game world.

You could compensate by running your existing macro, with minor changes, after selecting the target:

/stopmacro [nohelp]
/cleartarget [focus=target]
I am curious, though, how are you clicking on units in the game world so often that this is even an issue? In more than a decade of playing WoW, much of that time as a healer in raids, I can't recall ever clicking a friendly unit in the game world on purpose...
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote