I am having trouble getting a timer to fire using a similar method.
I want to have an application timer that fires every 2 seconds until the application quits.
I add an application action gre.init with an Action Type of Timer and a context of Application:
name="uisTimer", rtime=1000, repeat=2000, count=0
Then I created an action of timer.uisTimer with an Action Type of Lua Script and a context of Application
and point it to my uis_timer Lua Function which is simply defined as:
I never see the print of uis_timer in the console.
What am I missing?
Note: I do have another gre.init action in the application that points to another Lua function, but
I deleted it and the timer still does not fire.