I am using the MVP VR Shooting Gallery tutorial MVP VR Shooting Gallery #14 - Game Flow Setup ( UE4 ) - YouTube to make a game. In it it has the below BP that uses a time delay to start a new wave. How would I change that to start a new wave when all the enemies have been killed instead?
Instead of using the Timer to execute the Spawning of a Wave, use the EnemiesPerWave variable to determine when to Spawn a Wave.
If EnemiesPerWave <= 0 then Spawn a new Wave.
You would need to subtract 1 from this variable each time an Enemy dies however, so that you know when the Wave has been eliminated.