How can I make a rand() proc that functions just like the normal rand(), only I can make it more likely to generate a number close to the minimum or maximum?
Like, for instance, rand(low = 5, high = 20, weight = 5). Now there is a higher chance that the number will be closer to 5 than 20. Do I make sense?
ID:161851
Mar 24 2008, 8:37 am
|
|
http://www.byond.com/members/ DreamMakers?command=view_post&post=32170