Home › Forums › General › Programming › os.time() in milliseconds? › Reply To: os.time() in milliseconds?
May 31, 2017 at 9:40 pm
#72231
some time ago I found an even better one. There is a hirescounter available (RTFM = look in the f*cking demos made by atom):
math.randomseed(os.clock()*Time.getMillisecondCounterHiRes())
for some reason a bigger number will do better, that’s why I multiply with os.clock()