# Wait
Grammar — Wait t timeType|Real/Game/AI Time seconds
Flags —Native
|Action
Pauses a trigger for a specified amount of time. Real time is normal time. Game time can pass faster or slower depending on the game speed. AI time passes at the same rate as game time, but can be paused or unpaused while real time and game time are still running. It is useful to pause the AI time while a player is watching a cinematic, so timed attack waves will wait until the player is finished with the cinematic before resuming their countdowns.
# Arguments
fixed
— Timeint
<preset::TimeType> — Time Type
Returns — void
native void Wait(fixed inSecs, int inTimeType);
# Related
Category: General / Waits
- Wait —
void
— Wait - Wait For Condition — macro
- Wait For Condition With Maximum Duration — macro
- Wait For Timer —
void
— libNtve_gf_WaitForTimer - Critical Section — macro
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:599
gf_UpdateUI();
gf_ShowHideUI(true);
Wait(0.5, c_timeGame);
TriggerExecute(gt_SpawnViking, true, false);
gf_FadeInOutWithPicture(true, 2.0, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:637
UnitKill(lv_pickedUnit);
}
Wait(2.0, c_timeGame);
gf_FighterEnableDisableControl(false);
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(gv_viking), c_animNameDefault);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:655
}
}
Wait(2.0, c_timeGame);
SoundPlay(SoundLink("LostViking_Thrust", 0), PlayerGroupAll(), 100.0, 0.0);
lv_pos = UnitGetPosition(gv_viking);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:662
lv_index = 1;
for ( ; ( (auto9DCA9D7B_ai >= 0 && lv_index <= auto9DCA9D7B_ae) || (auto9DCA9D7B_ai <= 0 && lv_index >= auto9DCA9D7B_ae) ) ; lv_index += auto9DCA9D7B_ai ) {
Wait(0.0125, c_timeGame);
UnitSetPosition(gv_viking, PointWithOffsetPolar(lv_pos, (0.8 * IntToFixed(lv_index)), 90.0), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:746
GameCheatAllow(c_gameCheatVictory, true);
gf_DestoryLevelStartLabel(false);
Wait(2.0, c_timeGame);
if ((gv_gameResult != 0) && (gv_gameResult != 4)) {
return ;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:789
TriggerExecute(gt_SpawnLevel1BossCarrier, true, false);
while (!((gv_levelCleared == true))) {
Wait(0.25, c_timeGame);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:823
auto69EEA383_n = 4;
for (auto69EEA383_i = 1; auto69EEA383_i <= auto69EEA383_n; auto69EEA383_i += 1) {
Wait(0.5, c_timeGame);
if ((gv_level1InterceptorCurrentIndex <= 0)) {
break;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:848
lv_targetLoc = gf_ConvertShooterCoordToMapCoord(lv_targetLoc);
UnitIssueOrder(gv_boss, OrderTargetingPoint(AbilityCommand("move", 0), lv_targetLoc), c_orderQueueReplace);
Wait(0.5, c_timeGame);
while (!((UnitTestState(gv_boss, c_unitStateIdle) == true))) {
Wait(0.5, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:850
Wait(0.5, c_timeGame);
while (!((UnitTestState(gv_boss, c_unitStateIdle) == true))) {
Wait(0.5, c_timeGame);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:870
GameSetLighting(gv_levelLight, 0.0);
gf_LevelStart(2);
Wait(7.0, c_timeGame);
gf_DestoryLevelStartLabel(false);
if ((gv_gameResult != 0) && (gv_gameResult != 4)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:313
gv_vehicleCount += 1;
gv_tHEONETRUCK = UnitLastCreated();
Wait(14.0, c_timeGame);
libNtve_gf_SendActorMessageToUnit(gv_tHEONETRUCK, "AnimBracketStart Work Stand,Work,Start Stand,Work Stand,Work,End");
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:365
// Implementation
while (!((UnitGroupCount(UnitGroupFilterRegion(gv_colonistsOnTheMove, lp_region, 0), c_unitCountAlive) > 0))) {
Wait(0.1, c_timeGame);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:920
}
Wait(6.0, c_timeGame);
libNtve_gf_SetAlliance(gv_p4_COLONISTS, gv_p1_USER, libNtve_ge_AllianceSetting_AllyWithSharedVision);
PlayerSetAlliance(gv_p1_USER, c_allianceIdPushable, gv_p4_COLONISTS, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:927
libNtve_gf_ShareVisionofUnit(UnitFromId(2441), true, gv_p1_USER);
TriggerExecute(gt_MainObjectiveReachHansonDiscoverQ, true, false);
Wait(9.0, c_timeGame);
TriggerExecute(gt_SwanntalksaboutFirebatQ, true, false);
Wait(7.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:929
Wait(9.0, c_timeGame);
TriggerExecute(gt_SwanntalksaboutFirebatQ, true, false);
Wait(7.0, c_timeGame);
TriggerExecute(gt_Zerg1, true, false);
TriggerExecute(gt_Zerg3, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:968
libCamp_gf_SendTransmissionCampaign(null, SoundLink("THanson01Swann00046", -1), c_transmissionDurationAdd, 1.0, true);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
Wait(2.0, c_timeReal);
libCamp_gf_CreateTipFromConversationState("StoryTips|Hanson01_Firebats", libNtve_ge_TipType_NewUnit, PlayerGroupAll());
Wait(libCamp_gv_campaignHintDelay, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:970
Wait(2.0, c_timeReal);
libCamp_gf_CreateTipFromConversationState("StoryTips|Hanson01_Firebats", libNtve_ge_TipType_NewUnit, PlayerGroupAll());
Wait(libCamp_gv_campaignHintDelay, c_timeReal);
TriggerQueueExit();
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1020
UnitSetState(UnitFromId(290), c_unitStateTargetable, false);
while (!(((UnitGroupCount(UnitCargoGroup(UnitFromId(290)), c_unitCountAlive) == 0) || (UnitIsAlive(UnitFromId(290)) == false)))) {
Wait(1.0, c_timeGame);
}
Wait(0.1, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1022
Wait(1.0, c_timeGame);
}
Wait(0.1, c_timeGame);
UnitIssueOrder(UnitFromId(290), OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(31))), c_orderQueueReplace);
TriggerEnable(gt_FirebatMove, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1055
if ((UnitGetType(EventUnitCargo()) == "Firebat")) {
Wait(0.2, c_timeGame);
auto256F7B23_val = gv_firebatMove;
if (auto256F7B23_val == 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:762
TriggerExecute(gt_StartAI, true, false);
TriggerExecute(gt_MapInitialInfestation, true, false);
Wait(0.2, c_timeReal);
libNtve_gf_CinematicMode(false, PlayerGroupAll(), 1.5);
libNtve_gf_GlobalCinematicSetting(false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:810
TriggerEnable(gt_InfestedAreasClear, true);
TriggerEnable(gt_InfestationFirstSight, true);
Wait(3.0, c_timeReal);
TriggerExecute(gt_ObjectiveCleansetheInfestationCreateQ, true, true);
Wait(5.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:812
Wait(3.0, c_timeReal);
TriggerExecute(gt_ObjectiveCleansetheInfestationCreateQ, true, true);
Wait(5.0, c_timeGame);
TriggerExecute(gt_SensorTowerTipQ, true, false);
Wait(15.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:814
Wait(5.0, c_timeGame);
TriggerExecute(gt_SensorTowerTipQ, true, false);
Wait(15.0, c_timeGame);
TriggerExecute(gt_TransmissionBunkerUpQ, true, false);
Wait(30.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:816
Wait(15.0, c_timeGame);
TriggerExecute(gt_TransmissionBunkerUpQ, true, false);
Wait(30.0, c_timeGame);
TriggerExecute(gt_CampaigntipsQ, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:900
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_attackersRight);
UnitGroupIssueOrder(lv_attackersRight, Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
Wait(3.0, c_timeGame);
lv_i = 1;
for ( ; ( (auto31AF6971_ai >= 0 && lv_i <= auto31AF6971_ae) || (auto31AF6971_ai < 0 && lv_i >= auto31AF6971_ae) ) ; lv_i += auto31AF6971_ai ) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:905
UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
Wait(RandomFixed(0.5, 1.0), c_timeGame);
UnitIssueOrder(UnitGroupUnit(lv_attackersRight, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
UnitIssueOrder(UnitGroupUnit(lv_attackersRight, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:908
UnitIssueOrder(UnitGroupUnit(lv_attackersRight, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
UnitIssueOrder(UnitGroupUnit(lv_attackersRight, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
Wait(RandomFixed(0.5, 1.0), c_timeGame);
}
while (!((UnitGroupCount(lv_attackersLeft, c_unitCountAlive) == UnitGroupCount(UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionCircle(PointFromId(228), 10.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)) && (UnitGroupCount(lv_attackersRight, c_unitCountAlive) == UnitGroupCount(UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionCircle(PointFromId(317), 10.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)))) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:911
}
while (!((UnitGroupCount(lv_attackersLeft, c_unitCountAlive) == UnitGroupCount(UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionCircle(PointFromId(228), 10.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)) && (UnitGroupCount(lv_attackersRight, c_unitCountAlive) == UnitGroupCount(UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionCircle(PointFromId(317), 10.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)))) {
Wait(0.1, c_timeGame);
}
while (true) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:914
}
while (true) {
Wait(RandomFixed(0.5, 2.0), c_timeGame);
if ((UnitGroupCount(lv_attackersLeft, c_unitCountAlive) == 0)) {
break;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:306
if ((UnitGroupCount(lp_fLEET, c_unitCountAlive) > 0) && (UnitGroupCount(UnitGroupFilterRegion(lp_fLEET, lp_tARGET, 0), c_unitCountAlive) != lv_fleetSize)) {
UnitGroupIssueOrder(lp_fLEET, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(lp_tARGET)), c_orderQueueAddToEnd);
Wait(30.0, c_timeGame);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:333
UnitIssueOrder(gv_superWarpGateP04, OrderTargetingPoint(lp_trainCmd, PointWithOffsetPolar(UnitGetPosition(gv_purifier), lp_radius, lv_currentDegree)), c_orderQueueAddToEnd);
lv_currentDegree = (lv_currentDegree + lv_unitInterval);
Wait(0.5, c_timeGame);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:392
}
Wait(0.5, c_timeAI);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:941
libNtve_gf_GlobalCinematicSetting(true);
TriggerExecute(gt_StartAI, true, false);
Wait(0.1, c_timeReal);
libNtve_gf_CinematicMode(false, PlayerGroupAll(), 1.5);
libNtve_gf_GlobalCinematicSetting(false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:967
gv_gameOn = true;
TriggerExecute(gt_ColonistsWander, true, false);
Wait(4.0, c_timeGame);
TriggerExecute(gt_ObjectiveDestroyNexusCreateQ, true, true);
TriggerExecute(gt_TransmissionProtossNexusQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:970
TriggerExecute(gt_ObjectiveDestroyNexusCreateQ, true, true);
TriggerExecute(gt_TransmissionProtossNexusQ, true, false);
Wait(1.0, c_timeGame);
TriggerExecute(gt_CreateNexusPings, true, false);
TriggerExecute(gt_ObjectiveDestroyFirstFleetCreateHidden, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:975
TriggerExecute(gt_ObjectiveDestroySecondFleetCreateHidden, true, false);
TriggerExecute(gt_ObjectiveDestroyThirdFleetCreateHidden, true, false);
Wait(10.0, c_timeGame);
TriggerExecute(gt_NewUnitVikingTipQ, true, false);
Wait(10.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:977
Wait(10.0, c_timeGame);
TriggerExecute(gt_NewUnitVikingTipQ, true, false);
Wait(10.0, c_timeGame);
TriggerExecute(gt_TransmissionHelpColonistsQ, true, false);
Wait(10.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:979
Wait(10.0, c_timeGame);
TriggerExecute(gt_TransmissionHelpColonistsQ, true, false);
Wait(10.0, c_timeGame);
TriggerExecute(gt_CampaignTipsQ, true, false);
Wait(60.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:981
Wait(10.0, c_timeGame);
TriggerExecute(gt_CampaignTipsQ, true, false);
Wait(60.0, c_timeGame);
TriggerExecute(gt_PURIFIERIntro, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:468
if (((lp_time - lv_timeReduction) > 0.0)) {
Wait((lp_time - lv_timeReduction), c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:573
}
Wait(1.0, c_timeGame);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:643
}
Wait(1.0, c_timeGame);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:664
}
Wait(0.2, c_timeGame);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:684
}
Wait(0.2, c_timeGame);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1257
TriggerExecute(gt_InitialInfestation, true, false);
TriggerExecute(gt_InfestColoniesForever, true, false);
Wait(1.0, c_timeGame);
TriggerExecute(gt_ObjectiveDestroyInfestationCreateQ, true, true);
Wait(2.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1259
Wait(1.0, c_timeGame);
TriggerExecute(gt_ObjectiveDestroyInfestationCreateQ, true, true);
Wait(2.0, c_timeGame);
TriggerExecute(gt_InitWarningPings, true, false);
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1261
Wait(2.0, c_timeGame);
TriggerExecute(gt_InitWarningPings, true, false);
Wait(1.0, c_timeGame);
TriggerExecute(gt_TransmissionMissionStartQ, true, true);
TriggerExecute(gt_NewUnitVikingTipQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1264
TriggerExecute(gt_TransmissionMissionStartQ, true, true);
TriggerExecute(gt_NewUnitVikingTipQ, true, false);
Wait(3.0, c_timeGame);
TriggerExecute(gt_VirophageTipQ, true, false);
Wait(3.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1266
Wait(3.0, c_timeGame);
TriggerExecute(gt_VirophageTipQ, true, false);
Wait(3.0, c_timeGame);
CreepSetSpeed(c_creepSpeedGrowth, 100.0);
TriggerQueueEnter();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:437
PingSetTooltip(PingLastCreated(), StringExternal("Param/Value/EC45B863"));
while (!(((UnitIsAlive(lp_diamondback) == false) || (UnitGetOwner(lp_diamondback) != gv_pLAYER_05_ABANDONEDVEHICLES)))) {
Wait(1.0, c_timeGame);
}
VisRevealerDestroy(VisRevealerLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:464
libNtve_gf_TurnAllAnimationPropertiesOff(libNtve_gf_MainActorofUnit(lp_diamondback));
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lp_diamondback), c_animNameDefault, "Stand Morph End", 0, c_animTimeDefault);
Wait(1.5, c_timeGame);
UIAlertUnit("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/8DAA5783"), null, lp_diamondback);
libNtve_gf_RescueUnit(lp_diamondback, gv_pLAYER_01_USER, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:476
if ((gv_diamondbacksFound == gv_totalDiamondbacks)) {
TriggerExecute(gt_ObjectiveLocateComplete, true, false);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
TriggerExecute(gt_DiamondbacksRescuedQ, true, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:975
TriggerExecute(gt_StartAI, true, false);
VisRevealArea(gv_pLAYER_01_USER, RegionFromId(78), 0.1, false);
Wait(0.1, c_timeGame);
UnitSelect(UnitFromId(311), gv_pLAYER_01_USER, true);
UIAlertUnit("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/8B16EC05"), null, UnitFromId(311));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:1003
TriggerExecute(gt_DiamondbackRescue, true, false);
TriggerExecute(gt_DiamondbackTipQ, true, false);
Wait(3.0, c_timeReal);
TriggerExecute(gt_ObjectiveTheGreatTrainRobberyCreateQ, true, true);
Wait(2.0, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:1005
Wait(3.0, c_timeReal);
TriggerExecute(gt_ObjectiveTheGreatTrainRobberyCreateQ, true, true);
Wait(2.0, c_timeReal);
TriggerExecute(gt_TrainWaveController, true, false);
TriggerExecute(gt_TrainTimerWindow, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:1009
TriggerExecute(gt_TrainTimerWindow, true, false);
TriggerExecute(gt_TrainBossBar, true, false);
Wait(2.0, c_timeReal);
TriggerExecute(gt_CampaignTipsQ, true, false);
Wait(6.0, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:1011
Wait(2.0, c_timeReal);
TriggerExecute(gt_CampaignTipsQ, true, false);
Wait(6.0, c_timeReal);
TriggerExecute(gt_ObjectiveLocateDiscover, true, true);
TriggerExecute(gt_DiamondbacksQ, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:1014
TriggerExecute(gt_ObjectiveLocateDiscover, true, true);
TriggerExecute(gt_DiamondbacksQ, true, true);
Wait(5.0, c_timeGame);
TriggerExecute(gt_ObjectiveDefilerSkeletonsCreate, true, true);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:1879
}
Wait(3.0, c_timeGame);
while (true) {
lv_currentCar += 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:334
// Implementation
Wait(0.2, c_timeGame);
if ((UnitGroupCount(UnitGroup(lp_salvageType, gv_p05_SCRAP, lp_salvageRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(lp_salvageRegion));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:341
lv_actorRegion = libNtve_gf_ActorLastCreated();
ActorRegionSend(lv_actorRegion, c_actorIntersectAgainstRadiusContact, "Signal Down", "Doodad", "ScopeContains PortZionScrapElevatorLeft");
Wait(1.75, c_timeGame);
libNtve_gf_CreateUnitsWithDefaultFacing(1, lp_salvageType, c_unitCreateIgnorePlacement, gv_p05_SCRAP, RegionGetCenter(lp_salvageRegion));
UnitSetInfoText(UnitLastCreated(), StringExternal("Param/Value/332D48ED"), StringToText(""), StringToText(""));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:345
UnitSetInfoText(UnitLastCreated(), StringExternal("Param/Value/332D48ED"), StringToText(""), StringToText(""));
ActorRegionSend(lv_actorRegion, c_actorIntersectAgainstRadiusContact, "Signal Up", "Doodad", "ScopeContains PortZionScrapElevatorLeft");
Wait(1.75, c_timeGame);
UnitRemove(lv_elevatorBlocker);
ActorSend(lv_actorRegion, "Destroy");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:359
UnitMagazineArm(gv_ghostNukeSilo, AbilityCommand("ArmSiloWithNuke", 0), 1);
UnitIssueOrder(lp_nuker, Order(AbilityCommand("GhostCloak", 0)), c_orderQueueReplace);
Wait(5.0, c_timeGame);
VisRevealArea(gv_p04_DOMINION, RegionCircle(lp_nukeTarget, 5.0), 20.0, false);
UnitIssueOrder(lp_nuker, OrderTargetingPoint(AbilityCommand("TacNukeStrike", 0), lp_nukeTarget), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:899
libNtve_gf_GlobalCinematicSetting(true);
TriggerExecute(gt_StartAI, true, false);
Wait(0.1, c_timeReal);
TriggerExecute(gt_IntroLanding, true, false);
libNtve_gf_CinematicMode(false, PlayerGroupAll(), 1.5);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:941
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "THorner02MusicIntro", c_soundtrackCueAny, c_soundtrackIndexAny, false);
TriggerExecute(gt_JunkersStart, true, false);
Wait(2.0, c_timeReal);
TriggerExecute(gt_ObjectiveBuyContractCreateQ, true, true);
TriggerExecute(gt_TransmissionRaynorIntroQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:944
TriggerExecute(gt_ObjectiveBuyContractCreateQ, true, true);
TriggerExecute(gt_TransmissionRaynorIntroQ, true, false);
Wait(6.0, c_timeReal);
TriggerExecute(gt_CreateOrlanCommandCenterPings, true, false);
Wait(4.0, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:946
Wait(6.0, c_timeReal);
TriggerExecute(gt_CreateOrlanCommandCenterPings, true, false);
Wait(4.0, c_timeReal);
TriggerEnable(gt_DefeatBaseDead, true);
TriggerExecute(gt_MercenaryContractTipQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:949
TriggerEnable(gt_DefeatBaseDead, true);
TriggerExecute(gt_MercenaryContractTipQ, true, false);
Wait(5.0, c_timeGame);
TriggerExecute(gt_StopOrlanTipQ, true, false);
Wait(5.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:951
Wait(5.0, c_timeGame);
TriggerExecute(gt_StopOrlanTipQ, true, false);
Wait(5.0, c_timeGame);
TriggerExecute(gt_TransmissionHornerTalksAboutPlanetQ, true, true);
TriggerExecute(gt_ObjectiveFindContrabandCreateQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:785
}
Wait(2.0, c_timeReal);
TriggerExecute(gt_ObjectiveStealtheOdinCreateQ, true, true);
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:787
Wait(2.0, c_timeReal);
TriggerExecute(gt_ObjectiveStealtheOdinCreateQ, true, true);
Wait(1.0, c_timeGame);
if ((gv_initialOrderGiven == false)) {
UnitIssueOrder(UnitFromId(4), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(155)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:793
}
Wait(1.0, c_timeReal);
TriggerExecute(gt_ObjectiveDestroytheLokiCreateHidden, true, false);
Wait(1.0, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:795
Wait(1.0, c_timeReal);
TriggerExecute(gt_ObjectiveDestroytheLokiCreateHidden, true, false);
Wait(1.0, c_timeReal);
TriggerExecute(gt_ObjectiveDevourerSamplesCreateQ, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:852
UnitIssueOrder(auto550403AC_var, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
}
Wait(2.0, c_timeGame);
UnitIssueOrder(UnitFromId(138), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(5), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:855
UnitIssueOrder(UnitFromId(138), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(5), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
Wait(3.0, c_timeGame);
UnitIssueOrder(UnitFromId(291), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(674), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1103
TriggerQueuePause(true);
TriggerQueueClear(c_triggerQueueRemove);
Wait(2.0, c_timeReal);
libCamp_gf_DisplayCampaignMessage(PlayerGroupAll(), libCamp_ge_CampaignMessageType_MissionFailed, StringExternal("Param/Value/22D9DD50"), libCamp_ge_CampaignMessageFormatNotFormat_FormatMessage);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1105
Wait(2.0, c_timeReal);
libCamp_gf_DisplayCampaignMessage(PlayerGroupAll(), libCamp_ge_CampaignMessageType_MissionFailed, StringExternal("Param/Value/22D9DD50"), libCamp_ge_CampaignMessageFormatNotFormat_FormatMessage);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
TriggerExecute(gt_Defeat, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1141
TriggerQueuePause(true);
TriggerQueueClear(c_triggerQueueRemove);
Wait(2.0, c_timeReal);
libCamp_gf_DisplayCampaignMessage(PlayerGroupAll(), libCamp_ge_CampaignMessageType_MissionFailed, StringExternal("Param/Value/A96CEBFB"), libCamp_ge_CampaignMessageFormatNotFormat_FormatMessage);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1143
Wait(2.0, c_timeReal);
libCamp_gf_DisplayCampaignMessage(PlayerGroupAll(), libCamp_ge_CampaignMessageType_MissionFailed, StringExternal("Param/Value/A96CEBFB"), libCamp_ge_CampaignMessageFormatNotFormat_FormatMessage);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
TriggerExecute(gt_Defeat, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:443
UnitGroupClear(gv_killTeamMedivacs);
while (!((gf_TransportsAreDeadOrEmpty(lv_medivacs) == true))) {
Wait(0.2, c_timeGame);
}
UnitGroupIssueOrder(lv_attackers, OrderTargetingPoint(AbilityCommand("attack", 0), lp_targetPoint), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:500
BoardItemSetText(gv_uploadBoard, 2, lp_index, (lv_text1 + lv_text2 + lv_text3));
Wait((gv_uploadTime / 100.0), c_timeGame);
lv_realCurrent = (lv_realCurrent + lv_realInterval);
lv_text2 = FixedToText(lv_realCurrent, 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:570
// Implementation
while (!((gv_playerHasPermission[lp_player] == true))) {
Wait(0.05, c_timeAI);
}
gv_playerHasPermission[lp_player] = false;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:648
auto4852D119_val = lv_attackerCount;
if (auto4852D119_val == 3) {
Wait(libNtve_gf_DifficultyValueFixed(180.0, 180.0, 180.0, 150.0), c_timeAI);
}
else if (auto4852D119_val == 2) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:651
}
else if (auto4852D119_val == 2) {
Wait(libNtve_gf_DifficultyValueFixed(210.0, 210.0, 165.0, 135.0), c_timeAI);
}
else if (auto4852D119_val == 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:654
}
else if (auto4852D119_val == 1) {
Wait(libNtve_gf_DifficultyValueFixed(240.0, 240.0, 150.0, 120.0), c_timeAI);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:657
}
else {
Wait(3600.0, c_timeAI);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1247
GamePauseAllCooldowns(true);
TriggerExecute(gt_SCVBuildsSupplyDepot, true, false);
Wait(2.0, c_timeGame);
TriggerExecute(gt_ObjectiveDestroyCreateQ, true, false);
Wait(2.0, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1249
Wait(2.0, c_timeGame);
TriggerExecute(gt_ObjectiveDestroyCreateQ, true, false);
Wait(2.0, c_timeReal);
if ((gv_sneakAttackBegun == false)) {
UIDisplayMessage(PlayerGroupAll(), c_messageAreaDirective, StringExternal("Param/Value/A5099609"));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1254
}
Wait(2.0, c_timeReal);
TriggerExecute(gt_NewUnitOdinTipQ, true, false);
TriggerExecute(gt_NewAbilityBarrageTipQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1168
}
Wait(4.0, c_timeReal);
TriggerExecute(gt_ObjectiveInvestigateCreate, true, false);
TriggerExecute(gt_ObjectiveRaynorCreateQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1461
UnitAddChargeUsed(gv_raynor, "RaynorTossGrenade", -2.0);
}
Wait(1.0, c_timeGame);
SoundStop(SoundLastPlayed(), true);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1537
UnitAddChargeUsed(gv_raynor, "RaynorPlasmaGun", -2.0);
}
Wait(1.0, c_timeGame);
SoundStop(SoundLastPlayed(), true);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1613
UnitAddChargeUsed(gv_raynor, "RaynorTimeBomb", -1.0);
}
Wait(1.0, c_timeGame);
SoundStop(SoundLastPlayed(), true);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1911
VisRevealerDestroy(gv_revealerC4FrontDoor);
CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.5, 1.0, 100.0, 1.0);
Wait(2.0, c_timeGame);
SoundPlayAtPoint(SoundLink("UI_TerranKlaxonAlert", 0), PlayerGroupAll(), PointFromId(176), 0.0, 100.0, 0.0);
Wait(2.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1913
Wait(2.0, c_timeGame);
SoundPlayAtPoint(SoundLink("UI_TerranKlaxonAlert", 0), PlayerGroupAll(), PointFromId(176), 0.0, 100.0, 0.0);
Wait(2.0, c_timeGame);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2101
TriggerEnable(TriggerGetCurrent(), false);
CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.5, 1.0, 100.0, 1.0);
Wait(1.0, c_timeGame);
autoB3679912_g = UnitGroup(null, gv_p10_SCIENTISTS, RegionFromId(45), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoB3679912_u = UnitGroupCount(autoB3679912_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2141
TriggerEnable(TriggerGetCurrent(), false);
CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.5, 1.0, 100.0, 1.0);
Wait(1.0, c_timeGame);
auto1E8BF10F_g = UnitGroup(null, gv_p10_SCIENTISTS, RegionFromId(65), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto1E8BF10F_u = UnitGroupCount(auto1E8BF10F_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2188
UnitKill(auto576738E4_var);
}
Wait(2.0, c_timeGame);
TriggerExecute(gt_AutoSaveBeforeLab03Brutalisk, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2328
TriggerEnable(TriggerGetCurrent(), false);
Wait(1.0, c_timeGame);
UnitIssueOrder(UnitFromId(202), Order(AbilityCommand("DestructibleGateDiagonalBLUR", 0)), c_orderQueueReplace);
UnitSetState(UnitFromId(202), c_unitStateSelectable, true);