Just create a boolean variable which turn on when the waves are coming (after the spawning procedure). Then add that variable to the conditions with an "And-Condition".
Then you only have to turn off the boolean.
Edit: Or else you can simple turn the triggers on and off. It works the same and save some storage. ;P
Make a unit group, add the spawned units to the unit group, make a condition with the type "within bounds" select "number of units in unit group" put your min and max <= 0 and your done
I'm making units spawn in waves, but I don't want the next spawn to happen before all the units on the map for the computer are killed.
Seems so simple, but there's so many brackets within brackets when I try to do it and it returns with a debug error.
Just create a boolean variable which turn on when the waves are coming (after the spawning procedure). Then add that variable to the conditions with an "And-Condition".
Then you only have to turn off the boolean.
Edit: Or else you can simple turn the triggers on and off. It works the same and save some storage. ;P
@Zanryu1337: Go
NVM!! I fixed it
Make a unit group, add the spawned units to the unit group, make a condition with the type "within bounds" select "number of units in unit group" put your min and max <= 0 and your done