Scheduler Lua API: Difference between revisions
Jump to navigation
Jump to search
m (Rich moved page Scheduler Lua API to Lua Apis/Scheduler Lua API without leaving a redirect) |
(removing StartDocs tag) |
||
Line 1: | Line 1: | ||
= Scheduler = | = Scheduler = | ||
== Description == | == Description == |
Revision as of 16:53, 26 June 2017
Scheduler
Description
The Scheduler api allows users to Schedule callback events based on specific time values
Functions
CallInSecsWorld
Scheduler.CallInSecsWorld(func, timeInSecs)
Expected parameter types
func | Lua Type |
timeInSecs | number (optional) |
Description: Schedule a lua function to be called in timeInSecs world time (1 sec real time = 3 secs world
Returns: The id of the scheduled event
CallInSecsReal
Scheduler.CallInSecsReal(func, timeInSecs)
Expected parameter types
func | Lua Type |
timeInSecs | number (optional) |
Description: Schedule a lua function to be called in timeInSecs real time
Returns: The id of the scheduled event
Docs last hacked together on: 09/05/2017 12:59