GroupEnumUnitsInRect() needs a boolexpr that is provided by a filter as parameter right?
So, I was wondering what's the difference when you return true or false to the GroupEnumUnitsInRect().
Does the GroupEnum..() only picks the unit when the filter returns true?
To refer to the picked unit of GroupEnum...() do I have to use GetFilterUnit() inside the filter?
And what's the difference between using Filter(function filter) and Condition(function filter) as a boolexpr for GroupEnum...() ?
So, I was wondering what's the difference when you return true or false to the GroupEnumUnitsInRect().
Does the GroupEnum..() only picks the unit when the filter returns true?
To refer to the picked unit of GroupEnum...() do I have to use GetFilterUnit() inside the filter?
And what's the difference between using Filter(function filter) and Condition(function filter) as a boolexpr for GroupEnum...() ?