Quantcast WoWInterface - View Single Post - Addon for selecting assigning specific targets
View Single Post
03-09-18, 11:31 AM   #5
Ammako
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 256
Originally Posted by ilion View Post
So when you click on a unit in the game world, is there a way of piggybacking off of the function rather than modifying whats there, or is that all apart of the protected aspect of those functions?
Originally Posted by Phanx View Post
Addons cannot change what happens when you click on a unit in the game world.
AKA, no.

You can make other things happen when you target a unit with PLAYER_TARGET_CHANGED event, but setting that target to focus is not one of those things, and you can't prevent that unit from getting targeted as a result of the click.

Click on the unit, it will get targeted. To focus you have to use a separate macro to do it, or manually right-click --> focus on their unit frame. No way around that.

You'll be better off learning to heal via raid/party frames than by clicking units on the game world (or via mouseover macros, even.)

Last edited by Ammako : 03-09-18 at 11:41 AM.
  Reply With Quote