GroupEnumUnitsInRectCounted
- Parameters
whichGroup groupThe group to be modified.
r rectThe rect in which units are considered.
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 located within given rect to it.
- note
See
GroupEnumUnitsInRect- bug
The
countLimitparameter does not work, all units will be considered regardless of the value ofcountLimit.- patch
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
nothing- Source code
native GroupEnumUnitsInRectCounted takes group whichGroup, rect r, boolexpr filter, integer countLimit returns nothing