Problem Description
loopindex returns -1 for repeat loop when using wait
Attach a Capx
http://badpadgame.com/loopindexBug.capx
Description of Capx
Runs a x10 repeat loop with waiting and loopindex printing
Steps to Reproduce Bug
- Click button
- See output in text object
Observed Result
loopindex printed before the wait action returns correct value, loopindex after wait action returns -1
Expected Result
return correct loopindex.
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Windows 10
Construct 2 Version ID
r236