WoW:MACRO targetenemy: Difference between revisions

(Creation)
 
m (Move page script moved page MACRO targetenemy to MACRO targetenemy without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:


Sets your current target to a nearby ''hostile'' unit.
Sets your current target to a nearby ''hostile'' unit.
  /targetenemy options name
  /targetenemy options


== Aliases ==
== Aliases ==
Line 10: Line 10:


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


== Notes ==
== Notes ==
:This performs a search with all nearby units whose name '''begins''' with name.
:This performs a search with all nearby units whose name '''begins''' with name.
:Units who are attackable, but not hostile (such as creeps), are not targeted with this command.
:Units who are attackable, but not hostile (such as creeps), are not targeted with this command.

Latest revision as of 04:48, 15 August 2023

Slash commands


Sets your current target to a nearby hostile unit.

/targetenemy options

Aliases

none


Arguments

options
Options to search with, separated by commas, enclosed in [ ] (see target)

Notes

This performs a search with all nearby units whose name begins with name.
Units who are attackable, but not hostile (such as creeps), are not targeted with this command.