Group to add units to.
X map coordinate.
Y map coordinate.
Radius in map units.
Adds units within radius of map coordinates X, Y who match filter to whichGroup. A null as filter means that every nearby unit is added to group.
If the group has had units previously, it will be first cleared (old units will not be preserved). A group that has been destroyed will not be recreated.
- return type
- Source code
native GroupEnumUnitsInRange takes group whichGroup, real x, real y, real radius, boolexpr filter returns nothing