05-04-2009, 01:47 AM
Egon Wrote:Matt Wrote:Try changing:
n = Int(Rnd * 2)
To:
n = Int(Rnd * 2) + 1
See if that works.
Int(Rnd*2) will generate 0 and 1
Int(Rnd*2)+1 will generate 1 and 2
Mhm, I know. See, when I was messin' with this stuff, I had a hard time of ever getting a 0. When I changed it to get from 1 or 2, it worked a lot better.