Target of Target is Myself
View Single Post
07-05-12, 07:35 AM
A Black Drake
Join Date: Nov 2006
There is no way to check whether two units are actually the same unit with secure code, including macro conditionals. More specifically, you
choose which spell to cast based on whether your target's target is you or some other friendly player.
Originally Posted by
Deleted my previous post because it's wrong. What Dridzt says is mostly correct, except 'player' should be 'self'.
The Wowwiki page is blatantly wrong as far as "self" is concerned. You're also falling into the trap of thinking that target= implies unit comparison, rather than simply setting which unit the conditional operates on. [On a tangent, that's a slight benefit of the @unit syntax: it's more difficult to misread in this way.]
WoWWiki UI articles are generally not actively updated since the WoWWiki/Wowpedia split. In this case, the relevant wowpedia page is
, which removes some of the inaccuracies and subtleties that confused you so. Please consider linking to Wowpedia rather than WoWWiki in the future.
... and you do get used to it, after a while.
Last edited by Foxlit : 07-05-12 at
View Public Profile
Send a private message to Foxlit
Find More Posts by Foxlit