[Solved] Wave System

Level 3
Joined
Oct 19, 2014
Messages
32
Hey, so im making defense lot similar to LegionTD and HellhaltTD in terms of enemy waves, meaning the waves are huge, its all working kinda fine, except from time to time, the amount of units spawned doesnt equal to how many it should be. Im using For Each Integer, so i assume that will be the problem, but i since the units are spawning and walking towards you, i dont need to spawn 300 units at once. There is the first wave in image
1763381377350.png


The second For each, is for the mid player, to have more spawns, its sort of the "hard lane". It usually goes all right, but like once in a 6-7 waves, the amount of units just doesnt equal, sometimes it spawns only few of them. The trigger is basicly the same for each wave. only different numbes.
 
Ooh.. So, since rerolling the units you can build, is using aswell the Integer A, does that mean, when the wave is spawning, and i reroll my units during that time, it will ruin the trigger? Im gonna go change it, and test it out. Thank you.
 
Back
Top