(Fix the behavioral description based on source code inspection of FrameXML/ChatFrame.lua and direct experimentation) |
(→Usage) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{macroapi}} |
+ | {{macroapi}} |
⚫ | |||
− | |||
⚫ | |||
− | |||
⚫ | |||
⚫ | |||
− | Works exactly like a tab-target in the default UI but as a macro command that allows conditional execution. |
||
− | |||
− | |||
⚫ | |||
− | :none |
||
⚫ | |||
+ | {{SecureCmdOptions|Value}} |
||
== Arguments == |
== Arguments == |
||
+ | ;direction: if <code>true</code> or number that is at least <code>1</code>, cycles through nearby hostile entities in reverse order. |
||
− | :;options : Options to search with, separated by commas, enclosed in [ ] (see [[MACRO target|target]]) |
||
== Notes == |
== 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. |
Latest revision as of 19:24, 24 April 2018
Macros |
---|
General guides |
Macros Beginners Guide |
Useful macros by class |
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 least1
, 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.