MACRO targetenemy

From Warcraft Wiki
Jump to navigation Jump to search

Cycles your target through nearby hostile entities.

/targetenemy [options] direction

Usage

This command accepts secure command options. The value associated with the first satisfied condition will be interpreted as described below. If no conditions are satisfied, no action will be performed.

Arguments

direction
if true or number that is at least 1, cycles through nearby hostile entities in reverse order.

Notes

  • Unlike /target, this command does NOT allow you to specify what to target by name or unit.
  • Units which are attackable, but not hostile (such as creeps), are not included in the list of potential targets.