
03-02-2011, 05:14 AM
|
|
Hazard to Graal
|
 |
Join Date: Apr 2009
Posts: 343
|
|
|
random(lownumber,highnumber);
combined with int(val);
To get a random int between 0 and 5, for example:
int(random(0,5.9999));
I suggest putting the 9's there for any of the integer-related random numbers, otherwise the chances of the high number showing up are slim to none. |
__________________
MY POSTS ARE PRONE TO EDITS!
|
|
|
|