Macro tip #10: Raid icons

April 7, 2009

This is from the Instance 142, at time index 1:59:58.

In show 139, a listener asked how a tank was placing skulls over the mobs he had targeted. You can do this in various ways, but one option is to use macros. This has the advantage that you can use the same click to send instructions to your party to tell them what to do about the sign.

The example given in the segment was this:

/script SetRaidTarget(“target”, 6);
/p Sap the {star} (%t)

Note: this will only work if you are a party or raid leader; otherwise, you’re not entitled to set raid targets. Also, the #ShowToolTips command won’t work with this so you’ll have to pick your own icon to use.

The first thing this will do is to place a star symbol over the head of the mob you have targeted. The second thing is a bit more complicated. It will put text into party chat that says, “Sap the “, then shows the star icon (the same one you just placed over the mob), and then in brackets also names that mob. (That’s what the %t bit does.)

You can find more examples of raid target icons at WoWWiki; just customise the example above by changing the number, word in { }, and the party instructions. For example:

/script SetRaidTarget(“target”, 8);
/p Kill the {skull} (%t) first

You can also speed up target placement by combining keypresses with mouseovers. To do this, change the word “target” to “mouseover” – your macro should then mark whatever target your mouse is hovering over at the time you press the button. Note, you’ll have to have the macro bound to a key so you don’t need to activate it with a mouse click if you want to do this.

EDIT

I was dissatisfied with these particular versions of the macro, so worked on it a bit. Here’s some examples of the versions I’m currently using:

/script SetRaidTarget(“target”, 8);
/p Kill the %t ({skull}) first

/script SetRaidTarget(“target”, 7);
/p Kill the %t ({X}) second

/script SetRaidTarget(“target”, 5);
/p Sleep/crowd control the (%t) {moon}

/script SetRaidTarget(“target”, 1);
/p Stun the %t ({star})

Leave a comment