WoW:Target markers
Target markers are icons that can be placed over players and other game entities. This feature was introduced in patch 1.11.
UsageEdit
Target marker over are placed over mobs by selecting a mob, right-click on its portrait, and select a symbol from the hierarchical menu.
- Chat and text codes
- Skull -
{Skull}
or{rt8}
- Cross -
{Cross}
,{X}
or{rt7}
- Circle -
{Circle}
,{Coin}
, or{rt2}
- Star -
{Star}
or{rt1}
- Square -
{Square}
or{rt6}
- Triangle -
{Triangle}
or{rt4}
- Diamond -
{Diamond}
or{rt3}
- Moon -
{Moon}
or{rt5}
- Adding markers to chat
An undocumented feature of patch 2.4 added the ability to post target markers into any chat channel by enclosing the name of the icon in curly brackets (braces) - such as {skull}, {circle}, {moon}, etc.
API and key bindingsEdit
These icons can be set programmatically in a macro with the SetRaidTarget function.
Example, /run SetRaidTarget("target", 8);
will mark the target with a Skull, 8 standing for the Icon number.
Alternatively, they can be bound to keys for quick application. For example, Skull could be bound to Ctrl-K (Kill, sKull) so that the raid leader or assist can apply the icon quickly to a new target during a fight.
For even faster marking, combining the macro /run SetRaidTarget("mouseover", #);
(# of course being replaced with the corresponding icon's number) with key bindings will allow you to apply icons without actually targetting anything.
GetRaidTargetIndex returns the icon index of the specified target.
MacrosEdit
This macro will cycle Skull, X, Nil, then Moon on cursored targets.
/script if (charm == nil) or (charm < 6) then charm=9; end; charm=charm-1; if (charm==6) then SetRaidTarget("mouseover", 0) else SetRaidTarget("mouseover", charm); end
This macro will cycle through all the target markers in reverse order on cursored targets
/script if (charm == nil) or (charm < 0) then charm=9; end; charm=charm-1; SetRaidTarget("mouseover", charm)
This macro also cycles through all the target markers in reverse order on cursored targets but it also announces the next icon in the default chat frame. Useful if you need to skip through charms while marking targets. Press your macro button without a target under the mouse to skip through charms.
/script if(chrm==nil)or(chrm<=0)then chrm=9 end chrm=chrm-1 SetRaidTarget("mouseover", chrm) nxt={[0]="None",[1]="Star",[2]="Circle",[3]="Diamond",[4]="Triangle",[5]="Moon",[6]="Square",[7]="Cross",[-1]="Skull"}DEFAULT_CHAT_FRAME:AddMessage(nxt[chrm-1])
NotesEdit
- Origin of the "lucky charms" - The nickname originates from their appearance similar to the marshmallows from the Cereal Lucky Charms.
Patch changesEdit
- patch 3.3.0 - Any party member may mark targets, this does not apply to raid groups. Previously only party leaders could mark.
- patch 2.4.0 - Added markers to chat
- patch 1.11 - Added