GroupEnumUnitsInRectCounted
- Parameters
-
whichGroup group
The group to be modified.
r rect
The rect in which units are considered.
filter boolexpr
A filter function that is run for each considered unit.
countLimit integer
Maximum amount of units to be considered. (Does not work)
- comment
Clears a group and then adds units located within given rect to it.
- note
See
GroupEnumUnitsInRect
- bug
The
countLimit
parameter does not work, all units will be considered regardless of the value ofcountLimit
.- patch
1.00
- Source
- common.j
- return type
nothing
- Source code
native GroupEnumUnitsInRectCounted takes group whichGroup, rect r, boolexpr filter, integer countLimit returns nothing