I am trying to get a unit group with all units a player has in a certain region. Currently I am doing this:
Unit Group - Add all units in (Any units in myRegion owned by player 1 matching Excluded: Structure, Worker, Missile, Item, Uncommandable, Under Construction, Dead, Hidden, Passive, with at most Any Amount) to UnitGroup
The problem is, it counts overlords and larva, among other things that I do not want to count. I'm not sure if it is even possible to exclude overlords, since they are armored and biological just like many many other units I want to include.
What I would really like is to only include units that are capable of attacking. Is there a unit filter for this, or is there a better way to do what I am trying to do? Is there a way to make certain specific exceptions or, for example, to remove all larva from a unit group?
I am trying to get a unit group with all units a player has in a certain region. Currently I am doing this:
Unit Group - Add all units in (Any units in myRegion owned by player 1 matching Excluded: Structure, Worker, Missile, Item, Uncommandable, Under Construction, Dead, Hidden, Passive, with at most Any Amount) to UnitGroup
The problem is, it counts overlords and larva, among other things that I do not want to count. I'm not sure if it is even possible to exclude overlords, since they are armored and biological just like many many other units I want to include.
What I would really like is to only include units that are capable of attacking. Is there a unit filter for this, or is there a better way to do what I am trying to do? Is there a way to make certain specific exceptions or, for example, to remove all larva from a unit group?
I am guessing you could flag the units that you dont want to be counted as worker also.
Oh crap. I never thought to actually use the data editor. Good call. I have just been trying to brute force it all through the triggers. Thanks.