# Destroy Timer Window
Grammar — Destroy window|Timer Window
Flags —Native
|Action
Destroys the specified timer window.
# Arguments
int
<preset::TimerWindow> — Window
Returns — void
native void TimerWindowDestroy(int inWindow);
# Related
Category: Timer / Timer Windows
- Create Timer Window —
int
<preset::TimerWindow> — TimerWindowCreate - Last Created Timer Window —
int
<preset::TimerWindow> — TimerWindowLastCreated - Show/Hide Timer Window —
void
— TimerWindowShow - Timer Window Is Visible —
bool
— TimerWindowVisible - Destroy Timer Window —
void
— TimerWindowDestroy - Anchor Timer Window —
void
— TimerWindowSetAnchor - Move Timer Window —
void
— TimerWindowSetPosition - Reset Timer Window Position —
void
— TimerWindowResetPosition - Set Title For Timer Window —
void
— TimerWindowSetTitle - Set Timer For Timer Window —
void
— TimerWindowSetTimer - Set Time Format For Timer Window —
void
— TimerWindowSetFormat - Set Style For Timer Window —
void
— TimerWindowSetStyle - Set Gap Width For Timer Window —
void
— TimerWindowSetGapWidth - Set Height For Timer Window —
void
— TimerWindowSetFixedHeight - Set Timer Window Color —
void
— TimerWindowSetColor - Show/Hide Timer Window Border —
void
— TimerWindowShowBorder - Show/Hide Timer Window Progress Bar —
void
— TimerWindowShowProgressBar - Set Timer Window Progress Color —
void
— TimerWindowSetProgressColor - Set Timer Window Image Type —
void
— TimerWindowSetImageType - Elapsed Time Of Timer —
fixed
— TimerGetElapsed - Remaining Time Of Timer —
fixed
— TimerGetRemaining
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4279
TriggerEnable(TriggerGetCurrent(), false);
gv_gameOver = true;
TimerWindowDestroy(gv_mainTimerWindow);
TimerPause(gv_mainTimer, true);
TimerPause(gv_transitionToDay, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2183
Wait(1.0, c_timeGame);
if ((gv_gameOver == true)) {
TimerWindowDestroy(TimerWindowLastCreated());
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:6752
TriggerEnable(gt_TransmissionOdinNearSiegeTankQ, false);
TriggerEnable(gt_TransmissionOdinNearVikingQ, false);
TimerWindowDestroy(gv_distractionTimerWindow);
VisRevealerDestroy(gv_korhalRevealer);
ObjectiveShow(gv_objectiveDestroyDominionForces, PlayerGroupAll(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:5875
ObjectiveSetState(gv_objectiveDestroyDataz, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveNoAccess, c_objectiveStateCompleted);
TimerWindowDestroy(gv_kerrigansETAWINDOW);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:9767
gv_inCinematic = true;
TimerWindowDestroy(gv_holdoutTimerWindow);
PingDestroy(gv__1RescueDominionPing);
RegionPlayableMapSet(RegionEntireMap());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:10490
gv_inCinematic = true;
TimerWindowDestroy(gv_holdoutTimerWindow);
PingDestroy(gv__2RescueDominionPing);
RegionPlayableMapSet(RegionEntireMap());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:11503
gv_inCinematic = true;
TimerWindowDestroy(gv_holdoutTimerWindow);
PingDestroy(gv__3RescueDominionPing);
RegionPlayableMapSet(RegionEntireMap());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1523
gv_timerReadytoBlowArea01 = true;
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea01, 0.0, false);
TimerWindowDestroy(TimerWindowLastCreated());
while (gv_midCinematicIsBusy) {
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1591
gv_timerReadytoBlowArea02 = true;
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea02, 0.0, false);
TimerWindowDestroy(TimerWindowLastCreated());
while (gv_midCinematicIsBusy) {
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1659
gv_timerReadytoBlowArea03 = true;
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea03, 0.0, false);
TimerWindowDestroy(TimerWindowLastCreated());
while (gv_midCinematicIsBusy) {
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1727
gv_timerReadytoBlowArea04 = true;
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea04, 0.0, false);
TimerWindowDestroy(TimerWindowLastCreated());
while (gv_midCinematicIsBusy) {
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1719
PingDestroy(gv_pingHybridBoss);
BoardDestroy(gv_energyBoard);
TimerWindowDestroy(gv_timerWindow);
Wait(0.2, c_timeGame);
TimerPause(gv_attackTimer, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1737
TriggerEnable(gt_EnergyTimer, false);
BoardDestroy(gv_energyBoard);
TimerWindowDestroy(gv_timerWindow);
UnitRemove(gv_hybridNeutral);
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/advancedcommand.sc2map/MapScript.galaxy:639
ObjectiveDestroy(gv_objectiveKill2);
ObjectiveDestroy(gv_objectiveKill3);
TimerWindowDestroy(gv_mainTimerWindow);
TriggerEnable(gt_TrackUnitKilled, true);
TriggerEnable(gt_Timer, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/advancedcommand.sc2map/MapScript.galaxy:860
TriggerExecute(gt_FinishDefeatTimer, true, false);
}
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:585
ObjectiveDestroy(gv_objectiveEconomyGold);
libNtve_gf_SetUpgradeLevelForPlayer(gv_pLAYER_USER, "SiegeTech", 0);
TimerWindowDestroy(gv_mainTimerWindow);
TriggerEnable(gt_ObjectiveEconomyComplete, true);
TriggerEnable(gt_ObjectiveEconomyCreate, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1314
TriggerStop(gt_Attackwavez);
TriggerStop(gt_TrackTimeLeft);
TimerWindowDestroy(gv_mainTimerWindow);
gf_Achievements();
if ((gv_finalScore > gv_previousScore) && (gv_played == true)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1368
gv_gameOver = true;
UnitPauseAll(true);
TimerWindowDestroy(gv_mainTimerWindow);
TriggerQueuePause(true);
TriggerQueueClear(c_triggerQueueRetain);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1418
}
UnitGroupLoopEnd();
TimerWindowDestroy(gv_mainTimerWindow);
TriggerQueuePause(true);
TriggerQueueClear(c_triggerQueueRetain);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:222
}
AIAttackWaveSend(gv_pLAYER_COMPUTER1, 0, false);
TimerWindowDestroy(gv_mainTimerWindow);
UIAlertClear(gv_pLAYER_USER);
if ((lp_mSpawningRegion == RegionFromId(15)) && (UnitIsAlive(gv_nWRocks) == true)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:706
ObjectiveDestroy(gv_objectiveKill2);
ObjectiveDestroy(gv_objectiveKill3);
TimerWindowDestroy(gv_mainTimerWindow);
TriggerEnable(gt_FinishDefeat, true);
TriggerEnable(gt_ObjectiveKillCompleteQ, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:902
UIAlertClear(gv_pLAYER_USER);
AIAttackWaveSend(gv_pLAYER_COMPUTER1, 0, true);
TimerWindowDestroy(gv_mainTimerWindow);
gf_SpawnWave(26.0, RegionFromId(1), 10, "Marine", 0, null, 0, null);
gf_SpawnWave(26.0, RegionFromId(1), 4, "Hydralisk", 8, "Zergling", 0, null);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:502
Wait(0.25, c_timeGame);
}
TimerWindowDestroy(gv_prepTimerWindow);
TriggerExecute(gt_CreateLeaderboardZerg, true, false);
TriggerExecute(gt_ZergAttackWaves, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:758
Wait(0.25, c_timeGame);
}
TimerWindowDestroy(gv_prepTimerWindow);
UnitGroupLoopBegin(UnitGroup(null, gv_p3_ENEMY_PROTOSS, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
while (!UnitGroupLoopDone()) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:1359
BoardDestroy(gv_leaderboard);
TimerWindowDestroy(gv_prepTimerWindow);
gv_time = 0;
gv_currentRoundPlayerDeaths = 0;
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:2272
gv_inCinematic = true;
BoardDestroy(gv_leaderboard);
TimerWindowDestroy(gv_prepTimerWindow);
gv_time = 0;
gv_currentRoundPlayerDeaths = 0;
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:628
ObjectiveDestroy(gv_objectiveKill2);
ObjectiveDestroy(gv_objectiveKill3);
TimerWindowDestroy(gv_mainTimerWindow);
TriggerEnable(gt_TrackUnitKilled, true);
TriggerEnable(gt_Timer, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:846
TriggerExecute(gt_FinishDefeat, true, false);
}
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:615
ObjectiveDestroy(gv_objectiveKill2);
ObjectiveDestroy(gv_objectiveKill3);
TimerWindowDestroy(gv_mainTimerWindow);
TriggerEnable(gt_TrackUnitKilled, true);
TriggerEnable(gt_Spawn, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:821
TriggerEnable(gt_TrackUnitKilled, false);
TriggerExecute(gt_ObjectiveKillUpdate, true, false);
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
if ((gv_finalScore >= gv_winningScoreBronze)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:1164
}
UnitPauseAll(true);
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
TimerPause(gv_mainTimer, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:1207
gv_gameOver = true;
UnitPauseAll(true);
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
TimerPause(gv_mainTimer, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:4279
TriggerEnable(TriggerGetCurrent(), false);
gv_gameOver = true;
TimerWindowDestroy(gv_mainTimerWindow);
TimerPause(gv_mainTimer, true);
TimerPause(gv_transitionToDay, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2map — MapScript.galaxy:2183
Wait(1.0, c_timeGame);
if ((gv_gameOver == true)) {
TimerWindowDestroy(TimerWindowLastCreated());
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:6752
TriggerEnable(gt_TransmissionOdinNearSiegeTankQ, false);
TriggerEnable(gt_TransmissionOdinNearVikingQ, false);
TimerWindowDestroy(gv_distractionTimerWindow);
VisRevealerDestroy(gv_korhalRevealer);
ObjectiveShow(gv_objectiveDestroyDominionForces, PlayerGroupAll(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2map — MapScript.galaxy:5875
ObjectiveSetState(gv_objectiveDestroyDataz, c_objectiveStateCompleted);
ObjectiveSetState(gv_objectiveNoAccess, c_objectiveStateCompleted);
TimerWindowDestroy(gv_kerrigansETAWINDOW);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:9767
gv_inCinematic = true;
TimerWindowDestroy(gv_holdoutTimerWindow);
PingDestroy(gv__1RescueDominionPing);
RegionPlayableMapSet(RegionEntireMap());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:10490
gv_inCinematic = true;
TimerWindowDestroy(gv_holdoutTimerWindow);
PingDestroy(gv__2RescueDominionPing);
RegionPlayableMapSet(RegionEntireMap());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:11503
gv_inCinematic = true;
TimerWindowDestroy(gv_holdoutTimerWindow);
PingDestroy(gv__3RescueDominionPing);
RegionPlayableMapSet(RegionEntireMap());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:1523
gv_timerReadytoBlowArea01 = true;
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea01, 0.0, false);
TimerWindowDestroy(TimerWindowLastCreated());
while (gv_midCinematicIsBusy) {
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:1591
gv_timerReadytoBlowArea02 = true;
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea02, 0.0, false);
TimerWindowDestroy(TimerWindowLastCreated());
while (gv_midCinematicIsBusy) {
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:1659
gv_timerReadytoBlowArea03 = true;
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea03, 0.0, false);
TimerWindowDestroy(TimerWindowLastCreated());
while (gv_midCinematicIsBusy) {
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:1727
gv_timerReadytoBlowArea04 = true;
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea04, 0.0, false);
TimerWindowDestroy(TimerWindowLastCreated());
while (gv_midCinematicIsBusy) {
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:1719
PingDestroy(gv_pingHybridBoss);
BoardDestroy(gv_energyBoard);
TimerWindowDestroy(gv_timerWindow);
Wait(0.2, c_timeGame);
TimerPause(gv_attackTimer, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:1737
TriggerEnable(gt_EnergyTimer, false);
BoardDestroy(gv_energyBoard);
TimerWindowDestroy(gv_timerWindow);
UnitRemove(gv_hybridNeutral);
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/advancedcommand.sc2map — MapScript.galaxy:639
ObjectiveDestroy(gv_objectiveKill2);
ObjectiveDestroy(gv_objectiveKill3);
TimerWindowDestroy(gv_mainTimerWindow);
TriggerEnable(gt_TrackUnitKilled, true);
TriggerEnable(gt_Timer, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/advancedcommand.sc2map — MapScript.galaxy:860
TriggerExecute(gt_FinishDefeatTimer, true, false);
}
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2map — MapScript.galaxy:585
ObjectiveDestroy(gv_objectiveEconomyGold);
libNtve_gf_SetUpgradeLevelForPlayer(gv_pLAYER_USER, "SiegeTech", 0);
TimerWindowDestroy(gv_mainTimerWindow);
TriggerEnable(gt_ObjectiveEconomyComplete, true);
TriggerEnable(gt_ObjectiveEconomyCreate, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2map — MapScript.galaxy:1314
TriggerStop(gt_Attackwavez);
TriggerStop(gt_TrackTimeLeft);
TimerWindowDestroy(gv_mainTimerWindow);
gf_Achievements();
if ((gv_finalScore > gv_previousScore) && (gv_played == true)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2map — MapScript.galaxy:1368
gv_gameOver = true;
UnitPauseAll(true);
TimerWindowDestroy(gv_mainTimerWindow);
TriggerQueuePause(true);
TriggerQueueClear(c_triggerQueueRetain);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2map — MapScript.galaxy:1418
}
UnitGroupLoopEnd();
TimerWindowDestroy(gv_mainTimerWindow);
TriggerQueuePause(true);
TriggerQueueClear(c_triggerQueueRetain);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosspsionics.sc2map — MapScript.galaxy:222
}
AIAttackWaveSend(gv_pLAYER_COMPUTER1, 0, false);
TimerWindowDestroy(gv_mainTimerWindow);
UIAlertClear(gv_pLAYER_USER);
if ((lp_mSpawningRegion == RegionFromId(15)) && (UnitIsAlive(gv_nWRocks) == true)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosspsionics.sc2map — MapScript.galaxy:706
ObjectiveDestroy(gv_objectiveKill2);
ObjectiveDestroy(gv_objectiveKill3);
TimerWindowDestroy(gv_mainTimerWindow);
TriggerEnable(gt_FinishDefeat, true);
TriggerEnable(gt_ObjectiveKillCompleteQ, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosspsionics.sc2map — MapScript.galaxy:902
UIAlertClear(gv_pLAYER_USER);
AIAttackWaveSend(gv_pLAYER_COMPUTER1, 0, true);
TimerWindowDestroy(gv_mainTimerWindow);
gf_SpawnWave(26.0, RegionFromId(1), 10, "Marine", 0, null, 0, null);
gf_SpawnWave(26.0, RegionFromId(1), 4, "Hydralisk", 8, "Zergling", 0, null);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2map — MapScript.galaxy:502
Wait(0.25, c_timeGame);
}
TimerWindowDestroy(gv_prepTimerWindow);
TriggerExecute(gt_CreateLeaderboardZerg, true, false);
TriggerExecute(gt_ZergAttackWaves, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2map — MapScript.galaxy:758
Wait(0.25, c_timeGame);
}
TimerWindowDestroy(gv_prepTimerWindow);
UnitGroupLoopBegin(UnitGroup(null, gv_p3_ENEMY_PROTOSS, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
while (!UnitGroupLoopDone()) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2map — MapScript.galaxy:1359
BoardDestroy(gv_leaderboard);
TimerWindowDestroy(gv_prepTimerWindow);
gv_time = 0;
gv_currentRoundPlayerDeaths = 0;
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2map — MapScript.galaxy:2272
gv_inCinematic = true;
BoardDestroy(gv_leaderboard);
TimerWindowDestroy(gv_prepTimerWindow);
gv_time = 0;
gv_currentRoundPlayerDeaths = 0;
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2map — MapScript.galaxy:628
ObjectiveDestroy(gv_objectiveKill2);
ObjectiveDestroy(gv_objectiveKill3);
TimerWindowDestroy(gv_mainTimerWindow);
TriggerEnable(gt_TrackUnitKilled, true);
TriggerEnable(gt_Timer, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2map — MapScript.galaxy:846
TriggerExecute(gt_FinishDefeat, true, false);
}
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2map — MapScript.galaxy:615
ObjectiveDestroy(gv_objectiveKill2);
ObjectiveDestroy(gv_objectiveKill3);
TimerWindowDestroy(gv_mainTimerWindow);
TriggerEnable(gt_TrackUnitKilled, true);
TriggerEnable(gt_Spawn, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2map — MapScript.galaxy:821
TriggerEnable(gt_TrackUnitKilled, false);
TriggerExecute(gt_ObjectiveKillUpdate, true, false);
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
if ((gv_finalScore >= gv_winningScoreBronze)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2map — MapScript.galaxy:1164
}
UnitPauseAll(true);
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
TimerPause(gv_mainTimer, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2map — MapScript.galaxy:1207
gv_gameOver = true;
UnitPauseAll(true);
TimerWindowDestroy(gv_mainTimerWindow);
DialogDestroy(libChal_gv_finalCountdownDIALOG);
TimerPause(gv_mainTimer, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:3262
TimerWindowSetFormat(TimerWindowLastCreated(), StringToText("<mintotal/>:<sec2/>"));
libNtve_gf_WaitForTimer(TimerLastStarted(), 0.0, false);
TimerWindowDestroy(TimerWindowLastCreated());
UnitCreate(1, "ZaGara", 0, gv_pLAYER_02_ZERG, PointFromId(3), 270.0);
UnitSetPropertyFixed(gv_zagara, c_unitPropLifeMax, gv_zagaraMaximumLife);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:3367
TimerWindowSetFormat(TimerWindowLastCreated(), StringToText("<mintotal/>:<sec2/>"));
libNtve_gf_WaitForTimer(TimerLastStarted(), 0.0, false);
TimerWindowDestroy(TimerWindowLastCreated());
libNtve_gf_PauseUnit(gv_zagara, false);
UnitSetState(gv_zagara, c_unitStateInvulnerable, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:1450
TriggerEnable(TriggerGetCurrent(), false);
TimerPause(gv_timedAttackTimer, true);
TimerWindowDestroy(gv_timedAttackTimerWindow);
TriggerEnable(gt_StartTimedAttackTimer, false);
TriggerStop(gt_StartTimedAttackTimer);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:1922
PingDestroy(gv_timedAttackPing[3]);
TimerPause(gv_timedAttackTimer, true);
TimerWindowDestroy(gv_timedAttackTimerWindow);
TriggerExecute(gt_ObjectiveDestroyStuffComplete, true, true);
TriggerExecute(gt_MidQ, true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:1962
TriggerEnable(TriggerGetCurrent(), false);
TimerPause(gv_timedAttackTimer, true);
TimerWindowDestroy(gv_timedAttackTimerWindow);
PingDestroy(gv_timedAttackPing[1]);
PingDestroy(gv_timedAttackPing[2]);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:755
gv_flashFreezeActive = false;
TriggerEnable(gt_GlobalFlashFreezeBehavior, false);
TimerWindowDestroy(gv_flashFreezeDuration_Window);
autoEEB94356_g = UnitGroup(null, gv_pLAYER_01_USER, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
autoEEB94356_u = UnitGroupCount(autoEEB94356_g, c_unitCountAll);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:910
// Implementation
gf_StartFlashFreeze();
TimerWindowDestroy(gv_nextFlashFreeze_Window);
TriggerExecute(gt_CreateFlashFreezeDurationTimerWindow, true, false);
Wait((gv_flashFreeze_Duration - 10.0), c_timeAI);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:5422
PingDestroy(gv_escapeExplosionPing);
TimerPause(gv_countdownTimer, true);
TimerWindowDestroy(gv_countdownTimerWindow);
PlayerCreateEffectPoint(gv_pLAYER_01_USER, "EnergyNovaPersistent", RegionGetCenter(RegionFromId(75)));
SoundPlay(SoundLink("Artifact_EnergyNova", -1), PlayerGroupAll(), 100.0, 0.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:5492
PingDestroy(gv_escapeExplosionPing);
TimerPause(gv_countdownTimer, true);
TimerWindowDestroy(gv_countdownTimerWindow);
TriggerExecute(gt_ObjectiveEscapeComplete, true, false);
Wait(2.0, c_timeGame);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:1454
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeResourcePanel, true);
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeSupply, true);
TimerWindowDestroy(gv_mainTimerWindow);
GameTimeOfDayPause(true);
TriggerEnable(gt_HandleKerriganDeath, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:756
}
TimerWindowDestroy(gv_fieldPowerTimerWindow);
gv_fieldPowerTimerWindow = c_timerWindowNone;
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:5611
TriggerEnable(TriggerGetCurrent(), false);
TriggerEnable(gt_HoldOutFinishedEarly, false);
TimerWindowDestroy(gv_holdOut_Window);
TriggerExecute(gt_ObjectiveHoldOutComplete, true, true);
libSwaC_gf_CreateMissionAutosavePoint(StringExternal("Param/Value/72C0D40D"));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:3262
TimerWindowSetFormat(TimerWindowLastCreated(), StringToText("<mintotal/>:<sec2/>"));
libNtve_gf_WaitForTimer(TimerLastStarted(), 0.0, false);
TimerWindowDestroy(TimerWindowLastCreated());
UnitCreate(1, "ZaGara", 0, gv_pLAYER_02_ZERG, PointFromId(3), 270.0);
UnitSetPropertyFixed(gv_zagara, c_unitPropLifeMax, gv_zagaraMaximumLife);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:3367
TimerWindowSetFormat(TimerWindowLastCreated(), StringToText("<mintotal/>:<sec2/>"));
libNtve_gf_WaitForTimer(TimerLastStarted(), 0.0, false);
TimerWindowDestroy(TimerWindowLastCreated());
libNtve_gf_PauseUnit(gv_zagara, false);
UnitSetState(gv_zagara, c_unitStateInvulnerable, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:1450
TriggerEnable(TriggerGetCurrent(), false);
TimerPause(gv_timedAttackTimer, true);
TimerWindowDestroy(gv_timedAttackTimerWindow);
TriggerEnable(gt_StartTimedAttackTimer, false);
TriggerStop(gt_StartTimedAttackTimer);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:1922
PingDestroy(gv_timedAttackPing[3]);
TimerPause(gv_timedAttackTimer, true);
TimerWindowDestroy(gv_timedAttackTimerWindow);
TriggerExecute(gt_ObjectiveDestroyStuffComplete, true, true);
TriggerExecute(gt_MidQ, true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:1962
TriggerEnable(TriggerGetCurrent(), false);
TimerPause(gv_timedAttackTimer, true);
TimerWindowDestroy(gv_timedAttackTimerWindow);
PingDestroy(gv_timedAttackPing[1]);
PingDestroy(gv_timedAttackPing[2]);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map — MapScript.galaxy:755
gv_flashFreezeActive = false;
TriggerEnable(gt_GlobalFlashFreezeBehavior, false);
TimerWindowDestroy(gv_flashFreezeDuration_Window);
autoEEB94356_g = UnitGroup(null, gv_pLAYER_01_USER, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
autoEEB94356_u = UnitGroupCount(autoEEB94356_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map — MapScript.galaxy:910
// Implementation
gf_StartFlashFreeze();
TimerWindowDestroy(gv_nextFlashFreeze_Window);
TriggerExecute(gt_CreateFlashFreezeDurationTimerWindow, true, false);
Wait((gv_flashFreeze_Duration - 10.0), c_timeAI);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:5422
PingDestroy(gv_escapeExplosionPing);
TimerPause(gv_countdownTimer, true);
TimerWindowDestroy(gv_countdownTimerWindow);
PlayerCreateEffectPoint(gv_pLAYER_01_USER, "EnergyNovaPersistent", RegionGetCenter(RegionFromId(75)));
SoundPlay(SoundLink("Artifact_EnergyNova", -1), PlayerGroupAll(), 100.0, 0.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:5492
PingDestroy(gv_escapeExplosionPing);
TimerPause(gv_countdownTimer, true);
TimerWindowDestroy(gv_countdownTimerWindow);
TriggerExecute(gt_ObjectiveEscapeComplete, true, false);
Wait(2.0, c_timeGame);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map — MapScript.galaxy:1454
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeResourcePanel, true);
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeSupply, true);
TimerWindowDestroy(gv_mainTimerWindow);
GameTimeOfDayPause(true);
TriggerEnable(gt_HandleKerriganDeath, true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:756
}
TimerWindowDestroy(gv_fieldPowerTimerWindow);
gv_fieldPowerTimerWindow = c_timerWindowNone;
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:5611
TriggerEnable(TriggerGetCurrent(), false);
TriggerEnable(gt_HoldOutFinishedEarly, false);
TimerWindowDestroy(gv_holdOut_Window);
TriggerExecute(gt_ObjectiveHoldOutComplete, true, true);
libSwaC_gf_CreateMissionAutosavePoint(StringExternal("Param/Value/72C0D40D"));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:4079
TriggerEnable(TriggerGetCurrent(), false);
TimerWindowDestroy(gv_skyshieldTimerWindow);
libVCMI_gf_GameOver(libVCMI_ge_CampaignMissionGameResultType_Defeat);
TriggerQueuePause(true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar02.sc2map/MapScript.galaxy:2040
TriggerEnable(gt_S1HoldoutEndQ, false);
TriggerStop(gt_S1Holdout);
TimerWindowDestroy(gv_holdoutTimerWindow);
UnitIssueOrder(gv_aRTANIS, Order(AbilityCommand("ArtanisChannel", 1)), c_orderQueueReplace);
return true;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar02.sc2map/MapScript.galaxy:3245
Wait(1.0, c_timeAI);
}
TimerWindowDestroy(gv_holdoutTimerWindow);
TriggerExecute(gt_S1HoldoutEndQ, true, false);
while (!((libNtve_gf_UnitGroupIsDead(gv_globalEnemyUnits) == true))) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar02.sc2map/MapScript.galaxy:6478
TriggerEnable(TriggerGetCurrent(), false);
TimerPause(gv_s3Timer, true);
TimerWindowDestroy(gv_s3TimerWindow);
return true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar02.sc2map/MapScript.galaxy:9577
RegionPlayableMapSet(RegionFromId(26));
UnitClearSelection(gv_pLAYER_01_USER);
TimerWindowDestroy(gv_holdoutTimerWindow);
TriggerStop(gt_S1Holdout);
TriggerStop(gt_S2StartHallDefenseEvents);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:4079
TriggerEnable(TriggerGetCurrent(), false);
TimerWindowDestroy(gv_skyshieldTimerWindow);
libVCMI_gf_GameOver(libVCMI_ge_CampaignMissionGameResultType_Defeat);
TriggerQueuePause(true);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar02.sc2map — MapScript.galaxy:2040
TriggerEnable(gt_S1HoldoutEndQ, false);
TriggerStop(gt_S1Holdout);
TimerWindowDestroy(gv_holdoutTimerWindow);
UnitIssueOrder(gv_aRTANIS, Order(AbilityCommand("ArtanisChannel", 1)), c_orderQueueReplace);
return true;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar02.sc2map — MapScript.galaxy:3245
Wait(1.0, c_timeAI);
}
TimerWindowDestroy(gv_holdoutTimerWindow);
TriggerExecute(gt_S1HoldoutEndQ, true, false);
while (!((libNtve_gf_UnitGroupIsDead(gv_globalEnemyUnits) == true))) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar02.sc2map — MapScript.galaxy:6478
TriggerEnable(TriggerGetCurrent(), false);
TimerPause(gv_s3Timer, true);
TimerWindowDestroy(gv_s3TimerWindow);
return true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar02.sc2map — MapScript.galaxy:9577
RegionPlayableMapSet(RegionFromId(26));
UnitClearSelection(gv_pLAYER_01_USER);
TimerWindowDestroy(gv_holdoutTimerWindow);
TriggerStop(gt_S1Holdout);
TriggerStop(gt_S2StartHallDefenseEvents);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:1878
TriggerExecute(gt_ObjectiveDestroyZergHatcheriesComplete, true, false);
TriggerExecute(gt_ObjectiveNovaMustSurviveComplete, true, false);
TimerWindowDestroy(gv_s1_TimerWindow);
libNtve_gf_ChangeUnitDamage(gv_nova, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
Wait(3.0, c_timeGame);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:1878
TriggerExecute(gt_ObjectiveDestroyZergHatcheriesComplete, true, false);
TriggerExecute(gt_ObjectiveNovaMustSurviveComplete, true, false);
TimerWindowDestroy(gv_s1_TimerWindow);
libNtve_gf_ChangeUnitDamage(gv_nova, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
Wait(3.0, c_timeGame);