# Kill Unit

Grammar — Kill u
FlagsNative | Action

Kills the specified unit.

# Arguments

  • unit — Unit

Returns — void

native void UnitKill(unit inUnit);

Category: Unit / Basic

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:635

    for ( ; auto49A2DDD7_u <= UnitGroupCount(auto49A2DDD7_g, c_unitCountAll) ; auto49A2DDD7_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u)) ) {
        lv_pickedUnit = UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u);
        UnitKill(lv_pickedUnit);
    }
    Wait(2.0, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:6002

        if ((gv_currentSawBounces > gv_totalSawBounces)) {
            TriggerEnable(TriggerGetCurrent(), false);
            UnitKill(gv_terraTronSaw);
        }
        else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7209

        Wait(0.125, c_timeGame);
        if ((libNtve_gf_UnitInRegion(gv_viking, lv_damageRegion) == true)) {
            UnitKill(gv_viking);
        }
        else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7446

                }
                gf_UpdateUI();
                UnitKill(lv_indexUnit);
            }
            else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1491

    libNtve_gf_ShareVisionofUnit(UnitFromId(2442), false, gv_p1_USER);
    libNtve_gf_ShareVisionofUnit(UnitFromId(2441), false, gv_p1_USER);
    UnitKill(UnitFromId(2508));
    TriggerEnable(gt_ZergontheLoose, false);
    TriggerEnable(gt_ZergontheLoose2, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5528

    TriggerExecute(gt_ResearchObjectiveChrysalisCreateQ, true, false);
    libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectFindChrysalisDNA, EventUnit(), gv_p1_USER);
    UnitKill(EventUnit());
    gv_bonusObjectiveCollectChrysalisFound += 1;
    ObjectiveSetName(gv_bonusObjectiveCollectChrysalis, (StringExternal("Param/Value/D8E396B5") + IntToText(gv_bonusObjectiveCollectChrysalisFound) + StringExternal("Param/Value/4AC47548")));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1418

        auto2B8B6529_var = UnitGroupUnitFromEnd(auto2B8B6529_g, auto2B8B6529_u);
        if (auto2B8B6529_var == null) { break; }
        UnitKill(auto2B8B6529_var);
    }
    auto7342DFD2_g = UnitGroup("PalletGas", c_playerAny, RegionFromId(11), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1425

        auto7342DFD2_var = UnitGroupUnitFromEnd(auto7342DFD2_g, auto7342DFD2_u);
        if (auto7342DFD2_var == null) { break; }
        UnitKill(auto7342DFD2_var);
    }
    Wait(10.0, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1532

        auto3342A984_var = UnitGroupUnitFromEnd(auto3342A984_g, auto3342A984_u);
        if (auto3342A984_var == null) { break; }
        UnitKill(auto3342A984_var);
    }
    auto310B3AEC_g = UnitGroup("PalletGas", c_playerAny, RegionFromId(12), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1539

        auto310B3AEC_var = UnitGroupUnitFromEnd(auto310B3AEC_g, auto310B3AEC_u);
        if (auto310B3AEC_var == null) { break; }
        UnitKill(auto310B3AEC_var);
    }
    Wait(10.0, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1646

        auto679CDD5D_var = UnitGroupUnitFromEnd(auto679CDD5D_g, auto679CDD5D_u);
        if (auto679CDD5D_var == null) { break; }
        UnitKill(auto679CDD5D_var);
    }
    auto61876AB1_g = UnitGroup("PalletGas", c_playerAny, RegionFromId(8), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1653

        auto61876AB1_var = UnitGroupUnitFromEnd(auto61876AB1_g, auto61876AB1_u);
        if (auto61876AB1_var == null) { break; }
        UnitKill(auto61876AB1_var);
    }
    Wait(10.0, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:297

        lv_u = UnitGroupUnitFromEnd(auto4EE00797_g, auto4EE00797_u);
        if (lv_u == null) { break; }
        UnitKill(lv_u);
    }
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1504


    if ((gv_gameOver == true)) {
        UnitKill(EventUnitProgressUnit());
        return true;
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2068

        if ((lv_eggScale >= gv_eggData[lv_eggType].lv_burstSize)) {
            lv_eggPosition = UnitGetPosition(autoB51C2030_var);
            UnitKill(autoB51C2030_var);
            Wait(0.5, c_timeGame);
            libNtve_gf_CreateUnitsWithDefaultFacing(1, gv_eggData[lv_eggType].lv_spawnType, 0, gv_eggData[lv_eggType].lv_spawnOwner, lv_eggPosition);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4385

        if (auto28C6FFF2_var == null) { break; }
        lv_point = UnitGetPosition(auto28C6FFF2_var);
        UnitKill(auto28C6FFF2_var);
        Wait(0.5, c_timeReal);
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "InfestedCivilian", 0, gv_p03_VIROPHAGE, lv_point);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:5560

    TriggerExecute(gt_ObjectiveDefilerSkeletonsUpdate, true, false);
    libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectFindDefilerBoneSamples, EventUnit(), gv_pLAYER_01_USER);
    UnitKill(EventUnit());
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:4968

    UIAlertPoint("Trigger", gv_p01_USER, StringExternal("Param/Value/D16B38BA"), null, UnitGetPosition(EventUnit()));
    libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectFindProtossRelicContraband, EventUnit(), gv_p01_USER);
    UnitKill(EventUnit());
    ObjectiveSetName(gv_bonusObjectiveFindContraband, (StringExternal("Param/Value/057D9AD4") + libCamp_gf_StoryResearchSupplementTextForObjective(libCamp_ge_StoryResearchObject_ResearchObjectFindProtossRelicContraband, libCamp_ge_StoryResearchObjectiveTextStyle_Multipart, gv_contrabandRelicsTotal, gv_contrabandRelicsFound)));
    if ((gv_contrabandRelicsFound == gv_contrabandRelicsTotal)) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:5726

    GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0);
    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(621), 0.0, -1, 10, true);
    UnitKill(UnitFromId(222));
    UnitKill(UnitFromId(183));
    for (auto8F0800B9_i = 1; auto8F0800B9_i <= auto8F0800B9_n; auto8F0800B9_i += 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:5727

    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(621), 0.0, -1, 10, true);
    UnitKill(UnitFromId(222));
    UnitKill(UnitFromId(183));
    for (auto8F0800B9_i = 1; auto8F0800B9_i <= auto8F0800B9_n; auto8F0800B9_i += 1) {
        libNtve_gf_CreateUnitsAtPoint2(1, "Vulture", 0, gv_p01_USER, RegionRandomPoint(RegionFromId(26)));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1181

    TriggerEnable(TriggerGetCurrent(), false);
    TriggerEnable(gt_DefeatEscortingUnitsDead, false);
    UnitKill(UnitFromId(1132));
    UnitSetPropertyFixed(UnitFromId(4), c_unitPropLifePercent, 100.0);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(4), true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1724

        if (auto6ADED6AB_var == null) { break; }
        if ((UnitGetCustomValue(auto6ADED6AB_var, 1) == 99.0)) {
            UnitKill(auto6ADED6AB_var);
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:4969

    UIAlertPoint("Trigger", gv_p01_USER, StringExternal("Param/Value/FAEB47D8"), null, UnitGetPosition(EventUnit()));
    libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectFindDevourerTissueSamples, EventUnit(), gv_p01_USER);
    UnitKill(EventUnit());
    ObjectiveSetName(gv_objectiveDevourerSamples, (StringExternal("Param/Value/D44C9615") + IntToText(gv_devourerSamplesFound) + StringExternal("Param/Value/16047064") + IntToText(gv_devourerSamplesTotal) + StringExternal("Param/Value/3CBF51DD")));
    if ((gv_devourerSamplesFound == gv_devourerSamplesTotal)) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5031

    }

    UnitKill(EventUnit());
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5378

    }

    UnitKill(UnitFromId(1035));
    UnitKill(UnitFromId(1034));
    CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.5, 2.0, 100.0, 1.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5379


    UnitKill(UnitFromId(1035));
    UnitKill(UnitFromId(1034));
    CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.5, 2.0, 100.0, 1.0);
    SoundPlay(SoundLink("Barracks_Explode", 1), PlayerGroupAll(), 100.0, 0.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5383

    SoundPlay(SoundLink("Barracks_Explode", 1), PlayerGroupAll(), 100.0, 0.0);
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(74));
    UnitKill(UnitLastCreated());
    Wait(0.15, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(968));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5386

    Wait(0.15, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(968));
    UnitKill(UnitLastCreated());
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(975));
    UnitKill(UnitLastCreated());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5388

    UnitKill(UnitLastCreated());
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(975));
    UnitKill(UnitLastCreated());
    Wait(0.15, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(976));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5391

    Wait(0.15, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(976));
    UnitKill(UnitLastCreated());
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(2102));
    UnitKill(UnitLastCreated());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2138

        if (autoA22A473B_var == null) { break; }
        if ((UnitGetCustomValue(autoA22A473B_var, 1) == 99.0)) {
            UnitKill(autoA22A473B_var);
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2148

        if (auto18D9D224_var == null) { break; }
        if ((UnitGetCustomValue(auto18D9D224_var, 1) == 99.0)) {
            UnitKill(auto18D9D224_var);
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2258

    TriggerEnable(TriggerGetCurrent(), false);
    gv_secretsFound = 1;
    UnitKill(gv_secretDocuments);
    libCamp_gf_DisplayCampaignMessage(PlayerGroupAll(), libCamp_ge_CampaignMessageType_Secret, StringExternal("Param/Value/DAF7934D"), libCamp_ge_CampaignMessageFormatNotFormat_FormatMessage);
    ConversationDataStateSetValue("StoryState|HornerSecretMissionOn", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2768

    TriggerExecute(gt_TychusEjection, true, false);
    Wait(4.0, c_timeGame);
    UnitKill(gv_odin);
    TriggerQueueExit();
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3234


    TriggerEnable(TriggerGetCurrent(), false);
    UnitKill(UnitFromId(1597));
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3266


    TriggerEnable(TriggerGetCurrent(), false);
    UnitKill(UnitFromId(1612));
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3298


    TriggerEnable(TriggerGetCurrent(), false);
    UnitKill(UnitFromId(216));
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3330


    TriggerEnable(TriggerGetCurrent(), false);
    UnitKill(UnitFromId(213));
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3362


    TriggerEnable(TriggerGetCurrent(), false);
    UnitKill(UnitFromId(217));
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3394


    TriggerEnable(TriggerGetCurrent(), false);
    UnitKill(UnitFromId(215));
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1953

        autoBF6960A8_var = UnitGroupUnitFromEnd(autoBF6960A8_g, autoBF6960A8_u);
        if (autoBF6960A8_var == null) { break; }
        UnitKill(autoBF6960A8_var);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1991

        auto57BDA02E_var = UnitGroupUnitFromEnd(auto57BDA02E_g, auto57BDA02E_u);
        if (auto57BDA02E_var == null) { break; }
        UnitKill(auto57BDA02E_var);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2029

        auto79304629_var = UnitGroupUnitFromEnd(auto79304629_g, auto79304629_u);
        if (auto79304629_var == null) { break; }
        UnitKill(auto79304629_var);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2067

        autoBB91371A_var = UnitGroupUnitFromEnd(autoBB91371A_g, autoBB91371A_u);
        if (autoBB91371A_var == null) { break; }
        UnitKill(autoBB91371A_var);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2107

        autoB3679912_var = UnitGroupUnitFromEnd(autoB3679912_g, autoB3679912_u);
        if (autoB3679912_var == null) { break; }
        UnitKill(autoB3679912_var);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2147

        auto1E8BF10F_var = UnitGroupUnitFromEnd(auto1E8BF10F_g, auto1E8BF10F_u);
        if (auto1E8BF10F_var == null) { break; }
        UnitKill(auto1E8BF10F_var);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2186

        auto576738E4_var = UnitGroupUnitFromEnd(auto576738E4_g, auto576738E4_u);
        if (auto576738E4_var == null) { break; }
        UnitKill(auto576738E4_var);
    }
    Wait(2.0, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2227

        autoFB3D03A8_var = UnitGroupUnitFromEnd(autoFB3D03A8_g, autoFB3D03A8_u);
        if (autoFB3D03A8_var == null) { break; }
        UnitKill(autoFB3D03A8_var);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3214

    UnitSetState(UnitFromId(202), c_unitStateSelectable, false);
    UnitIssueOrder(UnitFromId(202), Order(AbilityCommand("DestructibleGateDiagonalBLURLowered", 0)), c_orderQueueReplace);
    UnitKill(UnitFromId(1038));
    Wait(2.0, c_timeGame);
    UnitSetOwner(gv_turret01, gv_p12_AUTOTURRET_ENEMY, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3279

    UnitSetState(UnitFromId(202), c_unitStateSelectable, false);
    UnitIssueOrder(UnitFromId(202), Order(AbilityCommand("DestructibleGateDiagonalBLURLowered", 0)), c_orderQueueReplace);
    UnitKill(UnitFromId(1038));
    Wait(2.0, c_timeGame);
    UnitSetOwner(gv_turret01, gv_p08_AUTOTURRET_FRIENDLY, true);

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

    GameTimeOfDayPause(true);
    UnitPauseAll(true);
    UnitKill(UnitFromId(158));
    PingDestroy(gv_objectiveMainPing);
    libNtve_gf_KillModel(gv_actorObjectiveMain);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1948

    TriggerEnable(TriggerGetCurrent(), false);
    TriggerEnable(gt_RebelsDestroyed, false);
    UnitKill(gv_rebelBeacon);
    autoE4319F38_g = UnitGroup("Marine", gv_pLAYER_04_REBELS, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoE4319F38_u = UnitGroupCount(autoE4319F38_g, c_unitCountAll);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2183

    gv_rebelMarinesFound01 = true;
    PingDestroy(gv_rebelMarinesPing1);
    UnitKill(gv_rebelMarinesBeacon01);
    TriggerExecute(gt_ObjectiveRescueCreateQ, true, false);
    ObjectiveSetName(gv_objectiveRescue, (StringExternal("Param/Value/28341DB3") + IntToText(gv_rebelFightersRescued) + StringExternal("Param/Value/5A139B4F") + StringExternal("Param/Value/88CFB03A")));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2231

    gv_rebelMarinesFound02 = true;
    PingDestroy(gv_rebelMarinesPing2);
    UnitKill(gv_rebelMarinesBeacon02);
    TriggerExecute(gt_ObjectiveRescueCreateQ, true, false);
    ObjectiveSetName(gv_objectiveRescue, (StringExternal("Param/Value/66738ACE") + IntToText(gv_rebelFightersRescued) + StringExternal("Param/Value/DBBC8F23") + StringExternal("Param/Value/85B6A1D8")));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2279

    gv_rebelMarinesFound03 = true;
    PingDestroy(gv_rebelMarinesPing3);
    UnitKill(gv_rebelMarinesBeacon03);
    TriggerExecute(gt_ObjectiveRescueCreateQ, true, false);
    ObjectiveSetName(gv_objectiveRescue, (StringExternal("Param/Value/7B12E251") + IntToText(gv_rebelFightersRescued) + StringExternal("Param/Value/F88EB373") + StringExternal("Param/Value/DE63FD4D")));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2328

    TriggerEnable(TriggerGetCurrent(), false);
    PingDestroy(gv_rebelMarinesPing1);
    UnitKill(gv_rebelMarinesBeacon01);
    TriggerEnable(gt_RebelMarines01Rescued, false);
    TriggerExecute(gt_ObjectiveRescueFailed, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2372

    TriggerEnable(TriggerGetCurrent(), false);
    PingDestroy(gv_rebelMarinesPing2);
    UnitKill(gv_rebelMarinesBeacon02);
    TriggerEnable(gt_RebelMarines02Rescued, false);
    TriggerExecute(gt_ObjectiveRescueFailed, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2416

    TriggerEnable(TriggerGetCurrent(), false);
    PingDestroy(gv_rebelMarinesPing3);
    UnitKill(gv_rebelMarinesBeacon03);
    TriggerEnable(gt_RebelMarines03Rescued, false);
    TriggerExecute(gt_ObjectiveRescueFailed, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:5518

        auto5C92184F_var = UnitGroupUnitFromEnd(auto5C92184F_g, auto5C92184F_u);
        if (auto5C92184F_var == null) { break; }
        UnitKill(auto5C92184F_var);
    }
    Wait(0.25, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:5579

        auto6F566A58_var = UnitGroupUnitFromEnd(auto6F566A58_g, auto6F566A58_u);
        if (auto6F566A58_var == null) { break; }
        UnitKill(auto6F566A58_var);
    }
    Wait(0.25, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:5641

        autoD5C770CD_var = UnitGroupUnitFromEnd(autoD5C770CD_g, autoD5C770CD_u);
        if (autoD5C770CD_var == null) { break; }
        UnitKill(autoD5C770CD_var);
    }
    Wait(0.25, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:5703

        auto10DA5D10_var = UnitGroupUnitFromEnd(auto10DA5D10_g, auto10DA5D10_u);
        if (auto10DA5D10_var == null) { break; }
        UnitKill(auto10DA5D10_var);
    }
    Wait(0.25, c_timeGame);

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


    libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectFindProtossRelics, EventUnit(), gv_p1_USER);
    UnitKill(EventUnit());
    TriggerExecute(gt_ObjectiveRelicsCreateQ, true, false);
    gv_bonusObjectiveCollectRelicsFound += 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:1200

        autoC4DE7299_var = UnitGroupUnitFromEnd(autoC4DE7299_g, autoC4DE7299_u);
        if (autoC4DE7299_var == null) { break; }
        UnitKill(autoC4DE7299_var);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:3256


    TriggerEnable(TriggerGetCurrent(), false);
    UnitKill(UnitFromId(63));
    lv_silo = gv_p2Silo;
    TriggerQueueEnter();

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:4184

    }

    UnitKill(UnitFromId(1063));
    UnitKill(UnitFromId(1065));
    UnitKill(UnitFromId(1147));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:4185


    UnitKill(UnitFromId(1063));
    UnitKill(UnitFromId(1065));
    UnitKill(UnitFromId(1147));
    if ((UnitIsAlive(UnitFromId(1070)) == true)) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:4186

    UnitKill(UnitFromId(1063));
    UnitKill(UnitFromId(1065));
    UnitKill(UnitFromId(1147));
    if ((UnitIsAlive(UnitFromId(1070)) == true)) {
        libNtve_gf_ShareVisionofUnit(UnitFromId(1070), true, gv_pLAYER01_USER);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:4327


    TriggerEnable(TriggerGetCurrent(), false);
    UnitKill(UnitFromId(17));
    lv_silo = gv_p3Silo;
    TriggerQueueEnter();

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:4348

    MinimapPing(PlayerGroupAll(), UnitGetPosition(lv_silo), 3.0, Color(100.00, 100.00, 0.00));
    UIAlertUnit("Trigger", 1, StringExternal("Param/Value/C7BFA08A"), null, gv_p3Silo);
    UnitKill(UnitFromId(802));
    TriggerQueueExit();
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2593

        libNtve_gf_StopPulsingScreenImage(16);
        libNtve_gf_HideScreenImage(false, 16);
        UnitKill(gv_cam_Beacon);
        PingDestroy(gv_cam_Ping);
        TriggerExecute(gt_ObjectiveCamera02CreateQ, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3172

    TriggerExecute(gt_ObjectiveMovement02CreateQ, true, false);
    ObjectiveSetState(gv_objectiveMovement02, c_objectiveStateCompleted);
    UnitKill(gv_mov_Beacon01);
    PingDestroy(gv_mov_Ping);
    Wait(0.5, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3380

    TriggerExecute(gt_ObjectiveMovement03CreateQ, true, false);
    ObjectiveSetState(gv_objectiveMovement03, c_objectiveStateCompleted);
    UnitKill(gv_mov_Beacon02);
    PingDestroy(gv_mov_Ping);
    Wait(0.5, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4003

    TriggerExecute(gt_ObjectiveMovement05CreateQ, true, false);
    ObjectiveSetState(gv_objectiveMovement05, c_objectiveStateCompleted);
    UnitKill(gv_mov_Beacon03);
    PingDestroy(gv_mov_Ping);
    gv_mov_RightClickedMulti = false;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1844


    TriggerEnable(TriggerGetCurrent(), false);
    UnitKill(UnitFromId(572));
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "TTychus01MusicAlt", c_soundtrackCueAny, c_soundtrackIndexAny, true);
    UISetRestartLoadingScreen(ConversationDataStateText("Maps|TTychus01", "Loading Screen Restart 2"));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2088

        TriggerEnable(gt_ArtifactGuardianActivationSouth, false);
        TriggerEnable(gt_ObjectiveDestroytheStatuesDiscover, false);
        UnitKill(UnitFromId(572));
        TechTreeUpgradeAddLevel(gv_p2_ZERG, "overlordtransport", 1);
        TechTreeUpgradeAddLevel(gv_p2_ZERG, "overlordspeed", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:4400

    libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectFindProtossRelics, EventUnit(), gv_p1_USER);
    TriggerExecute(gt_ObjectiveRelicsCreateQ, true, false);
    UnitKill(EventUnit());
    gv_relicsFound += 1;
    ObjectiveSetName(gv_objective_Relics, (StringExternal("Param/Value/1647A2D5") + libCamp_gf_StoryResearchSupplementTextForObjective(libCamp_ge_StoryResearchObject_ResearchObjectFindProtossRelics, libCamp_ge_StoryResearchObjectiveTextStyle_Multipart, gv_relicsNeeded, gv_relicsFound) + StringExternal("Param/Value/88438701")));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:4902

    TriggerExecute(gt_ObjectiveRelicsCreateQ, true, false);
    libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectFindProtossRelics, EventUnit(), gv_p1_USER);
    UnitKill(EventUnit());
    ObjectiveSetName(gv_bonusObjectiveCollectRelics, (StringExternal("Param/Value/D8039732") + libCamp_gf_StoryResearchSupplementTextForObjective(libCamp_ge_StoryResearchObject_ResearchObjectFindProtossRelics, libCamp_ge_StoryResearchObjectiveTextStyle_Multipart, gv_bonusObjectiveCollectRelicsNeeded, gv_bonusObjectiveCollectRelicsFound)));
    if ((gv_bonusObjectiveCollectRelicsFound == gv_bonusObjectiveCollectRelicsNeeded)) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:438

        if (lv_u == null) { break; }
        UnitGroupRemove(gv_moebiusTargets, lv_u);
        UnitKill(lv_u);
    }
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:3218

    TriggerExecute(gt_ResearchObjectiveProtossRelicsCreateQ, true, false);
    libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectFindProtossRelics, EventUnit(), gv_pLAYER01_USER);
    UnitKill(EventUnit());
    gv_protossRelicsFound += 1;
    ObjectiveSetName(gv_researchObjectiveProtossRelics, (StringExternal("Param/Value/057DC625") + libCamp_gf_StoryResearchSupplementTextForObjective(libCamp_ge_StoryResearchObject_ResearchObjectFindProtossRelics, libCamp_ge_StoryResearchObjectiveTextStyle_Multipart, gv_protossRelicsTotal, gv_protossRelicsFound)));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:6114

    libNtve_gf_PauseUnit(UnitFromId(3), false);
    if ((UnitIsAlive(UnitFromId(3)) == true)) {
        UnitKill(UnitFromId(3));
        Wait(0.1, c_timeGame);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:6159

    libCamp_gf_SendTransmissionCampaign(null, SoundLink("TTychus05Raynor00029", -1), c_transmissionDurationAdd, 0.0, true);
    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
    UnitKill(gv_victoryArtifact);
    SoundPlayOnUnit(SoundLink("Medivac_Load", -1), PlayerGroupAll(), lv_dropship, 0.0, 100.0, 0.0);
    UnitIssueOrder(lv_dropship, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(196)), c_orderQueueAddToEnd);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:5197

    TriggerEnable(TriggerGetCurrent(), false);
    Wait(RandomFixed(1.0, 3.0), c_timeGame);
    UnitKill(UnitFromId(492));
    CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.06, 1.0, 100.0, 2.0);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:5243

    TriggerEnable(TriggerGetCurrent(), false);
    Wait(RandomFixed(1.0, 3.0), c_timeGame);
    UnitKill(UnitFromId(494));
    CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.06, 1.0, 100.0, 2.0);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:5289

    TriggerEnable(TriggerGetCurrent(), false);
    Wait(RandomFixed(1.0, 3.0), c_timeGame);
    UnitKill(UnitFromId(495));
    CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.06, 1.0, 100.0, 2.0);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:8261

    UnitSetHeight(gv_warfieldShipFlying, 0.0, 0.0);
    UnitIssueOrder(gv_warfieldShipFlying, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
    UnitKill(gv_warfieldShipFlying);
    TriggerExecute(gt_Fire03, true, false);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:8415

    }

    UnitKill(gv_hydraSquish);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:495

    lv_poppedEggPoint = UnitGetPosition(lp_poppedEgg);
    SoundPlay(SoundLink("Egg_Ready", -1), PlayerGroupAll(), 100.0, 0.0);
    UnitKill(lp_poppedEgg);
    Wait(0.1, c_timeGame);
    UnitCreate(1, "Baneling", 0, 0, lv_poppedEggPoint, libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:499

    UnitCreate(1, "Baneling", 0, 0, lv_poppedEggPoint, libNtve_gf_RandomAngle());
    UnitBehaviorRemove(UnitLastCreated(), "BanelingExplode", 1);
    UnitKill(UnitLastCreated());
    Wait(0.1, c_timeGame);
    auto84E2776E_val = RandomInt(1, 5);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:3413


    VisRevealerEnable(gv__1Nuke1Revealer, false);
    UnitKill(UnitFromId(1371));
    TriggerEnable(gt__1NydusWormsCheatVision, false);
    TriggerExecute(gt_CinematicStartHoldout1Q, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:5322

    }

    UnitKill(UnitFromId(1998));
    TriggerExecute(gt_CinematicStartHoldout2Q, true, false);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:5771

                auto54AE8B77_var = UnitGroupUnitFromEnd(auto54AE8B77_g, auto54AE8B77_u);
                if (auto54AE8B77_var == null) { break; }
                UnitKill(auto54AE8B77_var);
            }
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:6989


    PingDestroy(gv__3BroodchamberLocPing);
    UnitKill(UnitFromId(2405));
    libNtve_gf_ShowHideUnit(UnitFromId(1540), true);
    libNtve_gf_ShowHideUnit(UnitFromId(1537), true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:7674

            autoB537B079_var = UnitGroupUnitFromEnd(autoB537B079_g, autoB537B079_u);
            if (autoB537B079_var == null) { break; }
            UnitKill(autoB537B079_var);
        }
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:8197

        gv__4HeroesSaved += 1;
        SoundPlay(SoundLink("Terran_Veterancy", -1), PlayerGroupAll(), 100.0, 0.0);
        UnitKill(UnitFromId(2406));
        gv_gameOver = true;
        PingDestroy(gv__4ExtractionPing);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:9912

    TriggerExecute(gt_CinematicCameraShakeNuke, true, false);
    CameraApplyInfo(gv_p1_USER, CameraInfoFromId(2183), 18.0, -1, 10, true);
    UnitKill(gv__1BroodchamberNuke);
    gv_cinematicFissureDoodad = DoodadFromId(337);
    TriggerExecute(gt_CinematicCameraShakeNuke2, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:10697

    TriggerExecute(gt_CinematicCameraShakeNuke, true, false);
    CameraApplyInfo(gv_p1_USER, CameraInfoFromId(2241), 10.0, -1, 10, true);
    UnitKill(gv__2BroodchamberNuke);
    gv_cinematicFissureDoodad = DoodadFromId(323);
    TriggerExecute(gt_CinematicCameraShakeNuke2, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:372

    }

    UnitKill(lp_victim);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:417

            RegionSetCenter(RegionFromId(18), UnitGetPosition(autoD59259D7_var));
            CreepModify(RegionGetCenter(RegionFromId(18)), 2.0, false, false);
            UnitKill(autoD59259D7_var);
            TerrainShowRegion(RegionFromId(18), false);
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:424

            RegionSetCenter(RegionFromId(19), UnitGetPosition(autoD59259D7_var));
            CreepModify(RegionGetCenter(RegionFromId(19)), 3.0, false, false);
            UnitKill(autoD59259D7_var);
            TerrainShowRegion(RegionFromId(19), false);
        }