WoW:MACRO targetenemyplayer: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Creation)
 
m (Move page script moved page MACRO targetenemyplayer to MACRO targetenemyplayer without leaving a redirect)
 
(No difference)

Latest revision as of 04:48, 15 August 2023

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).