# Create Timer Window

Grammar — Create a timer window for timer, with the title title, using elapsed|Elapsed/Remaining time (initially visible|Visible/Hidden)
FlagsNative | Action

Creates a new timer window for the timer. After creation the timer window must be shown for it to appear. Use “Show/Hide Timer Window” to show the window.

# Arguments

Returns — int [ preset::TimerWindow ]

native int TimerWindowCreate(
	timer inTimer,
	text inTitle,
	bool inShow,
	bool inShowElapsed,
);

Category: Timer / Timer Windows

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L824
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/C83E2D28"), true, false)
// L160
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/261AD682"), true, false)
// L537
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/07E62F5C"), true, false)
// L1755
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/5C2DB8E5"), true, false)
// L478
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/32DBD2F9"), true, false)
// L714
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/85654043"), true, false)
// L810
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/191988A6"), true, false)
// L793
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/AA43E721"), true, false)
// L801
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/1973AF56"), true, false)
// L2176
TimerWindowCreate(gv_nextTrainTimer, StringExternal("Param/Value/BC9464C5"), true, false)
// L1277
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/E6304B93"), true, false)
// L2445
TimerWindowCreate(gv_evacuationTimer, StringExternal("Param/Value/4B8241F4"), true, false)
// L2736
TimerWindowCreate(gv_lavaTimer, StringExternal("Param/Value/B68D184A"), true, false)
// L2451
TimerWindowCreate(gv_kerrigansETATIMER, StringExternal("Param/Value/6A412D92"), true, false)
// L3453
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/23FF264F"), true, false)
// L5360
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/8B3216F3"), true, false)
// L1513
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/4C8584A2"), true, false)
// L1581
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/6A242E34"), true, false)
// L1649
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/2F9B939E"), true, false)
// L1717
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/AD56BF00"), true, false)
// L5876
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/00C4A4C7"), true, false)
// L1793
TimerWindowCreate(gv_zergFrenzyTimer, StringExternal("Param/Value/8BA0DBD1"), true, false)
// L801
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/1973AF56"), true, false)
// L2176
TimerWindowCreate(gv_nextTrainTimer, StringExternal("Param/Value/BC9464C5"), true, false)
// L1277
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/E6304B93"), true, false)
// L2445
TimerWindowCreate(gv_evacuationTimer, StringExternal("Param/Value/4B8241F4"), true, false)
// L2736
TimerWindowCreate(gv_lavaTimer, StringExternal("Param/Value/B68D184A"), true, false)
// L2451
TimerWindowCreate(gv_kerrigansETATIMER, StringExternal("Param/Value/6A412D92"), true, false)
// L3453
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/23FF264F"), true, false)
// L5360
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/8B3216F3"), true, false)
// L1513
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/4C8584A2"), true, false)
// L1581
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/6A242E34"), true, false)
// L1649
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/2F9B939E"), true, false)
// L1717
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/AD56BF00"), true, false)
// L5876
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/00C4A4C7"), true, false)
// L1793
TimerWindowCreate(gv_zergFrenzyTimer, StringExternal("Param/Value/8BA0DBD1"), true, false)
// L824
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/C83E2D28"), true, false)
// L537
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/07E62F5C"), true, false)
// L1755
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/5C2DB8E5"), true, false)
// L160
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/261AD682"), true, false)
// L478
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/32DBD2F9"), true, false)
// L714
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/85654043"), true, false)
// L810
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/191988A6"), true, false)
// L793
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/AA43E721"), true, false)

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L2606
TimerWindowCreate(lp_timer, lp_title, lp_visible, lp_elapsed)

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L5226
TimerWindowCreate(lp_timer, lp_title, lp_visible, lp_elapsed)

# mods/missionpacks/novacampaign.sc2mod

LibNCUI.galaxy

// L3677
TimerWindowCreate(lp_timer, lp_title, lp_visible, lp_elapsed)

# mods/starcoop/starcoop.sc2mod

LibCOUI.galaxy

// L5102
TimerWindowCreate(lp_timer, lp_title, lp_visible, lp_elapsed)

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L1600
TimerWindowCreate(lp_timer, lp_title, lp_visible, lp_elapsed)