I'm playing around with the Random() function and in a lot of cases, it'd be much easier for me if there were a minimum parameter as well as a maximum parameter. I'm not sure why there isn't already, is there an obvious work around? Or is it just much more difficult to build into the function? Just wondered :)
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=14699
function MyRandom (int min, int max) {
return Random (max - min) + min;
}
D'oh. ^_^ Didn't see that... thanks.