Randoms.SharedRandomAngle(string, number, number, number = 0)
shared
Arguments
Returns
- Angle The generated random angle.
Examples
Randoms.SharedRandomAngle – Generate a shared random angle. Whenever generating random numbers in shared/predicted code, these SharedRandom* functions have to be used. Each call should specify a unique 'sharedName' that seeds the random number generator. In loops make sure the additionalSeed is increased with the loop counter, otherwise it will always return the same random number