Hey,
How can I make sure that I can spawn a number of enemies every few seconds and that there are a maximum number of enemies, for example every 3 seconds an enemy spawns and 20 enemies is the maximal, so if I kill some enemies it has no influence on the max number of spawns. After 20 spawned enemies, they wont spawn anymore.
sorry for bad English i hope you will understand it
thank you in advance