I’m trying to do an enemy waves for days and I can’t find how.
Here’s what I want to do.
There is 2 spawn points.
The game start, spawn point 1 make the enemies spawn (10 enemies).
Then, 20 sec after, the spawn point 2 make the enemies spawn (10 enemies).
I have two problems :
- How can I wait 1 sec between each enemy ? I made a loop like “for 1 to 10 => spawn actor”, but the delay function doesn’t work in a loop.
- How can I wait between the 2 waves. I started to work in the level blueprint and want to do something like “spawn1->beginWave”, wait 10 sec, and then “spawn2->beginWave”. But I can’t get each spawn (unless with a loop and tag, but it seems a lot of work for each wave… but maybe it’s the solution)
The exemple of “strategy game” is kind of what I want, but it’s in C++. If someone have this on blueprint, thanks a lot
Thanks a lot if you can help me