Game Development Community

GetRandom with very large range

by Jason McIntosh · in Torque Game Builder · 06/20/2005 (1:11 pm) · 0 replies

Just FYI, if you call GetRandom( n, m ) where n or m > 1,000,000 it will choke and return 1. I might have to replace the stock random number generation code with something better.