How to make a Wave/Round Based Enemy Spawner?

Howdy,

I am currently working on a wave/round based spawner, with not much success. All attempts of making this with the help of video based tutorials have ended in failure.

I need to know how to make a new wave/round start when the previous waves/rounds enemies are all defeated, also if possible, they would mine showing a screenshot of the blueprint used to make a successful wave/round spawner.

To those who are willing to help me, I thank you in advance.

Kind regards,

P.S.
If it will help to know of the Video Tutorials I used to try to resolve this issue, I will leave the links below:

UE4 Tutorial | Spawn Waves of Enemies in Increasing Numbers - UE4 Tutorial | Spawn Waves of Enemies in Increasing Numbers - YouTube

Alice In Tokyo Wonderland - Enemy Spawner Pt. 1 - Alice In Tokyo Wonderland - Enemy Spawner Pt. 1 - YouTube

Alice In Tokyo Wonderland - Enemy Spawner Pt. 2 - Alice In Tokyo Wonderland - Enemy Spawner Pt. 2 - YouTube

Sorry, i don’t have an answer. I in the same boat as you! I did try however spawning actor with event tick if that works?

Well for a wave based spawner i would use a TIMER.
I would set up a timer by event, that is looping. set the loop time to whatever i want to round to last for.
save the timer reference as a variable.
from that variable you could pause, reset, invalidate the timer.
in order to immediately spawn next wave (in case of wave clearing or something) just run the event that the timer points to.
You could use this functionalit yin a custom BP places in map or level blueprint directly.
Hope that helps.

Hey, if ur still looking for the wave spawner then hit me up on discore.
neymarlol#9048

hi im try to make a unreal engine 4 tower defense and i seen this post it my be old but it does not hard to ask for help im trying to setup a “wave spawner” ps thanks u ps i no it old so if u can’t it all good

Hey if you are still looking for an answer I can give you a base to start from. Idk how much experience you have but the base concept is to spawn your enemies on a timer at a location, every time you spawn them you add +1 to number of enemies spawned, u keep spawning them until it reaches max number of enemies per round. when they get killed you add +1 to num of enemies killed this round, when that kill number equals max spawned number then round ends, so stop timer and reset the num of enemies killed this round and num of enemies spawned this round counters. Add delay, update (Increase) max num of enemies per round variable and restart the timer. This is a basic spawner, idk how experienced you are with ue4, so if you have more questions or require more detailed explanation, then you can contact me on discord.

what your your discord name i try neymarlol#9048 it did not work?
i follow this guy Video Tutorials

all work fin
is there a way to slowly spawn them in not as a bulk so like 10 every 5s or something like that im somewhat new to ue4 ps tk y

Hey, sorry for the mistake I forgot the space between the name, its neymar lol#9048. He (The Youtuber) seems to be spawning them under a for loop. Do you have multiple enemy types? If not you dont need to do a data table, If you do then instead of a data table you can have multiple spawners for each enemy type, this should make things simpler to control through code. As for the spawn system, if u know how many enemies u want to spawn then u can just call a spawn function which should only spawn one enemy then increment the enemies spawned integer value, then put a delay of X (This is the delay your looking for) time and call the spawn function again. Put an if statement for it to keep spawning until enemies spawned integer == Max enemies to spawn integer (This number is what ever you want, its just an int variable that represents the maximum amount of enemies you want to spawn this round).