Okay that's good. I might consider using it one day, maybe not today.thelinx wrote:Actually, they changed their minds. ipairs is staying.bartbes wrote:Also, note that ipairs might get deprecated in lua 5.2.
![Smile :)](./images/smilies/ms-smile.png)
Okay that's good. I might consider using it one day, maybe not today.thelinx wrote:Actually, they changed their minds. ipairs is staying.bartbes wrote:Also, note that ipairs might get deprecated in lua 5.2.
inb4peoplegoingape<censored>bartbes wrote:Also, note that ipairs might get deprecated in lua 5.2.
Problem solved. Thanksleiradel wrote:TechnoCat wrote:You should be setting a random seed before you generate random numbers.Also, math.random uses libc's rand which isn't very good on some system though for many games it will do well.Code: Select all
math.randomseed( os.time() )