API:TargetNearestEnemy

Can be used to target the nearest enemy in line of sight.

Is called twice (or more) target next enemy (allways in line of sight).

Usage: TargetNearestEnemy(bool previous)

See also: TargetUnit