WoW:MACRO targetenemy: Difference between revisions

name is not an argument
(Creation)
 
(name is not an argument)
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.
Anonymous user