GroupEnumUnitsInRangeCounted
- Parameters
-
whichGroup group
The group to be modified.
x real
X map coordinate.
y real
Y map coordinate.
radius real
Radius in map units.
filter boolexpr
A filter function that is run for each considered unit.
countLimit integer
Maximum of amount of units to be considered. (Does not work)
- comment
Clears a group and then adds units within given radius of map coordinates to it.
- bug
Causes irregular behavior when used with large numbers.
- bug
countLimit
does not work, tested in 1.32.10.18067. Therefore behaves likeGroupEnumUnitsInRange
adding all units in range.- patch
1.00
- Source
- common.j
- return type
nothing
- Source code
native GroupEnumUnitsInRangeCounted takes group whichGroup, real x, real y, real radius, boolexpr filter, integer countLimit returns nothing