Target of Target is Myself
Hello All,
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: #showtooltip /cast [@targettarget,focus] Ability1, [@targettarget,help] Ability2 Thanks in advance for any help! Makakoa |
You can check for valid unitids
I don't have WoW atm but something like this might work. Code:
/cast [@target,targettarget=player] Spell1; [@target,party][@target,raid] Spell2 |
Deleted my previous post because it's wrong. What Dridzt says is mostly correct, except 'player' should be 'self'.
http://www.wowwiki.com/MACRO_cast |
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.
Quote:
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 08:24 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI