Search found 2 matches

by Electriic
Fri Apr 28, 2017 3:25 am
Forum: Support and Development
Topic: Choose from a list of numbers?
Replies: 3
Views: 7298

Re: Choose from a list of numbers?

The second method is exactly what I was looking for. Thanks!
by Electriic
Fri Apr 28, 2017 12:23 am
Forum: Support and Development
Topic: Choose from a list of numbers?
Replies: 3
Views: 7298

Choose from a list of numbers?

Hiya, this is my first post here, so if I'm breaking any rules here please let me know. I'm trying to find a way to choose a random number from a specified list. Something like this: x = x + choose(1, 2, 3, ...) I've searched through the Lua documentation and the Love documentation and didn't see an...