226 | | The following utility functions are available to scripts. Especially useful are the randomization functions for when you want parameters like terrains or area sizes to vary. |
227 | | * `randInt(maxValue)`: Returns a random integer between 0 (inclusive) and `maxValue - 1` (inclusive). |
228 | | * `randInt(minValue, maxValue)`: Returns a random integer between `minValue` (inclusive) and `maxValue - 1` (inclusive). |
229 | | * `randFloat()`: Returns a random floating-point number between 0.0 (inclusive) and 1.0 (exclusive). |
230 | | * `randFloat(minValue, maxValue)`: Returns a random floating-point number between `minValue` (inclusive) and `maxValue` (exclusive). |
231 | | * `chooseRand(...)`: Returns one of its arguments at random (takes any number of arguments). |
| 226 | The following utility function is available to scripts. |