ok here is my problem. i want to calculate true variance.
my current equation is this:
RP is the RandomPause result
RP=rand(PauseTime)+((rand(Variance)+1)-rand(Variance))
i added the +1 becuase
say i had a variance of 5
without the +1 it would be -5/+4/variance
however now it's
-4/+5 variance
but i want it to be -5/+5
now before some of you respond Unrealscript rand() only does random 0 to x so for ex. rand(7) only gives a a possible result of 1-6 or 1-7 if you do rand(7)+1
i'm pretty sure there isn't an exact method of calculating True Variance. in scripting at any rate. but jsut in case i want to know what you guys thoughts on this matter is.
Edit: acually it's not that big of a deal i'm gona go with this current equation. tho you guys can still answer if you want =D
my current equation is this:
RP is the RandomPause result
RP=rand(PauseTime)+((rand(Variance)+1)-rand(Variance))
i added the +1 becuase
say i had a variance of 5
without the +1 it would be -5/+4/variance
however now it's
-4/+5 variance
but i want it to be -5/+5
now before some of you respond Unrealscript rand() only does random 0 to x so for ex. rand(7) only gives a a possible result of 1-6 or 1-7 if you do rand(7)+1
i'm pretty sure there isn't an exact method of calculating True Variance. in scripting at any rate. but jsut in case i want to know what you guys thoughts on this matter is.
Edit: acually it's not that big of a deal i'm gona go with this current equation. tho you guys can still answer if you want =D
Last edited: