Wikia

WoWWiki

Watchlist Recent changes

API SetRaidTarget

Main Menue



Set which Raid Target Icon will be shown over a mob or raid member.

SetRaidTarget("unit", iconId);

Arguments Edit

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 Edit

To set a skull over your current target:

/script SetRaidTarget("target",8);

Notes Edit

  • This function was added in patch 1.11, which introduced the 8 different target icons that can be assigned to mobs or players. The icons are only visible to your party.
  • In a 5-man party, all party members may assign raid icons. In a raid, only the raid leader and the assistants may do so.
  • Units may only be assigned one icon at a time; an icon may only be assigned to one unit at a time.
  • This function does not remove the icon if you're trying to assign the icon that is already assigned to the unit. SetRaidTargetIcon function, provided by FrameXML, provides this toggling behavior.

Pages on WoWWiki

94,110pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,570photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki