SetInterval with self function?
Posted: Sun Feb 28, 2016 3:56 pm
I am trying to set up a function to be executed during "waitevent" command, and i suspect my problem has to do with function containing the self function.
basically i am trying to:
It seems to me that you cant use SetInterval with "func:myfunc" since then it tries to give the result as the argument.
I have also tried "Func.myfunc" but then obviously the self argument is left out, and code fails for that reason.
Is there a way to get around this problem, that is there a way to use "SetInterval" command with "self"?
basically i am trying to:
Code: Select all
SetInterval(NIL, func:myfunc, 25)
I have also tried "Func.myfunc" but then obviously the self argument is left out, and code fails for that reason.
Is there a way to get around this problem, that is there a way to use "SetInterval" command with "self"?