Gaming
 

API SetRaidTarget

From WoWWiki

Main Menu


Set which Raid Target Icon will be shown over a mob or raid member. In patch 1.11, Blizzard added the ability for a raid/party leader or assistant leader to assign up to 8 different target icons to mobs or players. These icons are visible only to other players within the raid or party.

SetRaidTarget("unit", iconId);

Parameters

Arguments

unit 
String - The UnitId representing the desired target for the icon.
iconId 
Number - Icon id from 0 to 8:
0 = no icon
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

Example

To set a skull over your current target:

/script SetRaidTarget("target",8);

 

shortcut iconSee also: API SetRaidTargetIcon