GroupEnumUnitsInRangeOfLoc
- 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.
- comment
Clears a group and then adds units within given radius of location to it.
- note
See
GroupEnumUnitsInRange- note
If
whichLocationisnull(nilin 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