Alright, so for some reason my timer works, then stops working.
I created the timer variable, and the triggers to create the :30 one shot timer, and also the trigger action to make a visible window for it.That works fine. Game starts and timer starts. Yay.
Now, one of my other triggers is starts when the timer expires. Timer hits 0 (expires), then trigger spawns tons of units. Okay that works. Then when last unit dies, timer needs to reset.
Then what should happen is timer expires, units spawn, last unit dies, timer resets, timer expires, units spawn... etc. etc.
Well it works the first time. The first time the timer gets reset, I see it reset, and when it expires the spawning happens. Then the unit dies and the timer resets again... but this time when it expires, nothing happens. Why doesn't it continue to work?
The triggers all work the first few times. Last unit dies, timer gets reset, and when timer expires units spawn. But it never keeps working, it just finishes the second wave of units, starts the timer, and when that timer expires nothing happens.
Hope I was clear enough.
edit:
I've tried changing the original timer to a repeating timer, and then pause it when the units spawn, but the pause never works and then the units just keep coming. I've also tried adding a condition in the trigger with the last unit death, so that it creates another timer, but that didn't work.
Those sneaky waves....
I put in the missing link, and it worked. Thanks :D
In the future I'll have to make sure I double check everything. Thanks for the help!
Okay, I added pics. I also added in the condition that you suggested. Same thing happen.
Right now, with what I have, the timer works fine for the first 3 times. Which is game start, after first wave, and after the second wave.
The spawning works fine twice, after the first time the timer expires, and the second time it expires. After that everything stops.
Alright, so for some reason my timer works, then stops working.
I created the timer variable, and the triggers to create the :30 one shot timer, and also the trigger action to make a visible window for it.That works fine. Game starts and timer starts. Yay.
Now, one of my other triggers is starts when the timer expires. Timer hits 0 (expires), then trigger spawns tons of units. Okay that works. Then when last unit dies, timer needs to reset. Then what should happen is timer expires, units spawn, last unit dies, timer resets, timer expires, units spawn... etc. etc.
Well it works the first time. The first time the timer gets reset, I see it reset, and when it expires the spawning happens. Then the unit dies and the timer resets again... but this time when it expires, nothing happens. Why doesn't it continue to work? The triggers all work the first few times. Last unit dies, timer gets reset, and when timer expires units spawn. But it never keeps working, it just finishes the second wave of units, starts the timer, and when that timer expires nothing happens.
Hope I was clear enough.
edit: I've tried changing the original timer to a repeating timer, and then pause it when the units spawn, but the pause never works and then the units just keep coming. I've also tried adding a condition in the trigger with the last unit death, so that it creates another timer, but that didn't work.