Randomization
Written by: Alian713, Kramb
1. xsGetRandomNumber¶
Returning Type: int
Prototype: int xsGetRandomNumber()
Returns a random number between 0 and 32767.
2. xsGetRandomNumberLH¶
Returning Type: int
Prototype: int xsGetRandomNumberLH(int low, int high)
Parameters:
int low: The lower bound for the range for the random number returned (included)int high: The upper bound for the range for the random number returned (excluded)
Returns a random number between low and high
3. xsGetRandomNumberMax¶
Returning Type: int
Prototype: int xsGetRandomNumberMax(int max)
Parameters:
int max: The upper bound for the range for the random number returned (excluded)
Returns a random number between 0 and max.