Spawn Ai from class
Hi guys, so im currently trying to create a spawner. The idea is simple, when the player collides with a trigger box the enemies start spawning. So this works but the problem is it only spawns one enemy. Ive tried various methods like using a while loop,for loop and even a timeline but it just doesnt seem to work. With the while and for loop it just spawns the enemy one time and with the timeline well it spawns the enemy a weird amount of times, i set up 9 nodes but it was spawning 5 times which is kinda weird.
This is the For loop example.
Here is the timeline example which spawns 5 enemies even though ive set up 9 nodes. Ive also tried changing the length but same happens. Any ideas why this isnt working would be appreciated. Thanks.
Follow this question
Once you sign in you will be able to subscribe for any updates here