API SetRaidTarget

Set which Raid Target Icon will be shown over a mob or raid member. SetRaidTarget("unit", iconId);

Arguments

 * unit : String - The unit to change the raid target icon of.
 * iconId : Number - Raid icon index; 0 to remove any icons from the unit.
 * 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);