Using math.random function in timers [Solved]
Posted: Sat Oct 29, 2011 6:21 pm
How would one get a random timer value between two numbers? Say you want it between 500 and 600...how would you do that in a timer?
Get more from your games!
http://www.gametoast.com/
Code: Select all
duration = math.random(500,600)
SetTimerValue(timername, duration)No I haven't, thanks. Trying it right now.DarthD.U.C.K. wrote:have you tried that?Code: Select all
duration = math.random(500,600) SetTimerValue(timername, duration)
It's something for the hard mode on Gamorrean Attack...so that you can't time it...DarthXeon wrote:i wanna see what your trying to make with the timer noobasarus i bet its something cool