Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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.
Instead of 'random' there is a 'choose' command
and you set it by
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.
Develop games in your browser. Powerful, performant & highly capable.
Thanks guys, I found the choose command right after I posted but thanks anyways!