Scheduler Lua API: Difference between revisions
Jump to navigation
Jump to search
(Update) |
No edit summary |
||
Line 35: | Line 35: | ||
'''Docs last hacked together on''': 13/09/2017 14:00 | '''Docs last hacked together on''': 13/09/2017 14:00 | ||
[[Category:Modding]] | |||
[[Category:LuaAPI]] |
Revision as of 10:16, 3 November 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
This file is auto generated, please don't edit manually!
Docs last hacked together on: 13/09/2017 14:00