This short tutorial demonstrates one way to use an array to generate a set of random numbers without duplicates.
Floor random construct 2.
Don t forget you can use to build strings e g.
Just keep in mind when using floor round and ceil how they ll effect the numbers generated for your project.
Our interger will become 10.
Int x convert x to integer.
Float x convert x to float.
So if random 10 generates 9 0094645182 and we use ceil to round up.
If you need to enter an angle anywhere in construct 2 it will be in degrees.
This section outlines the expressions in the built in system object in construct 2.
It s worth remembering construct 2 always uses degrees never radians.
Str x convert x to string.
Random function check out my google helpout on construct 2 basics.
Random 10 still generates a number between 0 10 not including 10 but we are rounding that number up.