Thread
:
More RandomDouble functions
View Single Post
03-18-2006, 05:15 AM
#
7
(
permalink
)
XxSP1DERxX
Join Date: Oct 2002
Age: 23
Posts: 4,689
If you want to get a random chance, lets say 20%, you would do this
if ( 0.20 > Utility.RandomDouble() )
{
20% chance stuff goes here
}
else
{
80% chance stuff goes here
}
All basic percent chances are based on that format.
XxSP1DERxX
View Public Profile
Find More Posts by XxSP1DERxX