WoW:API TargetNearestEnemy: Difference between revisions
Jump to navigation
Jump to search
TargetNearestEnemy -Documentation by danboo-
No edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
: Selects the nearest enemy as the current target. | : Selects the nearest enemy as the current target. | ||
: This appears to be equivalent to pressing TAB, as it only cycles through enemies that you are facing, even if there are enemies behind you that are closer. | |||
---- | ---- | ||
{{WoW API}} | {{WoW API}} |
Revision as of 18:54, 9 March 2006
Selects the nearest enemy as the current target.
TargetNearestEnemy([reverse]);
- Arguments
- ([reverse])
- reverse
- Boolean - Set to 1 or true to cycle backwards (optional).
- Returns
- nil
- Example
TargetNearestEnemy();
- Result
- Description
- Selects the nearest enemy as the current target.
- This appears to be equivalent to pressing TAB, as it only cycles through enemies that you are facing, even if there are enemies behind you that are closer.