WoW:API TargetNearestEnemy: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Recategorized)
Line 3: Line 3:
Selects the nearest enemy as the current target.
Selects the nearest enemy as the current target.


  TargetNearestEnemy(reverse);
  TargetNearestEnemy([reverse]);


----
----
;''Arguments''
;''Arguments''


:(Number reverse)
:([reverse])


:;reverse : Set this to 1 to cycle backwards
:;reverse : Boolean - Set to 1 or <tt>true</tt> to cycle backwards (optional).


----
----
Line 29: Line 29:
----
----
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Targetting Functions|TargetNearestEnemy]]

Revision as of 19:23, 28 December 2004

TargetNearestEnemy -Documentation by danboo-

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.

Template:WoW API