So I'm trying to achieve the following behavior:
-subtract 1 from variable X
-update text that displays variable X's value
-wait 0.5
repeat the above steps for Y times. when I enter any value of Y (e.g.27) the behavior I get is a one-step subtraction of Y from X (instead of subtracting 1 each time, until Y-worth of 1's have been subtracted).
I get the exact same behavior when using 'repeat' instead of 'for'.
Can one not use 'wait' inside loops? If so, how to achieve desired behavior?
can anyone shed light?
Thanks! :)