GroupEnumUnitsInRectCounted

Parameters
whichGroupgroup

The group to be modified.

rrect

The rect in which units are considered.

filterboolexpr

A filter function that is run for each considered unit.

countLimitinteger

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 of countLimit.

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