Difference between revisions of "DCS func scheduleFunction"
From DCS World Wiki - Hoggitworld.com
m (1 revision imported) |
|||
(One intermediate revision by one other user not shown) | |||
Line 16: | Line 16: | ||
The function that is called is expected to return nil or a number which will indicate the next time the function will be rescheduled. | The function that is called is expected to return nil or a number which will indicate the next time the function will be rescheduled. | ||
− | Use the second argument in that function to retrieve the current time and add the desired amount of delay (expressed in seconds) | + | Use the second argument in that function to retrieve the current time and add the desired amount of delay (expressed in seconds). |
|rtnType= functionId | |rtnType= functionId | ||
Line 67: | Line 67: | ||
}} | }} | ||
[[Category:Singleton Functions|scheduleFunction]] | [[Category:Singleton Functions|scheduleFunction]] | ||
+ | [[Category:Game Patch 1.2.0|scheduleFunction]] |