Wave based spawn system

To get the proper number to apawn your going to want to take the wave number and multiply it by 2 then add 3. This will give you the total number of enemies to spawn which you can then feed into a forloop as the last index.