21.12.2011, 22:55
How do you make a randomizer that chooses randomly between 6 cases?
I totally forgot.
I totally forgot.
new rand = random(6);
switch(rand)
{
case 1:
{
//Do somthing
}
case 2..4:
{
//If when case is between 2 and 4 inclusive do something.
}
}