Enemy wave spawning is not spawning enemies

i followed this tutorial Wave Based Survival - Enemy Wave Spawning | Unreal Engine Tutorial Series

below are some screenshots of blueprints

this one is enemy spawner manager

this one is the enemy

and this one is third person game mode

if anyone know how to fix it i would greatly apricate any help you can give me

Couple questions,

  1. Have you checked to see if the first branch after the SpawnEnemy event is following the true pin.
  2. Have you tried checking NoCollisionFail on the SpawnAI node.
  3. Does BeginPlay on the enemy trigger? (check with a print string node)

how do i tell if something is a true pin and i put a print string after the being play and its not triggering i don’t think how do i fix the begin play and i chequed the no collision fail and its not not spawning enemies

Hi there,

You need to debug each part and see what fails.
I noticed in your last screenshot (GameMode), you have a set node with “Enemies Killed This Wave” multiplied by “Max Enemies in Wave” and I believe this is always going to be zero, no matter what Max Enemies in Wave values is because 0 * Max = 0, so you have no enemies to spawn.

Does it work the first time then stop or does it not work at all?

it dosent work at all

and how should i change the blueprint

like to make it work would you say like what should io change

any suggustions would be appricated

have a good rest of your day

Try calling start wave in your game mode on begin play. You will still need to make the changes I mentioned above, otherwise you will stop the timer and spawn only a single enemy (or none).

1 Like

thank you so much it worked and have a good rest of your day