I have a proc that sets the rand_seed() based on the number of a certain variable, and that works fine and well. But at the end of the same proc, another piece of code wants to call a random number between such and such, and if that random number is within a certain range, incriment a value.
Now, the problem is that the values will go up and up until they hit a certain point. I'm pretty sure this has something to do with me fiddling with the rand_seed(), but what can I do to avoid this or reset the random seed to something that's more random...?
(I know diddly squat about how random seed stuff works, so any help would be appreciated.)
ID:149297
May 30 2002, 9:44 pm
|
|
rand_seed(world.realtime) ought to be nice and random-ish. =)