Run function when time-out. It is also a base plugin for my timer-related plugins or behaviors.
Function object for callback, optional
Update timeline - property Game time
Yes
: update timeline by engine time = system time * timescale
Real-time
: update timeline by system time
No
: update timeline by Action:Push timeline forward
, or Action:Push timeline to
(sample capx)
Timers on this timeline
Action:Pause timeline
, to pause all timers registed on this timelineAction:Resume timeline
Action:Clean
, to remove all timers registed on this timelineExpression:TimeLineTime
, returns current time of timeline.
Action:Create timer
, to create a timer and its callback
Callback object
Action:Setup callback
, to assign callback object manually (sample capx)Parameter Name
, Parameter
: function name and parameters of callback
Action:Start
Repeat
: restart timer repeatedly. Set 0
to repeat timer infinityEvery tick
Time
Expression:TimerDelayTime
Expression:TimerRemainder
, Expression:TimerRemainderPercent
Expression:TimerElapsed
. Expression:TimerElapsedPercent
Timer control
Action:Pause
, Action:Resume
Action:Stop
Condition:Is timer running
Timeout
Trigger Condition:On function
of callback object
Expression:TriggeredTimerName
Action:Start triggered timer
Action:Delete triggered timer
Action:Set parameters
, to change parameters of callback for next invokingStop and delete timer
Action:Delete
Action:Delete triggered timer