SelectUnittype
not ratedFilters g for units belonging to / not belonging to a given unittype (UNIT_TYPE_STRUCTURE, ...). Mainly for usage in AI as it destroys g.
Usually used like this:
set g = SelectUnittype(g, UNIT_TYPE_STRUCTURE, true)
Usually used like this:
set g = SelectUnittype(g, UNIT_TYPE_STRUCTURE, true)