Originally Posted by
masterBB
When you call random call Random(x); you ask simba for a random out of x numbers. Random(0); will return no random number, you simple ask to pick a number out of zero numbers. It will simply return 0 cause it is not possible.
RandomRange(x, y); is a different story. That function equals:
Result >= x and Result < y. x is a possible return value for this function and y is not.
So if Random(5); is called it will pick one number out of [0, 1, 2, 3, 4].
And if RandomRange(2, 5); is called it will pick one number out of [2, 3, 4, 5].