Does the MMF2's built-in fast loop usually work well? I've never used fast loops before, and right now I'm trying to use it to quickly subtract from a value that is then checked by another event to stop the loop.
However, with my code, it seems that starting the loop isn't doing anything to the value at all.
(object) reaches the end of its path
start loop "Countdown"
On loop "Countdown"
subtract 1 from Value B
Value B = Value A
stop loop "Countdown"
Also, does setting the number of times looped to 0 cause the loop to go on infinitely?
n/a
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
30th May, 2007 at 20:50:56 -
Loops get the highest priority and are started and finished before the next event, unless you give it a "on loop" event. So to get it working, do:
On loop "Countdown"
+ Value B = Value A
stop loop "Countdown"
Infinite loops are impossible and NOT recommended. It'd crash your game, being stuck in an infinite loop.