Lore archive · Warcraft Wiki, 2023 dump
API SetRaidTargetIcon
Last wiki revision 2022-03-24
Sets or clears a Raidicon on top of a unit. SetRaidTargetIcon("unit", index)
- unit : String - UnitID, e.g. "target"
- index : Integer - 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
- Patch 1.11 introduced RaidIcons for easier targetting. This function sets an icon on top of a targets head.
- Setting the same icon twice to the same target will drop the icon.
- is the native API function used (and does not exhibit the toggling behavior) ; see also.
Source
https://warcraft.wiki.gg/wiki/API_SetRaidTargetIcon · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.