Cycles targets through nearby enemy player units


See also Targeting functions.

Signature:

TargetNearestEnemyPlayer(backward)

Arguments:

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