Hi guys
I'm trying to create a tower defence style game where enemy ai try to destroy a safety done, and the players job is to defend it for 3 minutes to pass the challenge.
The problem I am facing is I want the enemy generator to continually respawn enemies after each wave is defeated until the timer runs down to 0. I'm having trouble however, as whenever I end the challenge, my waves continue to spawn.
My current set up is
Enemy wave generator > wave defeated > logic gate input > time delayer 5 seconds > generate wave
I have tried using a kill switch but I still get generated enemies after the challenge is finished. Any help would be great!