Target of Target is Myself
I need help with a macro. I'd like it to use an ability if the target of my target is myself, or a different ability if the target of my target is another player.
I was trying something like this where I was the focus target:
/cast [@targettarget,focus] Ability1, [@targettarget,help] Ability2
Thanks in advance for any help!
You can check for valid unitids
I don't have WoW atm but something like this might work.
Deleted my previous post because it's wrong. What Dridzt says is mostly correct, except 'player' should be 'self'.
There is no way to check whether two units are actually the same unit with secure code, including macro conditionals. More specifically, you cannot choose which spell to cast based on whether your target's target is you or some other friendly player.
WoWWiki UI articles are generally not actively updated since the WoWWiki/Wowpedia split. In this case, the relevant wowpedia page is http://www.wowpedia.org/MACRO_cast , which removes some of the inaccuracies and subtleties that confused you so. Please consider linking to Wowpedia rather than WoWWiki in the future.
Hm, my bad there. My first post was actually right, but I decided to check to make sure :rolleyes:
|All times are GMT -6. The time now is 02:04 PM.|
vBulletin © 2015, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC