Then you should just do what Legacy weapon says. Athough i would make some minor changes witch i'll describe later.
First off to explain your original question only one wait can run per player at any given moment. This causes problems because short waits may end up being very long and long waits much longer.
To solve this problem we use a death counter. Stracraft can set the amount of deaths a unit for a partictular player has, we can add and subtract from that just like we can with resource or score triggers.
To make it into a timer we rely on the triggers firing rate to moderate our time. We have a trigger add to the counter every time the triggers run and it becomes a accurate timmer. We then use other triggers to reset the timmer and or do specific actions when the time is at a chosen amount (kinda like a stopwatch).
Well its easyer than it sounds, here comes the triggers
| Trigger |
| Players: |
| ¤ Players units are spawning for |
| Conditions: |
| ¤ Current player suffers exactly 1 death of 'unused unit' |
| Actions: |
¤ Create X dudes at location for Current Player
|
¤ Set deaths of 'unused unit' for current player to 'A number that reflects the time'
|
| ¤ Preserve Trigger |
-Divide the time you want to wait by 1.5. So if you want to wait 60 seconds set the deaths to 40. Then play with it to make sure it is correct.
-If you are using hyper triggers you would multiply the number of seconds you want to wait by 12 (not 100 thats way to big). But i wouldn't concern yourself with hyper triggers you don't need them.
Then of course you need a trigger to actually add the death score.
| Trigger |
| Players: |
| ¤ Players units are spawning for |
| Conditions: |
| ¤ Current player suffers at least 2 deaths of 'unused unit' |
| Actions: |
¤ Subtract 1 deaths of 'unused unit' for current player
|
| ¤ Preserve Trigger |
The unused unit is just any unit you choice that WILL NOT die during the game of natural causes (ie: damage).
A slight change i made from LegacyWeapon's triggers is that I have the units spawn at 1 instead of 0. The reason for this is because you have 0 deaths at the start of the game. Since i belive you only want them to spawn when you own the city you can set the triggers to do that easyer.
For an example, when you own the city with the spawn set the deaths to 1 and the loop will start. If you lose control of the city set it to 0 and it will stop.