Timer by Function doesn't loop.
Can anyone tell me what I'm doing wrong? I can't get the timer to work and I've tried many methods. I ended up making my own, but I really want to find out why doesn't it keep looping. I mean the weird thing is that despite confirming that it does get executed, after that the TimerCheck functions return False and 0 respectively.
I would really appreciate if this is explained to me since it is kind of a mystery to me atm.
Edit: Here's a link to the full jpg , I don't know how to make the picture clickable.
I figured it out. Apparently local variables get nulled after completion. So the Relative Object that I was plugging in was only stored locally for 1 iteration. Therefore after the first execution the variable was reset and the function didn't have anything to work with.
Ripping the local variable out of the function, removing the input parameter and running via the timer worked.
answered Nov 09 '15 at 08:08 PM
I have a similar problem though I pass a reference in a custom function as input and the timer does only one loop. Can anyone help?
answered Aug 16 '16 at 02:06 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here