GetUnitsInRange

GetUnitsInRange(<-x <-y <-range <-nameList)

Description

Scans through all units and returns a list containg units that are in “range” of [x,y].
NameList, which can be empty, is a list of acceptable unit names to match.

Examples