GroupEnumUnitsInRangeOfLoc
- Parameters
-
whichGroup group
The group to be modified.
whichLocation location
Center location of the circle within which units should be considered.
radius real
Radius in map units.
filter boolexpr
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
isnull
(nil
in Lua), no units will be added and the group won't be cleared.- patch
1.00
- Source
- common.j
- return type
nothing
- Source code
native GroupEnumUnitsInRangeOfLoc takes group whichGroup, location whichLocation, real radius, boolexpr filter returns nothing