Cycles your target through the nearest enemy units.

This function can only be called once per hardware event.


See also Targeting functions.

Signature:

TargetNearestEnemy(backward)

Arguments:

  • backward - Reverses the direction of the cycling if true (e.g. TAB vs. SHIFT-TAB) (boolean)
This function is protected and can only be called by the Blizzard user interface