kathode
New Member
Posts: 1
Posts: 1
|
Post by kathode on Apr 23, 2014 16:17:58 GMT
I'm wondering if it's possible to have a timed wave that also ends when all spawned enemies are dead?
I like timed waves to keep the pace of the game and keep pressure on slower players, but there are scenarios where the player could kill enemies faster than I intend, resulting in more boring downtime than necessary. I'd love for the game to keep pace with faster players. Is this possible?
Thanks!
|
|
|
Post by DarkTonic Dev on Apr 23, 2014 20:20:00 GMT
It should be, but it's slightly tricky. You'll need to set up the timed wave to repeat so that the items are tracked (so it will know when all items are despawned). Then you have to use a Syncro Spawner Listener. Add some code to do: LevelSettings.EndWave() into the WaveRepeat method of the Listener. That should do it.
|
|