Rick Posted March 18, 2013 Share Posted March 18, 2013 I think you forgot to seed because Math:Rnd() is returning the exact same number every time I run the game. Link to comment Share on other sites More sharing options...
YouGroove Posted March 18, 2013 Share Posted March 18, 2013 Could be cool for the hero : Attack +10 always. Stop toying and make games Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 29, 2013 Share Posted March 29, 2013 Or letting us provide our own seed. Link to comment Share on other sites More sharing options...
macklebee Posted March 29, 2013 Share Posted March 29, 2013 Or letting us provide our own seed. you can... just use the inherent lua commands instead. Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Rick Posted March 29, 2013 Author Share Posted March 29, 2013 @Aggror I'm doing 'math.randomseed(os.time())' in my game currently to seed it. I see even Josh is using Lua's math.random() in DA so not sure why he even added this LE command. Link to comment Share on other sites More sharing options...
Josh Posted April 2, 2013 Share Posted April 2, 2013 I'll need an example. The seed could be getting reset somewhere internally. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts