The delay
is the time between a Timer
's creation and firing, or between subsequent firings.
Setting this property schedules a timer; this timer either will or will not repeat depending on what was most recently scheduled, or if the timer has never been scheduled, it will be a one-time timer.
> timer2 = new Timer"Repeat fire!";
undefined
> 0 1;
undefined
Repeat fire!
Repeat fire!
> timer2.delay
0
1Repeat fire!
> timer2.delay = 2
undefined
Repeat fire!
>
undefined
XPLMScheduleFlightLoop
is used to schedule the timer.