Interfer0 Posted March 14, 2009 Share Posted March 14, 2009 I'm new to scripting, and can't find how to create a random number between 1 and 1,000,000. I know with GetRandomPercent will work to 99, but is there a way to get to 1,000,000? Interfer0 Link to comment Share on other sites More sharing options...
Cipscis Posted March 15, 2009 Share Posted March 15, 2009 I've responded in other thread. You'll have to use GetRandomPercent multiple times for something like this:short sRandomNumber set sRandomNumber to GetRandomPercent + GetRandomPercent * 100 + GetRandomPercent * 100000Cipscis Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.