Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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
random between two numbers or 1 or 7. Is it possible?
Not between 2 numbers, I mean, or this number or other number
Develop games in your browser. Powerful, performant & highly capable.
This is not clear at all! Please rephrase, or provide a concrete example.
I have 2 numbers 1 and 7 I want the computer to set a random number and only 1 or 7 and not between 1-7.
Not in the range of 2 numbers
If you want them to have equal chance of appearing try:
choose(1,7)[/code:3r4r5n6b]
Cool function