Difference between revisions of "DCS func scheduleFunction"
From DCS World Wiki - Hoggitworld.com
m (1 revision imported) |
m |
||
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 |