local units = GetUnitsInRect( rect):GetListOfUnits(categories.MOBILE, false, false)
the 'rect' here has been defined , don't worry about it
I am not sure if it is right to use two commands in one sentence?
Forged Alliance Forever Forums
Moderator: Morax
local entities = GetUnitsInRect(rect)
local units
if entities then
units = EntityCategoryFilterDown(category, entities)
end
Users browsing this forum: No registered users and 1 guest