Download

Random Stream Seed

So the seeds for random streams are just a series of numbers, does that mean that if I randomly generate my levels with a random stream and my seeds are 4 digits long there are only 9999 possible levels that can be generated? This seems like a really bad way to handle seeding as far as I can tell

The seed doesn’t define the range, just starting point.

Limited results are only generated if you use the RandRange() & FRandRange() functions.

Blueprint:

randomstream.jpg&stc=1

or C++ "



FRandomStream RandomNumberGenerator;

RandomNumberGenerator.Initialize(1234);

float ValueWithinRange = RandomNumberGenerator.FRandRange(0.0f, 9999.0f);