Wikia

WoWWiki

API TargetNearestEnemy

Talk0
101,513pages on
this wiki
Revision as of 23:55, October 19, 2010 by Freebullets (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < TargetNearestEnemy

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(); -- Targets nearest enemy.

Description
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.

Around Wikia's network

Random Wiki