# Mission Time

Grammar — Mission Time
FlagsNative | Function

Returns the elapsed Mission Time in seconds

Returns — fixed

native fixed GameGetMissionTime();

Category: Game / Game Settings

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:4013


    gv_holoboardsDestroyed += 1;
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 181.0) && (gv_holoboardsDestroyed >= 6)) {
        AchievementAward(gv_p1_USER, "Anniversary_TRaynor01");
        TriggerDebugOutput(1, StringExternal("Param/Value/53FE3F9F"), false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:3549

    }

    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 841.0)) {
        AchievementAward(gv_p1_USER, "Anniversary_TTosh02");
        TriggerDebugOutput(1, StringExternal("Param/Value/5146E82B"), false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:4096


    gv_overmindTendrilsVisited += 1;
    if ((gv_overmindTendrilsVisited == 2) && (libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 241.0)) {
        TriggerQueueEnter();
        AchievementAward(gv_p01_USER, "Anniversary_TZeratul03");

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:4013


    gv_holoboardsDestroyed += 1;
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 181.0) && (gv_holoboardsDestroyed >= 6)) {
        AchievementAward(gv_p1_USER, "Anniversary_TRaynor01");
        TriggerDebugOutput(1, StringExternal("Param/Value/53FE3F9F"), false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh02.sc2mapMapScript.galaxy:3549

    }

    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 841.0)) {
        AchievementAward(gv_p1_USER, "Anniversary_TTosh02");
        TriggerDebugOutput(1, StringExternal("Param/Value/5146E82B"), false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:4096


    gv_overmindTendrilsVisited += 1;
    if ((gv_overmindTendrilsVisited == 2) && (libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 241.0)) {
        TriggerQueueEnter();
        AchievementAward(gv_p01_USER, "Anniversary_TZeratul03");

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:1315

    }

    if ((gv_baseDefenseMessage == false) && (GameGetMissionTime() > 600.0) && (UnitGetOwner(EventUnit()) == gv_pLAYER_02_ZERG) && (libNtve_gf_UnitInRegion(EventUnit(), RegionCircle(PointFromId(807), 16.0)) == true) && (UnitGroupCount(UnitGroup(null, gv_pLAYER_02_ZERG, RegionCircle(PointFromId(807), 32.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) == 0) && (libNtve_gf_UnitInRegion(gv_kerrigan, RegionCircle(PointFromId(807), 24.0)) == false)) {
        gv_baseDefenseMessage = true;
        TriggerQueueEnter();

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:2025


    while (true) {
        while (((UnitIsAlive(gv_tHE_ONE_GORGON) == true) || ((GameGetMissionTime() < (300 + gv_launchTimeIncrement)) && (gf_ScourgeNestAvailableToShoot() == 0)))) {
            Wait(1.0, c_timeAI);
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:5092

    }

    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 841.0)) {
        libSwaC_gf_CampaignAwardAchievement("Anniversary_ZChar03", gv_pLAYER_01_USER);
        TriggerDebugOutput(1, StringExternal("Param/Value/B8F89E53"), false);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:6438

    }

    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 541.0)) {
        libSwaC_gf_CampaignAwardAchievement("Anniversary_ZExpedition01", gv_pLAYER_01_USER);
        TriggerDebugOutput(1, StringExternal("Param/Value/7A9CC845"), false);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:4664


    gv_dockingBaysDestroyed += 1;
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 661.0)) {
        libSwaC_gf_CampaignAwardAchievement("Anniversary_ZExpedition02", gv_pLAYER_01_USER);
        TriggerDebugOutput(1, StringExternal("Param/Value/4823D88D"), false);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:7486

    }

    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 781.0)) {
        libSwaC_gf_CampaignAwardAchievement("Anniversary_ZExpedition03", gv_pLAYER_01_USER);
        TriggerDebugOutput(1, StringExternal("Param/Value/3E937DF7"), false);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1032

    lv_lastAttacker = AILastAttacker(lp_hybrid);
    if ((gv_aIHybridAttacker[lv_indexHybrid] != null) && (UnitIsAlive(gv_aIHybridAttacker[lv_indexHybrid]) == true)) {
        if ((lv_lastAttacker != null) && (UnitIsAlive(lv_lastAttacker) == true) && ((FixedToInt(GameGetMissionTime()) - AILastAttack(lp_hybrid)) < 5)) {
            if ((((gv_aIHybridAttacker[lv_indexHybrid] != lv_lastAttacker) && (UnitCanAttackTarget(lv_lastAttacker, lp_hybrid) == true) && (UnitCanAttackTarget(gv_aIHybridAttacker[lv_indexHybrid], lp_hybrid) == false)) || ((DistanceBetweenPoints(UnitGetPosition(lp_hybrid), UnitGetPosition(gv_aIHybridAttacker[lv_indexHybrid])) > 4.3) && (DistanceBetweenPoints(UnitGetPosition(lp_hybrid), UnitGetPosition(gv_aIHybridAttacker[lv_indexHybrid])) > DistanceBetweenPoints(UnitGetPosition(lp_hybrid), UnitGetPosition(lv_lastAttacker)))))) {
                gv_aIHybridAttacker[lv_indexHybrid] = lv_lastAttacker;

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1041

    }
    else {
        if ((lv_lastAttacker != null) && (UnitIsAlive(lv_lastAttacker) == true) && ((FixedToInt(GameGetMissionTime()) - AILastAttack(lp_hybrid)) < 5)) {
            gv_aIHybridAttacker[lv_indexHybrid] = lv_lastAttacker;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:5191

        }

        if (!((GameGetMissionTime() <= 1080.0))) {
            return false;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal03.sc2map/MapScript.galaxy:4995

    }

    if ((gv_objectiveRescueBrood2222 == 3) && (libHots_gf_DifficultyValueInt2(0, 1, 1) == 1) && (GameGetMissionTime() <= 1080.0)) {
        libSwaC_gf_CampaignAwardAchievement("Anniversary_ZKorhal03", gv_PLAYER_01_USER);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:9667

    }

    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 481.0)) {
        libSwaC_gf_CampaignAwardAchievement("Anniversary_ZLab01", 1);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:10358

    }

    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 901.0)) {
        libSwaC_gf_CampaignAwardAchievement("Anniversary_ZLab02", gv_pLAYER_01_USER);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:3944

        }

        if (!((GameGetMissionTime() > 300.0))) {
            return false;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:5226

        }

        if (!((GameGetMissionTime() < 661.0))) {
            return false;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus01.sc2map/MapScript.galaxy:6203

        }

        if (!((GameGetMissionTime() < 1201.0))) {
            return false;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:3373

    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionCircle(PointFromId(50), 4.0), "ZerusTallGrassCluster", c_animNameDefault, "Cover End", 0, c_animTimeDefault);
    TimerStart(gv_achievementTimedTyrannozorKillTimer, gv_tyrannozorAchievementTime, false, c_timeAI);
    gv_victoryStatTyrannozorLifeTimer = GameGetMissionTime();
    libNtve_gf_CreateUnitsAtPoint2(1, "Terrorzor", 0, gv_pLAYER_04_TYRANNOZOR, PointFromId(50));
    gv_tyrannozor = UnitLastCreated();

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:3461

    VisRevealerDestroy(gv_tyrannozorRevealer);
    TriggerExecute(gt_AchievementTimedTyrannozorKillH, true, false);
    gv_victoryStatTyrannozorLifeTimer = (GameGetMissionTime() - gv_victoryStatTyrannozorLifeTimer);
    TriggerExecute(gt_ObjectiveKillTyrannozorComplete, true, false);
    Wait(2.0, c_timeReal);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2map/MapScript.galaxy:8064

        }

        if (!((GameGetMissionTime() <= 780.0))) {
            return false;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2mapMapScript.galaxy:1315

    }

    if ((gv_baseDefenseMessage == false) && (GameGetMissionTime() > 600.0) && (UnitGetOwner(EventUnit()) == gv_pLAYER_02_ZERG) && (libNtve_gf_UnitInRegion(EventUnit(), RegionCircle(PointFromId(807), 16.0)) == true) && (UnitGroupCount(UnitGroup(null, gv_pLAYER_02_ZERG, RegionCircle(PointFromId(807), 32.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) == 0) && (libNtve_gf_UnitInRegion(gv_kerrigan, RegionCircle(PointFromId(807), 24.0)) == false)) {
        gv_baseDefenseMessage = true;
        TriggerQueueEnter();

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2mapMapScript.galaxy:2025


    while (true) {
        while (((UnitIsAlive(gv_tHE_ONE_GORGON) == true) || ((GameGetMissionTime() < (300 + gv_launchTimeIncrement)) && (gf_ScourgeNestAvailableToShoot() == 0)))) {
            Wait(1.0, c_timeAI);
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2mapMapScript.galaxy:5092

    }

    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 841.0)) {
        libSwaC_gf_CampaignAwardAchievement("Anniversary_ZChar03", gv_pLAYER_01_USER);
        TriggerDebugOutput(1, StringExternal("Param/Value/B8F89E53"), false);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2mapMapScript.galaxy:6438

    }

    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 541.0)) {
        libSwaC_gf_CampaignAwardAchievement("Anniversary_ZExpedition01", gv_pLAYER_01_USER);
        TriggerDebugOutput(1, StringExternal("Param/Value/7A9CC845"), false);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition02.sc2mapMapScript.galaxy:4664


    gv_dockingBaysDestroyed += 1;
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 661.0)) {
        libSwaC_gf_CampaignAwardAchievement("Anniversary_ZExpedition02", gv_pLAYER_01_USER);
        TriggerDebugOutput(1, StringExternal("Param/Value/4823D88D"), false);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2mapMapScript.galaxy:7486

    }

    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 781.0)) {
        libSwaC_gf_CampaignAwardAchievement("Anniversary_ZExpedition03", gv_pLAYER_01_USER);
        TriggerDebugOutput(1, StringExternal("Param/Value/3E937DF7"), false);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2mapMapScript.galaxy:1032

    lv_lastAttacker = AILastAttacker(lp_hybrid);
    if ((gv_aIHybridAttacker[lv_indexHybrid] != null) && (UnitIsAlive(gv_aIHybridAttacker[lv_indexHybrid]) == true)) {
        if ((lv_lastAttacker != null) && (UnitIsAlive(lv_lastAttacker) == true) && ((FixedToInt(GameGetMissionTime()) - AILastAttack(lp_hybrid)) < 5)) {
            if ((((gv_aIHybridAttacker[lv_indexHybrid] != lv_lastAttacker) && (UnitCanAttackTarget(lv_lastAttacker, lp_hybrid) == true) && (UnitCanAttackTarget(gv_aIHybridAttacker[lv_indexHybrid], lp_hybrid) == false)) || ((DistanceBetweenPoints(UnitGetPosition(lp_hybrid), UnitGetPosition(gv_aIHybridAttacker[lv_indexHybrid])) > 4.3) && (DistanceBetweenPoints(UnitGetPosition(lp_hybrid), UnitGetPosition(gv_aIHybridAttacker[lv_indexHybrid])) > DistanceBetweenPoints(UnitGetPosition(lp_hybrid), UnitGetPosition(lv_lastAttacker)))))) {
                gv_aIHybridAttacker[lv_indexHybrid] = lv_lastAttacker;

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2mapMapScript.galaxy:1041

    }
    else {
        if ((lv_lastAttacker != null) && (UnitIsAlive(lv_lastAttacker) == true) && ((FixedToInt(GameGetMissionTime()) - AILastAttack(lp_hybrid)) < 5)) {
            gv_aIHybridAttacker[lv_indexHybrid] = lv_lastAttacker;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2mapMapScript.galaxy:5191

        }

        if (!((GameGetMissionTime() <= 1080.0))) {
            return false;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal03.sc2mapMapScript.galaxy:4995

    }

    if ((gv_objectiveRescueBrood2222 == 3) && (libHots_gf_DifficultyValueInt2(0, 1, 1) == 1) && (GameGetMissionTime() <= 1080.0)) {
        libSwaC_gf_CampaignAwardAchievement("Anniversary_ZKorhal03", gv_PLAYER_01_USER);
    }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2mapMapScript.galaxy:9667

    }

    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 481.0)) {
        libSwaC_gf_CampaignAwardAchievement("Anniversary_ZLab01", 1);
    }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2mapMapScript.galaxy:10358

    }

    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 901.0)) {
        libSwaC_gf_CampaignAwardAchievement("Anniversary_ZLab02", gv_pLAYER_01_USER);
    }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2mapMapScript.galaxy:3944

        }

        if (!((GameGetMissionTime() > 300.0))) {
            return false;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2mapMapScript.galaxy:5226

        }

        if (!((GameGetMissionTime() < 661.0))) {
            return false;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus01.sc2mapMapScript.galaxy:6203

        }

        if (!((GameGetMissionTime() < 1201.0))) {
            return false;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus02.sc2mapMapScript.galaxy:3373

    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionCircle(PointFromId(50), 4.0), "ZerusTallGrassCluster", c_animNameDefault, "Cover End", 0, c_animTimeDefault);
    TimerStart(gv_achievementTimedTyrannozorKillTimer, gv_tyrannozorAchievementTime, false, c_timeAI);
    gv_victoryStatTyrannozorLifeTimer = GameGetMissionTime();
    libNtve_gf_CreateUnitsAtPoint2(1, "Terrorzor", 0, gv_pLAYER_04_TYRANNOZOR, PointFromId(50));
    gv_tyrannozor = UnitLastCreated();

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus02.sc2mapMapScript.galaxy:3461

    VisRevealerDestroy(gv_tyrannozorRevealer);
    TriggerExecute(gt_AchievementTimedTyrannozorKillH, true, false);
    gv_victoryStatTyrannozorLifeTimer = (GameGetMissionTime() - gv_victoryStatTyrannozorLifeTimer);
    TriggerExecute(gt_ObjectiveKillTyrannozorComplete, true, false);
    Wait(2.0, c_timeReal);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2mapMapScript.galaxy:8064

        }

        if (!((GameGetMissionTime() <= 780.0))) {
            return false;
        }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16498

            if (((lv_made + (TechTreeUnitCount(1, "Overlord", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Overlord", "Food", 1)))) < lv_limit) && ((lv_made + (TechTreeUnitCount(1, "Overlord", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Overlord", "Food", 1)))) <= ((lv_used + libSwaC_gv_zS_NeedOverlordFoodRequired) - 0.1))) {
                if ((libSwaC_gv_zS_NeedOverlordAbilityHighlightOn == false)) {
                    if ((libSwaC_gf_MissionStatusCheck("ZLab3", libSwaC_ge_MissionStatus_Completed) == true) && ((libSwaC_gf_CurrentMap() != "ZChar1") || (GameGetMissionTime() > 240.0)) && (lv_transmissionDelivered == false)) {
                        lv_transmissionDelivered = true;
                        TriggerQueueEnter();

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:4410


    gf_ResetReminderTimer();
    gv_basic03LastOrderTime = GameGetMissionTime();
    if ((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(64), OrderGetTargetPoint(EventUnitOrder())) < 2.0)) {
        gf_TutorialUnpause();

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:4477


    gf_ResetReminderTimer();
    if ((gv_basic03ValidOrder == false) && ((gv_basic03LastOrderTime - GameGetMissionTime()) != 0.0)) {
        gf_SilenceQ();
        TriggerExecute(gt_BasicAttackCanceledTargetingQ, true, false);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:5344

        }

        if (!(((gv_basic08LastOrderTime - GameGetMissionTime()) != 0.0))) {
            return false;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:5355


    gf_ResetReminderTimer();
    gv_basic08LastOrderTime = GameGetMissionTime();
    if ((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(62), OrderGetTargetPoint(EventUnitOrder())) < 2.0)) {
        gf_TutorialUnpause();

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:5430

    }

    if ((gv_basic08ValidOrder == false) && ((gv_basic08LastOrderTime - GameGetMissionTime()) != 0.0)) {
        gf_SilenceQ();
        TriggerExecute(gt_BasicAttackGroupCanceledTargetingQ, true, false);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur01.sc2map/MapScript.galaxy:6030


    TriggerEnable(TriggerGetCurrent(), false);
    if ((libLotv_gf_DifficultyValueInt2(0, 0, 1, 1) == 1) && (GameGetMissionTime() < 600.0)) {
        libVoiC_gf_CampaignAwardAchievement("Mastery_Aiur01", gv_pLAYER_01_USER);
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:4492

    gv_objective_NerazimPylonsFound += 1;
    TriggerExecute(gt_ObjectiveFindNerazimPylonsUpdate, true, false);
    if ((gv_objective_NerazimPylonsFound == 3) && (GameGetMissionTime() <= 600.0) && (libLotv_gf_DifficultyValueInt2(0, 1, 1, 1) == 1)) {
        gv_anniversaryAchievementTermNerazimPylonsFound = (gv_anniversaryAchievementTermNerazimPylonsFound + 1);
        AchievementTermQuantitySet(gv_pLAYER_01_USER, "Anniversary_PAiur02", gv_anniversaryAchievementTermNerazimPylonsFound);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:4569

    gv_objective_NerazimPylonsFound += 1;
    TriggerExecute(gt_ObjectiveFindNerazimPylonsUpdate, true, false);
    if ((gv_objective_NerazimPylonsFound == 3) && (GameGetMissionTime() <= 600.0) && (libLotv_gf_DifficultyValueInt2(0, 1, 1, 1) == 1)) {
        gv_anniversaryAchievementTermNerazimPylonsFound = (gv_anniversaryAchievementTermNerazimPylonsFound + 1);
        AchievementTermQuantitySet(gv_pLAYER_01_USER, "Anniversary_PAiur02", gv_anniversaryAchievementTermNerazimPylonsFound);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:4646

    gv_objective_NerazimPylonsFound += 1;
    TriggerExecute(gt_ObjectiveFindNerazimPylonsUpdate, true, false);
    if ((gv_objective_NerazimPylonsFound == 3) && (GameGetMissionTime() <= 600.0) && (libLotv_gf_DifficultyValueInt2(0, 1, 1, 1) == 1)) {
        gv_anniversaryAchievementTermNerazimPylonsFound = (gv_anniversaryAchievementTermNerazimPylonsFound + 1);
        AchievementTermQuantitySet(gv_pLAYER_01_USER, "Anniversary_PAiur02", gv_anniversaryAchievementTermNerazimPylonsFound);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur03.sc2map/MapScript.galaxy:3544

        auto7A7EEE8F_var = UnitGroupUnitFromEnd(auto7A7EEE8F_g, auto7A7EEE8F_u);
        if (auto7A7EEE8F_var == null) { break; }
        if (((GameGetMissionTime() - UnitGetCustomValue(auto7A7EEE8F_var, 0)) > 10.0)) {
            UnitGroupRemove(gv_achievementWarpTourGroup, auto7A7EEE8F_var);
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur03.sc2map/MapScript.galaxy:3550

    }
    UnitGroupAdd(gv_achievementWarpTourGroup, EventUnitProgressUnit());
    UnitSetCustomValue(EventUnitProgressUnit(), 0, GameGetMissionTime());
    if ((UnitGroupCount(gv_achievementWarpTourGroup, c_unitCountAlive) >= 5)) {
        TriggerEnable(TriggerGetCurrent(), false);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur03.sc2map/MapScript.galaxy:3591


    TriggerEnable(TriggerGetCurrent(), false);
    if ((GameGetMissionTime() < 900.0) && (libLotv_gf_DifficultyValueInt2(0, 1, 1, 1) == 1)) {
        libVoiC_gf_CampaignAwardAchievement("PAiur03_3", gv_pLAYER_01_USER);
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:4278

        }

        if (!((GameGetMissionTime() <= 540.0))) {
            return false;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:4430


    if ((gv_stabilizersSecured == 1)) {
        gv_priorStabilizerTimestamp = GameGetMissionTime();
    }
    else {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:4433

    }
    else {
        if (((GameGetMissionTime() - gv_priorStabilizerTimestamp) < 180.0)) {
            TriggerEnable(TriggerGetCurrent(), false);
            libVoiC_gf_CampaignAwardAchievement("PKorhal01_3", gv_pLAYER_01_USER);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:4438

        }
        else {
            gv_priorStabilizerTimestamp = GameGetMissionTime();
        }
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:4475


    if ((gv_stabilizersSecured == 1)) {
        gv_priorMasteryTimestamp = GameGetMissionTime();
        gv_masteryProgress += 1;
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:4479

    }
    else {
        if (((GameGetMissionTime() - gv_priorMasteryTimestamp) < 80.0)) {
            gv_masteryProgress += 1;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:4483

        }
        else {
            gv_priorMasteryTimestamp = GameGetMissionTime();
            gv_masteryProgress = 1;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pshakuras02.sc2map/MapScript.galaxy:3609


    TriggerEnable(TriggerGetCurrent(), false);
    if ((GameGetMissionTime() < 600.0)) {
        libVoiC_gf_CampaignAwardAchievement("PShakuras02_2", gv_pLAYER_01_USER);
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim02.sc2map/MapScript.galaxy:3692

    libNtve_gf_ChangeUnitDamage(gv_alarak, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
    libNtve_gf_ChangeUnitDamage(gv_malash, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 721.0)) {
        libVoiC_gf_CampaignAwardAchievement("Anniversary_PTaldarim02", gv_pLAYER_01_USER);
        TriggerDebugOutput(1, StringExternal("Param/Value/77B7A46F"), true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pulnar01.sc2map/MapScript.galaxy:363

    }
    else if (auto662517A2_val == ge_PRESET_CelestialLockState_PlayerControlled) {
        if ((gv_firstLockIndex == 0) && (GameGetMissionTime() <= 360.0)) {
            gv_firstLockIndex = lp_index;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pulnar01.sc2map/MapScript.galaxy:783

        return true;
    }
    if (((gv_celestialLocks[lp_index].lv_recaptureCount == 0) || (GameGetMissionTime() < 600.0))) {
        Wait(300.0, c_timeAI);
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pulnar01.sc2map/MapScript.galaxy:1873

        }

        if (((GameGetMissionTime() - AILastAttack(gv_titanicWarpPrism)) <= 15.0)) {
            lv_phaseThreshold = true;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pulnar01.sc2map/MapScript.galaxy:2882


    TriggerEnable(TriggerGetCurrent(), false);
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() <= 600.0)) {
        libVoiC_gf_CampaignAwardAchievement("Anniversary_PUlnar01", gv_pLAYER_01_USER);
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pulnar02.sc2map/MapScript.galaxy:7714

        }

        if (!((GameGetMissionTime() < 720.0))) {
            return false;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:1594

    // Automatic Variable Declarations
    // Implementation
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 1681.0) && (UnitGroupCount(UnitGroup(null, gv_pLAYER_05_VOIDFORCES, null, UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroup(null, gv_pLAYER_06_VOIDFORCES, null, UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroup(null, gv_pLAYER_07_VOIDFORCES, null, UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32))), 0), c_unitCountAlive) == 0)) {
        libVoiC_gf_CampaignAwardAchievement("Anniversary_SC2Epilogue01", gv_pLAYER_01_USER);
        TriggerDebugOutput(1, StringExternal("Param/Value/47C56BDA"), false);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:6386

        }

        if (!((GameGetMissionTime() < 181.0))) {
            return false;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:4410


    gf_ResetReminderTimer();
    gv_basic03LastOrderTime = GameGetMissionTime();
    if ((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(64), OrderGetTargetPoint(EventUnitOrder())) < 2.0)) {
        gf_TutorialUnpause();

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:4477


    gf_ResetReminderTimer();
    if ((gv_basic03ValidOrder == false) && ((gv_basic03LastOrderTime - GameGetMissionTime()) != 0.0)) {
        gf_SilenceQ();
        TriggerExecute(gt_BasicAttackCanceledTargetingQ, true, false);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:5344

        }

        if (!(((gv_basic08LastOrderTime - GameGetMissionTime()) != 0.0))) {
            return false;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:5355


    gf_ResetReminderTimer();
    gv_basic08LastOrderTime = GameGetMissionTime();
    if ((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(62), OrderGetTargetPoint(EventUnitOrder())) < 2.0)) {
        gf_TutorialUnpause();

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:5430

    }

    if ((gv_basic08ValidOrder == false) && ((gv_basic08LastOrderTime - GameGetMissionTime()) != 0.0)) {
        gf_SilenceQ();
        TriggerExecute(gt_BasicAttackGroupCanceledTargetingQ, true, false);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur01.sc2mapMapScript.galaxy:6030


    TriggerEnable(TriggerGetCurrent(), false);
    if ((libLotv_gf_DifficultyValueInt2(0, 0, 1, 1) == 1) && (GameGetMissionTime() < 600.0)) {
        libVoiC_gf_CampaignAwardAchievement("Mastery_Aiur01", gv_pLAYER_01_USER);
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur02.sc2mapMapScript.galaxy:4492

    gv_objective_NerazimPylonsFound += 1;
    TriggerExecute(gt_ObjectiveFindNerazimPylonsUpdate, true, false);
    if ((gv_objective_NerazimPylonsFound == 3) && (GameGetMissionTime() <= 600.0) && (libLotv_gf_DifficultyValueInt2(0, 1, 1, 1) == 1)) {
        gv_anniversaryAchievementTermNerazimPylonsFound = (gv_anniversaryAchievementTermNerazimPylonsFound + 1);
        AchievementTermQuantitySet(gv_pLAYER_01_USER, "Anniversary_PAiur02", gv_anniversaryAchievementTermNerazimPylonsFound);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur02.sc2mapMapScript.galaxy:4569

    gv_objective_NerazimPylonsFound += 1;
    TriggerExecute(gt_ObjectiveFindNerazimPylonsUpdate, true, false);
    if ((gv_objective_NerazimPylonsFound == 3) && (GameGetMissionTime() <= 600.0) && (libLotv_gf_DifficultyValueInt2(0, 1, 1, 1) == 1)) {
        gv_anniversaryAchievementTermNerazimPylonsFound = (gv_anniversaryAchievementTermNerazimPylonsFound + 1);
        AchievementTermQuantitySet(gv_pLAYER_01_USER, "Anniversary_PAiur02", gv_anniversaryAchievementTermNerazimPylonsFound);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur02.sc2mapMapScript.galaxy:4646

    gv_objective_NerazimPylonsFound += 1;
    TriggerExecute(gt_ObjectiveFindNerazimPylonsUpdate, true, false);
    if ((gv_objective_NerazimPylonsFound == 3) && (GameGetMissionTime() <= 600.0) && (libLotv_gf_DifficultyValueInt2(0, 1, 1, 1) == 1)) {
        gv_anniversaryAchievementTermNerazimPylonsFound = (gv_anniversaryAchievementTermNerazimPylonsFound + 1);
        AchievementTermQuantitySet(gv_pLAYER_01_USER, "Anniversary_PAiur02", gv_anniversaryAchievementTermNerazimPylonsFound);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur03.sc2mapMapScript.galaxy:3544

        auto7A7EEE8F_var = UnitGroupUnitFromEnd(auto7A7EEE8F_g, auto7A7EEE8F_u);
        if (auto7A7EEE8F_var == null) { break; }
        if (((GameGetMissionTime() - UnitGetCustomValue(auto7A7EEE8F_var, 0)) > 10.0)) {
            UnitGroupRemove(gv_achievementWarpTourGroup, auto7A7EEE8F_var);
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur03.sc2mapMapScript.galaxy:3550

    }
    UnitGroupAdd(gv_achievementWarpTourGroup, EventUnitProgressUnit());
    UnitSetCustomValue(EventUnitProgressUnit(), 0, GameGetMissionTime());
    if ((UnitGroupCount(gv_achievementWarpTourGroup, c_unitCountAlive) >= 5)) {
        TriggerEnable(TriggerGetCurrent(), false);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur03.sc2mapMapScript.galaxy:3591


    TriggerEnable(TriggerGetCurrent(), false);
    if ((GameGetMissionTime() < 900.0) && (libLotv_gf_DifficultyValueInt2(0, 1, 1, 1) == 1)) {
        libVoiC_gf_CampaignAwardAchievement("PAiur03_3", gv_pLAYER_01_USER);
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:4278

        }

        if (!((GameGetMissionTime() <= 540.0))) {
            return false;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:4430


    if ((gv_stabilizersSecured == 1)) {
        gv_priorStabilizerTimestamp = GameGetMissionTime();
    }
    else {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:4433

    }
    else {
        if (((GameGetMissionTime() - gv_priorStabilizerTimestamp) < 180.0)) {
            TriggerEnable(TriggerGetCurrent(), false);
            libVoiC_gf_CampaignAwardAchievement("PKorhal01_3", gv_pLAYER_01_USER);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:4438

        }
        else {
            gv_priorStabilizerTimestamp = GameGetMissionTime();
        }
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:4475


    if ((gv_stabilizersSecured == 1)) {
        gv_priorMasteryTimestamp = GameGetMissionTime();
        gv_masteryProgress += 1;
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:4479

    }
    else {
        if (((GameGetMissionTime() - gv_priorMasteryTimestamp) < 80.0)) {
            gv_masteryProgress += 1;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:4483

        }
        else {
            gv_priorMasteryTimestamp = GameGetMissionTime();
            gv_masteryProgress = 1;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras02.sc2mapMapScript.galaxy:3609


    TriggerEnable(TriggerGetCurrent(), false);
    if ((GameGetMissionTime() < 600.0)) {
        libVoiC_gf_CampaignAwardAchievement("PShakuras02_2", gv_pLAYER_01_USER);
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim02.sc2mapMapScript.galaxy:3692

    libNtve_gf_ChangeUnitDamage(gv_alarak, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
    libNtve_gf_ChangeUnitDamage(gv_malash, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 721.0)) {
        libVoiC_gf_CampaignAwardAchievement("Anniversary_PTaldarim02", gv_pLAYER_01_USER);
        TriggerDebugOutput(1, StringExternal("Param/Value/77B7A46F"), true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar01.sc2mapMapScript.galaxy:363

    }
    else if (auto662517A2_val == ge_PRESET_CelestialLockState_PlayerControlled) {
        if ((gv_firstLockIndex == 0) && (GameGetMissionTime() <= 360.0)) {
            gv_firstLockIndex = lp_index;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar01.sc2mapMapScript.galaxy:783

        return true;
    }
    if (((gv_celestialLocks[lp_index].lv_recaptureCount == 0) || (GameGetMissionTime() < 600.0))) {
        Wait(300.0, c_timeAI);
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar01.sc2mapMapScript.galaxy:1873

        }

        if (((GameGetMissionTime() - AILastAttack(gv_titanicWarpPrism)) <= 15.0)) {
            lv_phaseThreshold = true;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar01.sc2mapMapScript.galaxy:2882


    TriggerEnable(TriggerGetCurrent(), false);
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() <= 600.0)) {
        libVoiC_gf_CampaignAwardAchievement("Anniversary_PUlnar01", gv_pLAYER_01_USER);
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar02.sc2mapMapScript.galaxy:7714

        }

        if (!((GameGetMissionTime() < 720.0))) {
            return false;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2mapMapScript.galaxy:1594

    // Automatic Variable Declarations
    // Implementation
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 1681.0) && (UnitGroupCount(UnitGroup(null, gv_pLAYER_05_VOIDFORCES, null, UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroup(null, gv_pLAYER_06_VOIDFORCES, null, UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroup(null, gv_pLAYER_07_VOIDFORCES, null, UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32))), 0), c_unitCountAlive) == 0)) {
        libVoiC_gf_CampaignAwardAchievement("Anniversary_SC2Epilogue01", gv_pLAYER_01_USER);
        TriggerDebugOutput(1, StringExternal("Param/Value/47C56BDA"), false);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2mapMapScript.galaxy:6386

        }

        if (!((GameGetMissionTime() < 181.0))) {
            return false;
        }

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:3409

    // Automatic Variable Declarations
    // Implementation
    return GameGetMissionTime();
}