Wave system spawning multyple types of enemys

hi i am trying to make a wave system for my game

the code i use for the spawning is based on the tower defense templete
that uses a queue and a wave variable arrays , the wave stores all the data for the number of enemys
and gives them to the queue spawning those enemys

howeverer there is a problem, i can only store the number of enemys not the type or anythigh else

since i want every wave to have multiple enemys how can i do it?without creating a wave variation for each enemy type, i also dont want a random based system

This is quite a big question, so try to break it down and solve problem by problem. Start adding new enemies and try to add them to the queue. When you get into trouble with this kind of smaller task, let’s take a look on it :slight_smile:

here is my code up to now, i already have the code and different enemys types the problem
is that this only works with one enemy type. id have to create a different queue and timer for every enemy type, is there a way i can simpliify so i can only use a few timers and variables
also sorry for any bad english