WoW:API SetRaidTarget: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} __NOTOC__ | ||
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 [[mob]]s or [[player]]s. These icons are visible only to other players within the raid or party. | 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 [[mob]]s or [[player]]s. These icons are visible only to other players within the raid or party. | ||
Line 5: | Line 5: | ||
== Parameters == | |||
=== Arguments === | |||
:("unit") | :("unit") | ||
Line 25: | Line 25: | ||
::::8 = White Skull | ::::8 = White Skull | ||
=== Returns === | |||
:;nil | :;nil | ||
== Example == | |||
SetRaidTarget("player",1); | SetRaidTarget("player",1); | ||
{{AlsoSee|[[API SetRaidTargetIcon]]}} |
Revision as of 09:12, 27 October 2006
← WoW API < SetRaidTarget
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",icon);
Parameters
Arguments
- ("unit")
- unit
- String - The UnitId representing the desired target for the icon.
- icon
- A value from 0 to 8, as follows,
- 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
- A value from 0 to 8, as follows,
Returns
- nil
Example
SetRaidTarget("player",1);