# Start Timer
Grammar — Start t as a r|One Shot/Repeating timer that will expire in dur|Time timeType|Real/Game/AI Time seconds
Flags —Native
|Action
Starts a timer, which will automatically count down from the given duration as the game runs. A repeating timer will restart itself whenever it expires (reaches 0 remaining time).
# Arguments
timer
— Timerfixed
— Durationbool
<preset::Timer_Periodic_Option> — Repeatingint
<preset::TimeType> — Time Type
Returns — void
native void TimerStart(
timer t,
fixed duration,
bool periodic,
int timeType,
);
# Related
Category: Timer / Timers
- Set Score Timer —
void
— SetScoreTimer - Time Elapsed —
void
— TriggerAddEventTimeElapsed - Periodic Event —
void
— TriggerAddEventTimePeriodic - Start Timer —
void
— TimerStart - Last Started Timer —
timer
— TimerLastStarted - Restart Timer —
void
— TimerRestart - Pause/Unpause Timer —
void
— TimerPause - Stop Timer —
void
— libNtve_gf_StopTimer - Timer Is Paused —
bool
— TimerIsPaused - New Timer —
timer
— TimerCreate - Duration Of Timer —
fixed
— TimerGetDuration - Timer Expires —
void
— TriggerAddEventTimer - Triggering Timer —
timer
— EventTimer
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:604
gf_DisplayLevelStartLabel(lp_level);
gf_FighterEnableDisableControl(true);
TimerStart(gv_powerupPickupTimer, 0.0625, true, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2380
Wait(2.0, c_timeGame);
libNtve_gf_SendActorMessageToUnit(gv_boss, "AnimBracketStop MissileSpinAttack");
TimerStart(gv_missileSpinnerFireTimer, 0.5, false, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5871
libNtve_gf_SendActorMessageToUnit(gv_missileSpinnerR, "AnimBracketStop Spin");
gv_alternateSpinAttack = !(gv_alternateSpinAttack);
TimerStart(gv_missileSpinnerFireTimer, lv_timeIntervalBetweenVolleys, false, c_timeGame);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8144
lv_widthNew = FixedToInt((IntToFixed(gv_unitHPBarInnerWidth) * ((UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropLife, c_unitPropCurrent) + UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropShields, c_unitPropCurrent)) / (UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropLifeMax, c_unitPropCurrent) + UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropShieldsMax, c_unitPropCurrent)))));
DialogControlSetSize(gv_unitHPBarDialogBar, PlayerGroupAll(), lv_widthNew, DialogControlGetHeight(gv_unitHPBarDialogBar, gv_p1_USER));
TimerStart(gv_unitHPBarFadeTimer, 5.0, false, c_timeGame);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5062
TriggerEnable(TriggerGetCurrent(), false);
TimerStart(lv_Timer, 7.0, false, c_timeGame);
gv_gameOver = true;
TriggerEnable(gt_DefeatColonyShipDead, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:794
GameTimeOfDayPause(true);
if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
TimerStart(gv_transitionToNight, 80.0, false, c_timeGame);
TimerStart(gv_mainTimer, 120.0, false, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:795
if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
TimerStart(gv_transitionToNight, 80.0, false, c_timeGame);
TimerStart(gv_mainTimer, 120.0, false, c_timeGame);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:798
}
else {
TimerStart(gv_transitionToNight, 50.0, false, c_timeGame);
TimerStart(gv_mainTimer, 90.0, false, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:799
else {
TimerStart(gv_transitionToNight, 50.0, false, c_timeGame);
TimerStart(gv_mainTimer, 90.0, false, c_timeGame);
}
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/1973AF56"), true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1052
UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, StringExternal("Param/Value/B9F9F63E"));
TriggerExecute(gt_TransmissionDaytimeQ, true, false);
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));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1053
TriggerExecute(gt_TransmissionDaytimeQ, true, false);
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);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1071
UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, StringExternal("Param/Value/103C91C4"));
TriggerExecute(gt_TransmissionNightQ, true, false);
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));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1072
TriggerExecute(gt_TransmissionNightQ, true, false);
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);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1293
}
TimerStart(gv_poweringUpTime, gv_pOWER_UP_TIME, false, c_timeGame);
gv_powerUpTimeProgress = 0.0;
UnitBehaviorAdd(gv_purifier, "ProgressBar", gv_purifier, 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1393
}
TimerStart(gv_poweringUpTime, gv_pOWER_UP_TIME, false, c_timeGame);
gv_powerUpTimeProgress = 0.0;
UnitBehaviorAdd(gv_purifier, "ProgressBar", gv_purifier, 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1503
}
TimerStart(gv_poweringUpTime, gv_pOWER_UP_TIME, false, c_timeGame);
gv_powerUpTimeProgress = 0.0;
UnitBehaviorAdd(gv_purifier, "ProgressBar", gv_purifier, 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1617
}
TimerStart(gv_poweringUpTime, gv_pOWER_UP_TIME, false, c_timeGame);
gv_powerUpTimeProgress = 0.0;
UnitBehaviorAdd(gv_purifier, "ProgressBar", gv_purifier, 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1724
}
TimerStart(gv_poweringUpTime, gv_pOWER_UP_TIME, false, c_timeGame);
gv_powerUpTimeProgress = 0.0;
UnitBehaviorAdd(gv_purifier, "ProgressBar", gv_purifier, 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:555
// Implementation
TimerStart(lv_timeoutTimer, lp_timeout, false, c_timeGame);
lv_defenderIndex = 0;
while (true) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:656
// Implementation
TimerStart(lv_timeoutTimer, lp_timeout, false, c_timeGame);
UnitIssueOrder(lp_transport, OrderTargetingPoint(AbilityCommand("OverlordTransport", 2), UnitGetPosition(lp_transport)), c_orderQueueReplace);
UnitIssueOrder(lp_transport, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:677
// Implementation
TimerStart(lv_timeoutTimer, lp_timeout, false, c_timeGame);
UnitIssueOrder(lp_drone, OrderTargetingPoint(AbilityCommand("ZergBuild", 16), gv_infestationVirophageSpot[lp_colonyIndex]), c_orderQueueAddToEnd);
while (true) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:759
gv_eggData[lv_eggIndex].lv_spawnPeriod = lp_spawnPeriod;
if ((lp_start == true)) {
TimerStart(gv_eggData[lv_eggIndex].lv_timer, lp_spawnPeriod, true, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1175
}
TimerStart(gv_aberrationStartTimer, libNtve_gf_DifficultyValueFixed(600.0, 600.0, 500.0, 400.0), false, c_timeGame);
gf_MakeEggsSpawn(ge_SpawnType_stAberration, 1, libNtve_gf_DifficultyValueFixed(240.0, 240.0, 150.0, 120.0), false);
gf_MakeEggsSpawn(ge_SpawnType_stInfestedMarine, 1, libNtve_gf_DifficultyValueFixed(80.0, 80.0, 60.0, 50.0), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1467
lv_colonyIndex = gv_tEMP_ColonyIndex;
TimerStart(lv_infestationTimer, c_timerDurationInfinite, false, c_timeGame);
gf_SendOverlords(lv_colonyIndex);
gf_SendOverseers(lv_colonyIndex);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1966
}
TimerStart(gv_eggData[ge_SpawnType_stAberration].lv_timer, gv_eggData[ge_SpawnType_stAberration].lv_spawnPeriod, false, c_timeGame);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1991
}
TimerStart(gv_eggData[ge_SpawnType_stInfestedMarine].lv_timer, gv_eggData[ge_SpawnType_stInfestedMarine].lv_spawnPeriod, false, c_timeGame);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2015
}
TimerStart(gv_eggData[ge_SpawnType_stInfestedColonist].lv_timer, gv_eggData[ge_SpawnType_stInfestedColonist].lv_spawnPeriod, false, c_timeGame);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2140
libCamp_gf_SendTransmissionCampaign(null, SoundLink("THanson03BAdjutant00013", 0), c_transmissionDurationAdd, 0.0, true);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
TimerStart(gv_aberrationWarningCooldown, 60.0, false, c_timeGame);
TriggerQueueExit();
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:1779
while (true) {
if ((gv_firstTrainSpawned == false)) {
TimerStart(gv_nextTrainTimer, (gv_trainWaveWait - 30.0), false, c_timeAI);
gv_firstTrainSpawned = true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:1784
else {
TimerWindowSetTitle(gv_nextTrainWindow, StringExternal("Param/Value/C34351EC"));
TimerStart(gv_nextTrainTimer, gv_trainWaveWait, false, c_timeAI);
}
libNtve_gf_WaitForTimer(gv_nextTrainTimer, 0.0, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1783
}
TimerStart(lv_timeout, 6.0, false, c_timeGame);
while (!(((TimerGetRemaining(lv_timeout) <= 0.0) || (UnitIsAlive(gv_tippedDetectorUnit) == false)))) {
Wait(0.25, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1218
TriggerEnable(TriggerGetCurrent(), false);
TimerPause(gv_distractionTimer, true);
TimerStart(gv_distractionTimer, 5.0, false, c_timeGame);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1240
UIAlertUnit("Trigger", gv_p01_USER, StringExternal("Param/Value/0930E285"), null, gv_odin);
if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {
TimerStart(gv_achievementHardTimer, 1200.0, false, c_timeAI);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1275
}
TimerStart(gv_distractionTimer, gv_distractionTime, false, c_timeGame);
gv_distractionTimer = TimerLastStarted();
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/E6304B93"), true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1281
gv_distractionTimerWindow = TimerWindowLastCreated();
TimerWindowSetColor(gv_distractionTimerWindow, c_timerWindowColorTime, Color(0.00, 100.00, 0.00), 0.0);
TimerStart(gv__90SecondWarning, (gv_distractionTime - 90.0), false, c_timeGame);
TimerStart(gv__30SecondWarning, (gv_distractionTime - 30.0), false, c_timeGame);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1282
TimerWindowSetColor(gv_distractionTimerWindow, c_timerWindowColorTime, Color(0.00, 100.00, 0.00), 0.0);
TimerStart(gv__90SecondWarning, (gv_distractionTime - 90.0), false, c_timeGame);
TimerStart(gv__30SecondWarning, (gv_distractionTime - 30.0), false, c_timeGame);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2617
TimerPause(gv__30SecondWarning, true);
TimerPause(gv__90SecondWarning, true);
TimerStart(gv_distractionTimer, 3.0, false, c_timeGame);
libNtve_gf_ShareVisionofUnit(gv_odin, true, gv_p01_USER);
UnitSetOwner(gv_odin, gv_p07_HORNERBASE, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:782
if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {
TimerStart(gv_achievementHardTimer, 600.0, false, c_timeAI);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1084
Wait(230.0, c_timeGame);
TimerStart(gv_dropPodExpansion1, 10.0, false, c_timeGame);
Wait(10.0, c_timeGame);
Wait(90.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1088
Wait(90.0, c_timeGame);
TriggerExecute(gt_SpineCrawlerIncursion1, true, false);
TimerStart(gv_dropPodExpansion1, 90.0, true, c_timeGame);
Wait(140.0, c_timeGame);
TimerStart(gv_dropPodExpansion2, 10.0, false, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1090
TimerStart(gv_dropPodExpansion1, 90.0, true, c_timeGame);
Wait(140.0, c_timeGame);
TimerStart(gv_dropPodExpansion2, 10.0, false, c_timeGame);
Wait(10.0, c_timeGame);
Wait(90.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1094
Wait(90.0, c_timeGame);
TriggerExecute(gt_SpineCrawlerIncursion2, true, false);
TimerStart(gv_dropPodExpansion2, 90.0, true, c_timeGame);
Wait(140.0, c_timeGame);
TimerStart(gv_dropPodExpansion3, 10.0, false, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1096
TimerStart(gv_dropPodExpansion2, 90.0, true, c_timeGame);
Wait(140.0, c_timeGame);
TimerStart(gv_dropPodExpansion3, 10.0, false, c_timeGame);
Wait(10.0, c_timeGame);
Wait(90.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1100
Wait(90.0, c_timeGame);
TriggerExecute(gt_SpineCrawlerIncursion3, true, false);
TimerStart(gv_dropPodExpansion3, 90.0, true, c_timeGame);
Wait(150.0, c_timeGame);
TimerStart(gv_dropPodExpansion4, 90.0, true, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1102
TimerStart(gv_dropPodExpansion3, 90.0, true, c_timeGame);
Wait(150.0, c_timeGame);
TimerStart(gv_dropPodExpansion4, 90.0, true, c_timeGame);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2439
}
TimerStart(gv_zergFirstAttackWaveTimer, libNtve_gf_DifficultyValueFixed(150.0, 70.0, 70.0, 70.0), false, c_timeGame);
TimerStart(gv_evacuationTimer, (gv_sURVIVETIME * 60.0), false, c_timeGame);
TimerStart(gv_tenMinuteWarning, ((gv_sURVIVETIME - 10.0) * 60.0), false, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2440
TimerStart(gv_zergFirstAttackWaveTimer, libNtve_gf_DifficultyValueFixed(150.0, 70.0, 70.0, 70.0), false, c_timeGame);
TimerStart(gv_evacuationTimer, (gv_sURVIVETIME * 60.0), false, c_timeGame);
TimerStart(gv_tenMinuteWarning, ((gv_sURVIVETIME - 10.0) * 60.0), false, c_timeGame);
TimerStart(gv_fiveMinuteWarning, ((gv_sURVIVETIME - 5.0) * 60.0), false, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2441
TimerStart(gv_zergFirstAttackWaveTimer, libNtve_gf_DifficultyValueFixed(150.0, 70.0, 70.0, 70.0), false, c_timeGame);
TimerStart(gv_evacuationTimer, (gv_sURVIVETIME * 60.0), false, c_timeGame);
TimerStart(gv_tenMinuteWarning, ((gv_sURVIVETIME - 10.0) * 60.0), false, c_timeGame);
TimerStart(gv_fiveMinuteWarning, ((gv_sURVIVETIME - 5.0) * 60.0), false, c_timeGame);
TimerStart(gv_twoMinuteWarning, ((gv_sURVIVETIME - 2.0) * 60.0), false, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:20971
}
TimerStart(gv_bGActors[lv_bGActorID].lv_timer, gv_bGActors[lv_bGActorID].lv_nodes[lv_currentNodeID].lv_stayDuration, false, c_timeReal);
auto465F1880_ae = gv_bGActors[lv_bGActorID].lv_nodes[lv_currentNodeID].lv_animCount;
auto465F1880_ai = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:20982
else if (auto202E6D4D_val == ge_BGAcotrNodeType_Disappear) {
gf_RemoveVisibleUnit(false, gf_GetBGActor(lv_bGActorID));
TimerStart(gv_bGActors[lv_bGActorID].lv_timer, gv_bGActors[lv_bGActorID].lv_nodes[lv_currentNodeID].lv_stayDuration, false, c_timeReal);
}
else if (auto202E6D4D_val == ge_BGAcotrNodeType_Appear) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:2029
}
TimerStart(gv_sCVLossTimer, 8.0, false, c_timeAI);
gv_sCVsLost = (gv_sCVsLost + 1);
if ((gv_sCVsLost >= 6)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:2714
}
TimerStart(gv_warning01Timer, (60.0 - 30.0), false, c_timeAI);
TimerStart(gv_warning02Timer, (60.0 - 10.0), false, c_timeAI);
TimerStart(gv_lavaTimer, 60.0, false, c_timeAI);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:2715
TimerStart(gv_warning01Timer, (60.0 - 30.0), false, c_timeAI);
TimerStart(gv_warning02Timer, (60.0 - 10.0), false, c_timeAI);
TimerStart(gv_lavaTimer, 60.0, false, c_timeAI);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:2716
TimerStart(gv_warning01Timer, (60.0 - 30.0), false, c_timeAI);
TimerStart(gv_warning02Timer, (60.0 - 10.0), false, c_timeAI);
TimerStart(gv_lavaTimer, 60.0, false, c_timeAI);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:2878
gv_lowGroundIsSafe = false;
TriggerEnable(gt_LavaDamage, true);
TimerStart(gv_lavaTimer, 15.0, false, c_timeAI);
Wait(2.0, c_timeGame);
TriggerEnable(gt_LavaTurnsOFF, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:2920
TriggerEnable(gt_LavaDamage, false);
TriggerExecute(gt_MakeCrittersReturn, true, false);
TimerStart(gv_warning01Timer, (gv_lavaInterval - 30.0), false, c_timeAI);
TimerStart(gv_warning02Timer, (gv_lavaInterval - 10.0), false, c_timeAI);
TimerStart(gv_lavaTimer, gv_lavaInterval, false, c_timeAI);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:2921
TriggerExecute(gt_MakeCrittersReturn, true, false);
TimerStart(gv_warning01Timer, (gv_lavaInterval - 30.0), false, c_timeAI);
TimerStart(gv_warning02Timer, (gv_lavaInterval - 10.0), false, c_timeAI);
TimerStart(gv_lavaTimer, gv_lavaInterval, false, c_timeAI);
if ((libNtve_gf_DifficultyValueInt(1, 1, 1, 0) == 1)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:2922
TimerStart(gv_warning01Timer, (gv_lavaInterval - 30.0), false, c_timeAI);
TimerStart(gv_warning02Timer, (gv_lavaInterval - 10.0), false, c_timeAI);
TimerStart(gv_lavaTimer, gv_lavaInterval, false, c_timeAI);
if ((libNtve_gf_DifficultyValueInt(1, 1, 1, 0) == 1)) {
TimerWindowShow(gv_lavaTimerWindow, PlayerGroupAll(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:995
libNtve_gf_ShareVisionofUnit(UnitFromId(34), true, gv_p1_USER);
TimerStart(gv_protossAggroTimer, 180.0, false, c_timeGame);
Wait(3.0, c_timeReal);
TriggerExecute(gt_PrimaryObjectiveCollectTerrazineCreateQ, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:1093
if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {
TimerStart(gv_achievementHardTimer, 1500.0, false, c_timeAI);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3216
}
TimerStart(gv_maraudersComeOnline, 60.0, false, c_timeAI);
AISetAPM(gv_p2_RAYNOR_LIGHTBLUE, 10000);
AIAttackWaveSetGatherPoint(gv_p2_RAYNOR_LIGHTBLUE, PointFromId(432));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:4164
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00));
SoundPlayAtPoint(SoundLink("UI_TipSelect", -1), PlayerGroupAll(), libNtve_gf_CenterOfUnitGroup(lv_initialMarineGroup), 0.0, 100.0, 0.0);
TimerStart(lv_indicatorTimeout, 10.0, false, c_timeAI);
while (true) {
Wait(1.0, c_timeAI);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:1880
UnitIssueOrder(gv_p1Nighthawk, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(110)), c_orderQueueReplace);
UnitIssueOrder(gv_p1Nighthawk, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
TimerStart(gv_p1NighthawkTimer, 6.5, false, c_timeGame);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1186
libNtve_gf_GlobalCinematicSetting(true);
if ((gv_startingSequenceStarted == false)) {
TimerStart(gv_timer_Opening, 15.0, false, c_timeGame);
TimerStart(gv_timer_Legs, 60.0, false, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1187
if ((gv_startingSequenceStarted == false)) {
TimerStart(gv_timer_Opening, 15.0, false, c_timeGame);
TimerStart(gv_timer_Legs, 60.0, false, c_timeGame);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:728
if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {
TimerStart(gv_achievementHardTimer, 900.0, false, c_timeAI);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1850
TriggerExecute(gt_ArtifactShieldActivation, true, true);
SoundPlay(SoundLink("StoneZealot_Birth", -1), PlayerGroupAll(), 100.0, 0.0);
TimerStart(gv_guardianTimer, c_timerDurationInfinite, false, c_timeGame);
autoDC337D76_g = UnitGroup("StoneZealot", c_playerAny, RegionFromId(64), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoDC337D76_u = UnitGroupCount(autoDC337D76_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2288
}
TimerStart(lv_expirationTimer, 10.0, false, c_timeGame);
TriggerQueueEnter();
if (((gv_gameOver == true) || (TimerGetRemaining(lv_expirationTimer) == 0.0))) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:3257
}
TimerStart(gv_zergSpeedBumpTimer, libNtve_gf_DifficultyValueFixed(2700.0, 1800.0, 1440.0, 1260.0), false, c_timeAI);
TimerStart(gv_zergSpeedBumpTimerShorter, (TimerGetRemaining(gv_zergSpeedBumpTimer) - 60.0), false, c_timeAI);
TriggerExecute(gt_ZergSpeedBumpController, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:3258
TimerStart(gv_zergSpeedBumpTimer, libNtve_gf_DifficultyValueFixed(2700.0, 1800.0, 1440.0, 1260.0), false, c_timeAI);
TimerStart(gv_zergSpeedBumpTimerShorter, (TimerGetRemaining(gv_zergSpeedBumpTimer) - 60.0), false, c_timeAI);
TriggerExecute(gt_ZergSpeedBumpController, true, false);
gf_ZergAttackProtossPrep();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:2288
}
TimerStart(gv_laserSoundDelayTimer, 3.0, false, c_timeGame);
gv_laserDrillTargetUnit = EventUnit();
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:829
Wait(3.7, c_timeGame);
while (true) {
TimerStart(lv_periodTimer, lv_period, false, c_timeGame);
auto442CA364_n = lv_qty1;
for (auto442CA364_i = 1; auto442CA364_i <= auto442CA364_n; auto442CA364_i += 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:1403
Wait(3.7, c_timeGame);
while (true) {
TimerStart(lv_recycleDelay, 25.0, false, c_timeGame);
auto077CE0D3_n = libNtve_gf_DifficultyValueInt(2, 2, 3, 3);
for (auto077CE0D3_i = 1; auto077CE0D3_i <= auto077CE0D3_n; auto077CE0D3_i += 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:2449
gv_kerrigansTarget = RegionFromId(53);
UnitIssueOrder(gv_uNIT_KERRIGAN, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(gv_kerrigansTarget)), c_orderQueueReplace);
TimerStart(gv_kerriganSearchTimer, gv_kerriganSearchTime, false, c_timeGame);
TriggerExecute(gt_KerriganRecalculateTimer, true, true);
TimerWindowCreate(gv_kerrigansETATIMER, StringExternal("Param/Value/6A412D92"), true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:2574
TriggerDebugOutput(1, StringExternal("Param/Value/FABC331F"), false);
gf_OrderKerrigantoBladestormArea(gv_kerrigansTarget);
TimerStart(gv_kerriganSearchTimer, gv_kerriganSearchTime, false, c_timeGame);
TriggerExecute(gt_KerriganPickNextTarget, true, false);
TriggerExecute(gt_KerriganRecalculateTimer, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:2612
UnitBehaviorRemove(gv_uNIT_KERRIGAN, "ProgressBar", 1);
gv_fLAGKerrigansearching = false;
TimerStart(gv_kerriganSearchTimer, gv_kerriganSearchTime, false, c_timeGame);
TriggerExecute(gt_KerriganPickNextTarget, true, false);
TriggerExecute(gt_KerriganRecalculateTimer, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:2734
lv_eTA = (lv_eTA - (gv_kerriganSearchTime - TimerGetRemaining(gv_kerriganSearchTimer)));
if ((lv_eTA > 0.0)) {
TimerStart(gv_kerrigansETATIMER, lv_eTA, false, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:759
TriggerExecute(gt_ResearchObjectiveProtossRelicsCreateQ, true, false);
Wait(8.0, c_timeGame);
TimerStart(gv_wall_of_Fire_Lighting, 300.0, false, c_timeGame);
TriggerExecute(gt_CreateWallofFire, true, false);
TriggerExecute(gt_WallofFireTipQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:937
libNtve_gf_AttachModelToUnit(UnitFromId(361), "BriefingUnitSelect", "Origin");
gv_photonActor[3] = libNtve_gf_ActorLastCreated();
TimerStart(gv_photonActortimeout, 120.0, false, c_timeGame);
TriggerExecute(gt_YamatoTeachingDialogueQ, true, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:983
UIAlertUnit("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/AD6487AA"), null, UnitFromId(159));
UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("Yamato", 0), true);
TimerStart(gv_yamatoButtonFlashtimeout, 30.0, false, c_timeGame);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
TriggerQueueExit();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:1135
}
TimerStart(gv_warpPrismTimer, 280.0, true, c_timeAI);
Wait(666.0, c_timeAI);
gv_fLAGCanIbemeannow = true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2453
if ((gv_vortexTarget != null)) {
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("TalDarimVortex", 0), UnitGetPosition(gv_vortexTarget)), c_orderQueueReplace);
TimerStart(gv_tIMERVortexCooldown, 40.0, false, c_timeGame);
TriggerExecute(gt_MothershipWarpInAttack, true, false);
TriggerExecute(gt_TIPVortexQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:5463
TriggerEnable(TriggerGetCurrent(), false);
TriggerEnable(gt_PrisonersShowCineSafety, false);
TimerStart(lv_tIMEOUT, c_timerDurationInfinite, false, c_timeGame);
while (!(((gf_PlayerIsInCombat(gv_pLAYER_01_USER) == false) || (TimerGetElapsed(lv_tIMEOUT) >= 30.0)))) {
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:5736
}
TimerStart(lv_tIMEOUT, c_timerDurationInfinite, false, c_timeGame);
while (!(((gf_PlayerIsInCombat(gv_pLAYER_01_USER) == false) || (TimerGetElapsed(lv_tIMEOUT) >= 15.0)))) {
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1554
TriggerEnable(TriggerGetCurrent(), false);
Wait(167.0, c_timeGame);
TimerStart(gv_dropPodTimer, c_timerDurationInfinite, false, c_timeGame);
gf_PrepareRescuableDrop(3, "Marauder");
gf_PrepareRescuableDrop(2, "Marine");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1562
gf_CreateRescuable(ge_RescuableRegion_A, 1, 0.0);
libNtve_gf_WaitForTimer(gv_dropPodTimer, 115.0, true);
TimerStart(gv_dropPodTimer, c_timerDurationInfinite, false, c_timeGame);
TriggerExecute(gt_RescueFactorySpawnQ, true, false);
TriggerExecute(gt_DialogueSendingCoordinatesToANearbyDroppodQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1567
gf_CreateRescuable(ge_RescuableRegion_B, 1, 0.0);
libNtve_gf_WaitForTimer(gv_dropPodTimer, 150.0, true);
TimerStart(gv_dropPodTimer, c_timerDurationInfinite, false, c_timeGame);
gf_PrepareRescuableDrop(2, "SiegeTank");
gf_PrepareRescuableDrop(4, "Marine");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1575
gf_CreateRescuable(ge_RescuableRegion_C, 1, 0.0);
libNtve_gf_WaitForTimer(gv_dropPodTimer, 120.0, true);
TimerStart(gv_dropPodTimer, c_timerDurationInfinite, false, c_timeGame);
TriggerExecute(gt_RescueStarportSpawnQ, true, false);
TriggerExecute(gt_DialogueSirAnotherDropPodHasArrivedNearYourPerimeterQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1579
TriggerExecute(gt_DialogueSirAnotherDropPodHasArrivedNearYourPerimeterQ, true, false);
libNtve_gf_WaitForTimer(gv_dropPodTimer, 150.0, true);
TimerStart(gv_dropPodTimer, c_timerDurationInfinite, false, c_timeGame);
gf_PrepareRescuableDrop(4, "Goliath");
gf_PrepareRescuableDrop(4, "Marine");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1587
gf_CreateRescuable(ge_RescuableRegion_B, 1, 0.0);
libNtve_gf_WaitForTimer(gv_dropPodTimer, 120.0, true);
TimerStart(gv_dropPodTimer, c_timerDurationInfinite, false, c_timeGame);
gf_PrepareRescuableDrop(3, "Banshee");
gf_PrepareRescuableDrop(3, "Hellion");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1600
gf_CreateRescuable(ge_RescuableRegion_B, 2, 0.0);
libNtve_gf_WaitForTimer(gv_dropPodTimer, 150.0, true);
TimerStart(gv_dropPodTimer, c_timerDurationInfinite, false, c_timeGame);
gf_PrepareRescuableDrop(8, "Marine");
gf_PrepareRescuableDrop(1, "Thor");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:3452
UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/FE28BBC0"), null, UnitGetPosition(gv__1BroodchamberNuke));
libNtve_gf_SendActorMessageToUnit(gv_tHEONERAYNOR, "RefSet ::global.RaynorCommando ::Self");
TimerStart(gv_holdoutTimer, 150.0, false, c_timeGame);
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/23FF264F"), true, false);
TimerWindowSetFormat(TimerWindowLastCreated(), StringToText("<mintotal/>:<sec2/>"));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:5359
UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/30A2B639"), null, UnitGetPosition(gv__2BroodchamberNuke));
libNtve_gf_SendActorMessageToUnit(gv_tHEONERAYNOR, "RefSet ::global.RaynorCommando ::Self");
TimerStart(gv_holdoutTimer, 150.0, false, c_timeGame);
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/8B3216F3"), true, false);
TimerWindowSetFormat(TimerWindowLastCreated(), StringToText("<mintotal/>:<sec2/>"));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:484
lv_mutaSpewSize = gv_cMutaSpewSizeFast;
if ((TimerGetRemaining(lv_cooldownTimer) > 0.0)) {
TimerStart(lv_cooldownTimer, MinF(TimerGetRemaining(lv_cooldownTimer), lv_mutaSpawnPeriod), false, c_timeAI);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:503
TriggerExecute(gt_PlatformInfestedLineQ, true, false);
UIAlertPoint("Trigger", gv_pLAYER_P01_USER, StringExternal("Param/Value/07DB1EB1"), null, UnitGetPosition(gv_firstMutaSpawner));
TimerStart(lv_cooldownTimer, lv_mutaSpawnPeriod, false, c_timeAI);
auto628E72CC_n = lv_mutaSpewSize;
for (auto628E72CC_i = 1; auto628E72CC_i <= auto628E72CC_n; auto628E72CC_i += 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1122
if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {
TimerStart(gv_achievementHardTimer, 1500.0, false, c_timeAI);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1167
UnitSetPropertyFixed(gv_leviathan, c_unitPropLifeMax, gv_leviathanMaxLife);
UnitSetPropertyFixed(gv_leviathan, c_unitPropEnergyMax, gv_leviathanMaxEnergy);
TimerStart(gv_leviathanDeathWindow, 120.0, false, c_timeGame);
UnitSetPropertyFixed(gv_leviathan, c_unitPropLifePercent, 100.0);
UnitSetPropertyFixed(gv_leviathan, c_unitPropEnergyPercent, 100.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1512
TriggerExecute(gt_PlatformLinesBRAQ, true, false);
TimerStart(gv_platformBlowsTimerArea01, 45.0, false, c_timeGame);
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/4C8584A2"), true, false);
TimerWindowSetFormat(TimerWindowLastCreated(), StringToText("<min2/>:<sec2/>"));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1580
TriggerExecute(gt_PlatformLinesBLAQ, true, false);
TimerStart(gv_platformBlowsTimerArea02, 45.0, false, c_timeGame);
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/6A242E34"), true, false);
TimerWindowSetFormat(TimerWindowLastCreated(), StringToText("<min2/>:<sec2/>"));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1648
TriggerExecute(gt_PlatformLinesTLAQ, true, false);
TimerStart(gv_platformBlowsTimerArea03, 45.0, false, c_timeGame);
TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/2F9B939E"), true, false);
TimerWindowSetFormat(TimerWindowLastCreated(), StringToText("<min2/>:<sec2/>"));