I see this discussion:
construct.net/en/forum/construct-3/how-do-i-8/wait-inside-forrepeat-loop-157049
So I gave it a try:
output:
Text: 0 0 0 0 0 0 ···· 0
I found a problem. Why doesn't the value of loopIndex change
I expected was:
Text: 1 2 3 4 5 6 ···· 10
Of course, I can set a variable and add it to the loop.
I just curious, why doesn't the value of loopIndex change.
Develop games in your browser. Powerful, performant & highly capable.
After the wait, the loop has finished. So there is no longer any loop index to be retrieved.