-
Notifications
You must be signed in to change notification settings - Fork 20
Utility
powerof3 edited this page May 4, 2022
·
2 revisions
- Calculates a random float between afMin and afMax, based on Mersenne Twister
float Function GenerateRandomFloat(float afMin, float afMax) global native- Calculates a random integer between afMin and afMax, based on Mersenne Twister
int Function GenerateRandomInt(int afMin, int afMax) global native| Index | Time | Range |
|---|---|---|
| 0 | Year | 1601 - 30827 |
| 1 | Month | 1-12 |
| 2 | DayOfWeek | 1:Sunday - 7:Saturday |
| 3 | Day | 1-31 |
| 4 | Hour | 0-23 |
| 5 | Minute | 0-59 |
| 6 | Second | 0-59 |
| 7 | Millisecond | 0-999 |
int[] Function GetSystemTime() global native