Lore archive · Warcraft Wiki, 2023 dump
API SetRaidTarget
Last wiki revision 2023-08-21
Assigns a raid target icon to a unit. SetRaidTarget(unit, index)
- unit: : UnitId
- index: - Raid target index to assign to the specified unit:
- The icons are only visible to your group. 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.
- This API toggles the icon if it's already assigned to the unit.
- Units can only be assigned one icon at a time; and each icon can only be assigned to one unit at a time.
To set a skull over your current target:
Without toggling behavior:
- RaidFlag
Source
https://warcraft.wiki.gg/wiki/API_SetRaidTarget · 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.