GroupEnumUnitsInRangeOfLoc

Parameters
whichGroupgroup

The group to be modified.

whichLocationlocation

Center location of the circle within which units should be considered.

radiusreal

Radius in map units.

filterboolexpr

A filter function that is run for each considered unit.

comment

Clears a group and then adds units within given radius of location to it.

note

See GroupEnumUnitsInRange

note

If whichLocation is null (nil in Lua), no units will be added and the group won't be cleared.

patch

1.00

Source
common.j (suggest an edit or discuss on Github)
return type
nothing
Source code
native GroupEnumUnitsInRangeOfLoc           takes group whichGroup, location whichLocation, real radius, boolexpr filter returns nothing