Hello, how to create a function to take 2 variables min & max values and return a random number between them? It looks easy but i dont know why at the moment my mind cant figure it out maybe i need rest? Thanx
It might be important to mention that the value it returns isn't really random - for example, the first time I run random(10000) after starting the engine, it returns 8743.
Re: Random problem
[Re: TehV]
#364868 03/21/1117:3603/21/1117:36
Yes, of course. "Random" numbers are never really random. If you want to avoid getting the same random numbers every time you start the engine you can use random_seed for this purpose.
Always learn from history, to be sure you make the same mistakes again...