m
Move page script moved page API TargetNearestEnemy to WoW:API TargetNearestEnemy without leaving a redirect
No edit summary |
m (Move page script moved page API TargetNearestEnemy to WoW:API TargetNearestEnemy without leaving a redirect) |
||
| (9 intermediate revisions by 8 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} | |||
{{protectedapi|2.0.1|}} | |||
Selects the nearest enemy as the current target. | Selects the nearest enemy as the current target. | ||
TargetNearestEnemy(); | TargetNearestEnemy([reverse]); | ||
---- | ---- | ||
;''Arguments'' | ;''Arguments'' | ||
: | :([reverse]) | ||
:;reverse : Boolean - Set to 1 or <tt>true</tt> to cycle backwards (optional). | |||
---- | ---- | ||
| Line 17: | Line 19: | ||
---- | ---- | ||
;''Example'' | ;''Example'' | ||
TargetNearestEnemy(); | TargetNearestEnemy(); -- Targets nearest enemy. | ||
---- | ---- | ||
| Line 25: | Line 25: | ||
: Selects the nearest enemy as the current target. | : Selects the nearest enemy as the current target. | ||
: This is bound to the tab key by default. | |||
:This function only works if initiated by a hardware event. | |||