Currently I have a system that spawns waves units from an array, It will spawn x amount of random selection from array. This is nice but isnt enough luxury for me.
What I would like it to do is , spawn a random amount of random selected units to equal a total of units that are supposed to be spawned.
For example Instead of wave 1 = spawn 10 zerglings
Could be wave 1 = spawn 2 zerglings 5 marines 1 roach 2 hydras 2 fire bats.
Could some one give an trigger example?