• Creates a new timer dialog based on the underlying timer. It is hidden by default and has "Remaining" as title (localized).

    Timer dialog works as a visible countdown timer in the format: "Title hh:mm:ss".

    Since this creates an object and returns a handle, it must be freed when no longer needed with DestroyTimerDialog.

    Parameters

    • t: HandleHolder<"timer">

      connect the timer dialog to this timer, it'll always follow its "time remaining".

    Returns HandleHolder<"timerdialog">

    Note

    (v1.32.10, Lua) If t is nil then the dialog is still created, but will never show any time.

    Alternatively, you can set the visible time with TimerDialogSetRealTimeRemaining.

Generated using TypeDoc