Timer triggers are allowed to be ran inside loops, because it might trigger multiple instances at the same time and therefore require looping through them.
However, if the trigger calls a function that is in a loop, then it throws an error.
For organization purposes, it is useful to stick functions inside loops near similar groups of events- however this bug prevents that in this case.
Attach a Capx
Description of Capx
timer trigger inside loop calls function in same loop.
Steps to Reproduce Bug
- view event sheet and run game
no error, it should call the function and change the text.
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Construct 2 Version ID