GroupEnumUnitsInRangeOfLocCounted

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.

countLimitinteger

Maximum amount of units to be considered. (Does not work)

comment

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

note

See GroupEnumUnitsInRangeOfLoc.

bug

Causes irregular behavior when used with large numbers.

note

Probably countLimit doesn't work similar to GroupEnumUnitsInRangeCounted. Instead see GroupEnumUnitsInRangeOfLoc.

patch

1.00

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