I want to have a condition where the trigger only spawns units if the total unit count of a player is less than a given value. The only function I can find however is found Unit Type of Unit and not for a total number of units. Is it possible to do this and how would it be done?
I want to have a condition where the trigger only spawns units if the total unit count of a player is less than a given value. The only function I can find however is found Unit Type of Unit and not for a total number of units. Is it possible to do this and how would it be done?
I had the same problem, and after looking at some other maps, you could use number of units in region of unit group, then set unit group under that.
Comparison
—-Value 1: Number Of Units In Unit Group
—-Type: Living
———Unit Group: Units In Region Matching Condition
——— Unit Type: Any
———Region: Entire Map
———Player: 1
———Unit Filter: Excluded: Missile, Dead, Hidden, Invulnerable
———Count: Any Amount
Operator: <
Value 2: 48
@Suterusu1337: Go
(Number of Living units in (Any units in (Entire map) owned by player 1 matching Excluded: Missile, Dead, Hidden, with at most Any Amount)) < 100
Above has said it in a much easier way, but it will look like this once u have done it
I'm not seeing Number of Living units, any suggestions?
Edit: never mind, got it! Thanks