Let's say I have 4 families of sprites and I want to spawn one sprite every x seconds. For the first 100 seconds from the start I want to spawn only sprites from the first family, then after another 100 seconds I want to spawn 80% of sprites from family A and 20% from family B, then after another 100 seconds I wanto spawn 50% of sprites from family A and 50% from family B and the percentage changes every x seconds.
How would you do it?