Function TimerDialogSetRealTimeRemaining

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

    Parameters

    • whichDialog: HandleHolder<"timerdialog">

      target dialog.

    • timeRemaining: number

      new time in seconds.

    Returns void

    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.

Generated using TypeDoc