Math Help
#2

Cant you just use randoms?

Code:
new Random = random(3);
if(Random == 2)
{
  //25%
  new R2 = random(5); 
  if(R2 == 4)
  {
    //20%
    new r3 = random(100);
    new r4 = random(100);
    if(r4 >= r3)//Chooses a random percentage chance then a random # 
    {
     //Done
    }
  }
}
Not sure if this would work (Just guessing from what you said).

Reply


Messages In This Thread
Math Help - by Grim_ - 20.02.2010, 01:16
Re: Math Help - by [HiC]TheKiller - 20.02.2010, 02:06

Forum Jump:


Users browsing this thread: 1 Guest(s)