Hey, simple question, title tells it all really, how do I set a variable value to either (for example) 1, 4 or 6? Right now I set it as random(1,6) but I don't want it to be set to 2,3 or 5. Thanks.
Develop games in your browser. Powerful, performant & highly capable.
Instead of 'random' there is a 'choose' command
and you set it by
choose(1,4,6)
it will only choose those you provided
Set value to choose(1,4,6)
You should read the manual - it's not that long, you get some badges AND, most importantly, some well-needed knowledge on stuff like this.
Thanks guys, I found the choose command right after I posted but thanks anyways!