DCS func scheduleFunction: Difference between revisions
From DCS World Wiki - Hoggitworld.com
m 1 revision imported |
mNo edit summary |
||
| 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 | ||
