I’m working on a game that requires items to fall in a random sequence. The best thing I can come up with is [lua]timer.performWithDelay( math.random(1000), runFunction, 3000 )[/lua]
It seems that [lua]math.random[/lua] doesn’t work with [lua]timer.performWithDelay[/lua].
Is there a way to have it spawn objects randomly?
Please and thanks.
[import]uid: 25216 topic_id: 11750 reply_id: 311750[/import]