:banghead: Ok, I edited this one but here is what I'm trying to do.
Set RandomChance = (Random integer between 1 and 100)
If RandomChance = 1 to 25
Then Create Footman
If RandomChance = 26 to 50
Then Create Archer
If Tier_RandomUnit = 50 to 100
Then Create Peon
So there is a 25% chance that it will create a Footman or an Archer and a 50% chance to create a Peon.
But, how do I make it where once a Footman is created, RandomChance is rolled again but it cannot roll 1 to 25; therefore, creating a Footman will not happen.
Thanks for any help on this one.
Set RandomChance = (Random integer between 1 and 100)
If RandomChance = 1 to 25
Then Create Footman
If RandomChance = 26 to 50
Then Create Archer
If Tier_RandomUnit = 50 to 100
Then Create Peon
So there is a 25% chance that it will create a Footman or an Archer and a 50% chance to create a Peon.
But, how do I make it where once a Footman is created, RandomChance is rolled again but it cannot roll 1 to 25; therefore, creating a Footman will not happen.
Thanks for any help on this one.