I'm trying to make a health system where when something takes damage it could take a random value between 0 and 3 but i want that value to be a whole number, any ideas?
Develop games in your browser. Powerful, performant & highly capable.
int(random(4))
you should also check out this page https://www.scirra.com/manual/126/system-expressions