GroupEnumUnitsInRangeOfLocCounted
- Parameters
whichGroup groupThe group to be modified.
whichLocation locationCenter location of the circle within which units should be considered.
radius realRadius in map units.
filter boolexprA filter function that is run for each considered unit.
countLimit integerMaximum 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
countLimitdoesn't work similar toGroupEnumUnitsInRangeCounted. Instead seeGroupEnumUnitsInRangeOfLoc.- 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