Returns the game world time in seconds relative to time the mission started. Will always count up from when the mission started. If the value is above 86400 then it is the next day after the mission started. This function is useful in attaining the time of day.
Assuming a mission started at noon the value returned would be 43200. (126060). Midnight would be 0. Calling this function at 12:00:10 timer.getAbsTime will return 43210.xxx.
Returns the model time in seconds to 3 decimal places. This counts time once the simulator loads. So if a mission is paused, the time this function returns still moves forward.
Returns the mission start time in seconds. Can be used with timer.getAbsTime() to see how much time has passed in the mission.
Removes a scheduled function as defined by the functionId from executing. Essentially will "destroy" the function.
Schedules a function to run at a time in the future. This is a very powerful function. 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).
Re-Schedules an already scheduled function to run at a different time in the future.
No Self