View Full Version : targeting a raid icon
Hordehunter
01-19-2010, 12:35 AM
http://www.almostgaming.com/wow-forums/general-questions-answers/macro-target-skull-or-other-marked-icon
Hordehunter
01-19-2010, 01:50 AM
this was on EJ too
Posted on the EU forums:
Just a little macro I made a few days ago, works pretty good, so I thought I'd share it with the community. Not sure if anyone has posted something similar, but here goes anyway:
/script n = 8; for i = 1, 40 do if (UnitExists("raid"..i)) then if (GetRaidTargetIndex("raid"..i.."target") == n ) then AssistUnit("raid"..i.."target"); end end end
NB: The above should be typed into your macro interface on one, single line. The line breaks here are made by the forum.
What it does, is search through your raid members to see if their target has the Raid Target icon no. 8 (a white skull) over their head. If so, you assist on the target with the mark.
So what is it for? Well, this way you can quick and easily target the player who has aggro from the mob with the skull (or any other icon of your choice).
On our guild raids, we always mark the primary (boss) target with the skull, so by using the above macro, you can quickly target the MT tanking it.
It's VERY useful in Blackwing Lair on Firemaw wing-buffets or the fast tank rotation at Vaelastrasz.
Use it, abuse it - do what you like. It works very nice for me, hope you guys find it useful too.
Oh, and if you wanna change it to use other marks, just change the first "n = 8" to one of the other numbers below:
1 = Yellow 4-point Star
2 = Orange Circle
3 = Purple Diamond
4 = Green Triangle
5 = White Crescent Moon
6 = Blue Square
7 = Red "X" Cross
8 = White Skull
Best regards,
Nishika
http://forums.wow-europe.com/thread....302679&sid=1#0
Hordehunter
01-19-2010, 01:53 AM
after reading a little more it might only work if some one is targeting the person not sure. it only works in a raid too. i don't know womething we can try anyways.
Shamu
01-19-2010, 02:26 AM
To be sure everyone understands the difference.
This will target the skull mob.
/script n = 8; for i = 1, 40 do if (UnitExists("raid"..i)) then if (GetRaidTargetIndex("raid"..i.."target") == n ) then TargetUnit("raid"..i.."target"); end end end
This will target the skull mob's target (hopefully the tank):
/script n = 8; for i = 1, 40 do if (UnitExists("raid"..i)) then if (GetRaidTargetIndex("raid"..i.."target") == n ) then AssistUnit("raid"..i.."target"); end end end
Have you checked on what happens if the skull is on a player as often happens when DBM highlights the player with some important debuff.
It appears that the scripts scan all 40 raidmember's targets to find the skull. What happens if no-one has the skull targetted? I would presume that your target would remain unchanged. So someone still has to find the skull manually before the rest of the raid could use the macro.
For the Penetrating cold case, healers want to be able to insta-target their assigned healing symbol (star, square, etc). This should fill that role. (change "n=8" to the number corresponding to your desired symbol)
/script n = 8; for i = 1, 40 do if (UnitExists("raid"..i)) then if (GetRaidTargetIndex("raid"..i) == n ) then TargetUnit("raid"..i); end end end
Hordehunter
01-19-2010, 09:34 AM
i talked to alli about this last night and it looks like it scans everyone in the raid a sees if they are targeting an icon
Andiron
01-19-2010, 09:53 AM
Shamu's changes should work. Change "raidNtarget" to "raidN" and "AssistUnit" to "TargetUnit", and healers can use it as advertised.
Hordehunter
01-19-2010, 10:52 AM
well there you go then
vBulletin® v3.7.7, Copyright ©2000-2012, Jelsoft Enterprises Ltd.