Const
Shared random number generator instance, seeded when the game starts. To ensure replay function correctly, make sure you only use this instance in a deterministic way.
Use the global shared instance:
let value = bge.random.int(10, 20); Copy
let value = bge.random.int(10, 20);
Generated using TypeDoc
Shared random number generator instance, seeded when the game starts. To ensure replay function correctly, make sure you only use this instance in a deterministic way.