# Set Title For Timer Window

Grammar — Set the title for window|Timer Window to title
FlagsNative | Action

Sets the title text for the specified timer window.

# Arguments

Returns — void

native void TimerWindowSetTitle(
	int inWindow,
	text inTitle,
);

Category: Timer / Timer Windows

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1054

        TimerStart(gv_transitionToNight, (gv_dAY_DURATION - 40.0), false, c_timeGame);
        TimerStart(gv_mainTimer, gv_dAY_DURATION, false, c_timeGame);
        TimerWindowSetTitle(gv_mainTimerWindow, TextReplaceWord(StringExternal("Param/Value/6B0A5E41"), StringExternal("Param/Value/C3A5EF7D"), IntToText(gv_day), c_stringReplaceAll, c_stringCase));
        TimerWindowSetStyle(gv_mainTimerWindow, c_timerWindowStyleHorizontalTitleTime, false);
        TimerWindowSetColor(gv_mainTimerWindow, c_timerWindowColorTitle, Color(0.00, 100.00, 0.00), 0.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1073

        TimerStart(gv_transitionToDay, (gv_nIGHT_DURATION - 40.0), false, c_timeGame);
        TimerStart(gv_mainTimer, gv_nIGHT_DURATION, false, c_timeGame);
        TimerWindowSetTitle(gv_mainTimerWindow, TextReplaceWord(StringExternal("Param/Value/749F57BE"), StringExternal("Param/Value/7E7BF9AB"), IntToText(gv_night), c_stringReplaceAll, c_stringCase));
        TimerWindowSetStyle(gv_mainTimerWindow, c_timerWindowStyleHorizontalTitleTime, false);
        TimerWindowSetColor(gv_mainTimerWindow, c_timerWindowColorTitle, Color(100.00, 0.00, 0.00), 0.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:1783

        }
        else {
            TimerWindowSetTitle(gv_nextTrainWindow, StringExternal("Param/Value/C34351EC"));
            TimerStart(gv_nextTrainTimer, gv_trainWaveWait, false, c_timeAI);
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:1054

        TimerStart(gv_transitionToNight, (gv_dAY_DURATION - 40.0), false, c_timeGame);
        TimerStart(gv_mainTimer, gv_dAY_DURATION, false, c_timeGame);
        TimerWindowSetTitle(gv_mainTimerWindow, TextReplaceWord(StringExternal("Param/Value/6B0A5E41"), StringExternal("Param/Value/C3A5EF7D"), IntToText(gv_day), c_stringReplaceAll, c_stringCase));
        TimerWindowSetStyle(gv_mainTimerWindow, c_timerWindowStyleHorizontalTitleTime, false);
        TimerWindowSetColor(gv_mainTimerWindow, c_timerWindowColorTitle, Color(0.00, 100.00, 0.00), 0.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:1073

        TimerStart(gv_transitionToDay, (gv_nIGHT_DURATION - 40.0), false, c_timeGame);
        TimerStart(gv_mainTimer, gv_nIGHT_DURATION, false, c_timeGame);
        TimerWindowSetTitle(gv_mainTimerWindow, TextReplaceWord(StringExternal("Param/Value/749F57BE"), StringExternal("Param/Value/7E7BF9AB"), IntToText(gv_night), c_stringReplaceAll, c_stringCase));
        TimerWindowSetStyle(gv_mainTimerWindow, c_timerWindowStyleHorizontalTitleTime, false);
        TimerWindowSetColor(gv_mainTimerWindow, c_timerWindowColorTitle, Color(100.00, 0.00, 0.00), 0.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2mapMapScript.galaxy:1783

        }
        else {
            TimerWindowSetTitle(gv_nextTrainWindow, StringExternal("Param/Value/C34351EC"));
            TimerStart(gv_nextTrainTimer, gv_trainWaveWait, false, c_timeAI);
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal02.sc2map/MapScript.galaxy:1456

        }
        else {
            TimerWindowSetTitle(gv_disruptionTimerWindow, StringExternal("Param/Value/6492D007"));
        }
        libVCUI_gf_SetTimerWindowDangerThreshold(0.0);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal02.sc2map/MapScript.galaxy:1478

        TriggerExecute(gt_HybridWaveController, true, false);
        TimerStart(gv_disruptionTimer, gv_disruptionActiveDuration, false, c_timeAI);
        TimerWindowSetTitle(gv_disruptionTimerWindow, StringExternal("Param/Value/EBCE1BCE"));
        TimerWindowSetFormat(gv_disruptionTimerWindow, StringToText("<mintotal/>:<sec2/>"));
        libVCUI_gf_SetTimerWindowDangerThreshold(300.0);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal02.sc2mapMapScript.galaxy:1456

        }
        else {
            TimerWindowSetTitle(gv_disruptionTimerWindow, StringExternal("Param/Value/6492D007"));
        }
        libVCUI_gf_SetTimerWindowDangerThreshold(0.0);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal02.sc2mapMapScript.galaxy:1478

        TriggerExecute(gt_HybridWaveController, true, false);
        TimerStart(gv_disruptionTimer, gv_disruptionActiveDuration, false, c_timeAI);
        TimerWindowSetTitle(gv_disruptionTimerWindow, StringExternal("Param/Value/EBCE1BCE"));
        TimerWindowSetFormat(gv_disruptionTimerWindow, StringToText("<mintotal/>:<sec2/>"));
        libVCUI_gf_SetTimerWindowDangerThreshold(300.0);