Hello,
need to fix special level passing (at level 10, 20,…do something special).
As eg if I use Global variable=10 it work if I use Global variable =RandomWithStep(10, 100000, 10) it doesn’t.
Where I’m wrong?
Thanks in advance!
Hi,
When you use RandomWithStep (or Random), GD throws a dice and uses that value only.
If you want to check that a level is a multiple of 10, you could use:
to calculate the remainder of a division by 10, or maybe you could check if the last digit of the variable is a 0, using the text tools…
1 Like
Hi, many thanks. I’m in debt.