Hi folks,
I am somewhat afraid that this may be a simple question as I am a beginner, but I am having trouble with a while loop. Essentially I am trying to create a loop that will incorporates a wait time that increases each time it iterates. Here is what I have:
while waitinc!=10 do
log "{waitinc}"
wait waitinc then
waitinc++
end
end
For some reason the loop doesn't seem to end and freezes the game when it hits the 400 iteration threshold. The original value of "waiting" is 0, so I would expect this to loop until it hits 10 and then stop.
Thanks for any help!