Code: Select all
Random
Top Previous Next
Random>Range,Result
Returns a random number within the specified range where 0 <= Result < Range.
The seed is set automatically and is stored in the RND_SEED variable. It is possible to set the seed programmatically by modifying the value of RND_SEED.
Result is a variable in which the result is stored.
Abbreviation : RAN
Example
Random>6,DiceResult
Let>DiceResult=DiceResult+1
Message>You threw a %DiceResult%
id like to place a random click ranging from 0.10 to 0.22
i found the above information in help.i tried stitching %0.%+%resultdice% infront of random witouth results tried "0."+ %resultdice% also no result.is there anyother way i can get the random function to accept the range 0.10 to 0.22? thanks in advance for your reply