TimerDialogSetRealTimeRemaining

Parameters
whichDialog timerdialog

target dialog.

timeRemaining real

new time in seconds.

comment

Sets the timer dialog countdown to specified time and decouples it from the provided timer in CreateTimerDialog.

note

For example if the dialog was created with a periodic timer, it would reset the countdown like the timer when it reaches zero.

Once you set a custom time with this function, it will no longer follow the timer. Once it reaches zero, it'll stay at zero.

note

There's no way to retrieve the internal timer value or to have an event trigger.

patch

1.07

Source
common.j
return type
nothing
Source code
native TimerDialogSetRealTimeRemaining  takes timerdialog whichDialog, real timeRemaining returns nothing