# Set Timer For Timer Window

Grammar — Set timer for window|Timer Window to timer
FlagsNative | Action

Sets the timer for the specified timer window.

# Arguments

Returns — void

native void TimerWindowSetTimer(
	int inWindow,
	timer inTimer,
);

Category: Timer / Timer Windows

# Examples

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:5125

    // Implementation
    libCOUI_gv_cU_TimerWindowTimer = lp_timer;
    TimerWindowSetTimer(lp_window, lp_timer);
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:8791

    }

    TimerWindowSetTimer(TimerWindowLastCreated(), TimerLastStarted());
    if ((TimerGetRemaining(libCOUI_gv_cU_TimerWindowTimer) <= libCOUI_gv_cU_TimerWindowDangerThreshold) && (libCOUI_gv_cU_TimerWindowInDanger == false)) {
        libCOUI_gv_cU_TimerWindowInDanger = true;