WoW:MACRO targetenemyplayer

From AddOn Studio
Jump to navigation Jump to search

Slash commands


Sets your current target to a nearby hostile player unit.

/targetenemyplayer options name

Aliases[edit]

none


Arguments[edit]

options
Options to search with, separated by commas, enclosed in [ ] (see target)
name
The string to search for in the unit's name.

Notes[edit]

This performs a search with all nearby units whose name begins with name.
This does not target NPC's, see targetenemy.
I have not tested, but assume that targets who are attackable but not hostile are not targeted with this command (such as a PvP flagged player when you are not flagged).