In addition to what Phanx said, macros cannot compare two targets to see if your current target is the same unit as your focus.
Originally Posted by jurundo
Checking if a unit is player or npc isn't the only way to make this work.
We may make it someway like /targetenemyplayer with a script.
I know someone made this work on 2.4.3 so one sure thing is this is possible.
Also, should you know I didn't mean to hurt anyone by me previous post, so if I did hurt you Jynks, I'm sorry.
|
What do you mean "with a script"? Targeting is a protected action and addons have not been able to do this since the 2.0 patch. And perhaps what you're thinking of from 2.4.3 either is a) not exactly what you're wanting to do above, or b) something that was fixed in the 3 years since.