User Tools

Site Tools


scripting-timer

Scripting - Timers data and function

Here can find some infomation about Enhanced Scripting function and data for manage timers!

Create

Create a new timer
Syntax Timer.Create(string, int)
Description:
Create a new backgroud timer, this timer can readed by all script, timer duration is in millisecond.
Returns: void
In Object: Timer
Parameters: string timername, int durationMS



Check

Check timer
Syntax Timer.Check(string)
Description:
Check if timer is ended. Return True if timer still alive, False if dead.
Returns: bool
In Object: Timer
Parameters: string timername

scripting-timer.txt · Last modified: 2018/12/04 14:35 by wikiadmin