I'm trying to get round numbers from random numbers, but when I use round(random(0,3)) I get floats every time. So, I figured I would try choose(0,1,2,3) and test that out, and it's STILL giving me floats. Am I doing something horribly wrong here? What's wrong with me? I'm pulling my hair out that this should be easy to do.
Develop games in your browser. Powerful, performant & highly capable.
I couldn't open the capx because i don't have a third party plugin. Looking at the xml it looks like you set the variables in two different places.
one place uses choose(0,1,2,3) another just random(0,3),
the other uses random() in onplace and round(random()) in another.
My guess is that's the issue, you're setting the value twice.
Yes! You're the best. What a noob error. Thank you