# Triggering Cargo Unit

Grammar — Triggering cargo unit
FlagsNative | Function

Returns the triggering cargo unit. Used in response to a “Unit Loads/Unloads Cargo” event.

Returns — unit

native unit EventUnitCargo();

# Supported triggers

Category: Unit / Cargo

# Examples

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

    // Conditions
    if (testConds) {
        if (!(((UnitGetType(EventUnitCargo()) == "Firebat") || (UnitGetType(EventUnitCargo()) == "Medic")))) {
            return false;
        }

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

    // Conditions
    if (testConds) {
        if (!(((UnitGetType(EventUnitCargo()) == "Firebat") || (UnitGetType(EventUnitCargo()) == "Medic")))) {
            return false;
        }

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

    }

    if ((UnitGetType(EventUnitCargo()) == "Firebat")) {
        Wait(0.2, c_timeGame);
        auto256F7B23_val = gv_firebatMove;

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

        auto256F7B23_val = gv_firebatMove;
        if (auto256F7B23_val == 1) {
            UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1646)), c_orderQueueReplace);
        }
        else if (auto256F7B23_val == 2) {

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

        }
        else if (auto256F7B23_val == 2) {
            UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1647)), c_orderQueueReplace);
        }
        else if (auto256F7B23_val == 3) {

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

        }
        else if (auto256F7B23_val == 3) {
            UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1648)), c_orderQueueReplace);
        }
        else {

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

        else {
        }
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointFromId(1653)), c_orderQueueAddToEnd);
        UnitIssueOrder(EventUnitCargo(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
        gv_firebatMove += 1;

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

        }
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointFromId(1653)), c_orderQueueAddToEnd);
        UnitIssueOrder(EventUnitCargo(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
        gv_firebatMove += 1;
        return true;

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

    }

    if ((UnitGetType(EventUnitCargo()) == "Medic")) {
        Wait(0.2, c_timeGame);
        auto0C0AB8E0_val = gv_medicMove;

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

        auto0C0AB8E0_val = gv_medicMove;
        if (auto0C0AB8E0_val == 1) {
            UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1650)), c_orderQueueReplace);
        }
        else if (auto0C0AB8E0_val == 2) {

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

    }

    UnitRemove(EventUnitCargo());
    return true;
}

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

    }

    UnitBehaviorRemove(EventUnitCargo(), "Run", c_unitBehaviorCountAll);
    return true;
}

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

    }

    UnitRemove(EventUnitCargo());
    return true;
}

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


    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_AttachModelToUnit(EventUnitCargo(), "BriefingUnitSelect", "Ref_Center");
    libNtve_gf_RescueUnit(EventUnitCargo(), gv_p01_USER, true);
    Wait(6.0, c_timeGame);

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

    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_AttachModelToUnit(EventUnitCargo(), "BriefingUnitSelect", "Ref_Center");
    libNtve_gf_RescueUnit(EventUnitCargo(), gv_p01_USER, true);
    Wait(6.0, c_timeGame);
    libNtve_gf_KillModel(libNtve_gf_ActorLastCreated());

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

    // Conditions
    if (testConds) {
        if (!(((UnitGetType(EventUnitCargo()) == "Raynor") || (UnitGetType(EventUnitCargo()) == "Marine") || (UnitGetType(EventUnitCargo()) == "Medic")))) {
            return false;
        }

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

    // Conditions
    if (testConds) {
        if (!(((UnitGetType(EventUnitCargo()) == "Raynor") || (UnitGetType(EventUnitCargo()) == "Marine") || (UnitGetType(EventUnitCargo()) == "Medic")))) {
            return false;
        }

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

    // Conditions
    if (testConds) {
        if (!(((UnitGetType(EventUnitCargo()) == "Raynor") || (UnitGetType(EventUnitCargo()) == "Marine") || (UnitGetType(EventUnitCargo()) == "Medic")))) {
            return false;
        }

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

    }

    if ((UnitGetType(EventUnitCargo()) == "Raynor")) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(283)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointFromId(1482)), c_orderQueueAddToEnd);

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


    if ((UnitGetType(EventUnitCargo()) == "Raynor")) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(283)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointFromId(1482)), c_orderQueueAddToEnd);
        UnitIssueOrder(EventUnitCargo(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);

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

    if ((UnitGetType(EventUnitCargo()) == "Raynor")) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(283)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointFromId(1482)), c_orderQueueAddToEnd);
        UnitIssueOrder(EventUnitCargo(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
        return true;

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

        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(283)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointFromId(1482)), c_orderQueueAddToEnd);
        UnitIssueOrder(EventUnitCargo(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
        return true;
    }

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

    }

    if ((UnitGetType(EventUnitCargo()) == "Marine")) {
        Wait(0.2, c_timeGame);
        autoA608E7AA_val = gv_marineMove;

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

        autoA608E7AA_val = gv_marineMove;
        if (autoA608E7AA_val == 1) {
            UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(7)), c_orderQueueReplace);
        }
        else if (autoA608E7AA_val == 2) {

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

        }
        else if (autoA608E7AA_val == 2) {
            UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(15)), c_orderQueueReplace);
        }
        else if (autoA608E7AA_val == 3) {

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

    // Conditions
    if (testConds) {
        if (!((UnitGroupHasUnit(gv_introUnitCargoStart, EventUnitCargo()) == true))) {
            return false;
        }

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


    gv_introUnitCargoStartDrop += 1;
    UnitSetOwner(EventUnitCargo(), gv_p1_USER, true);
    UnitGroupAdd(gv_raynorsMarines, EventUnitCargo());
    Wait(0.2, c_timeGame);

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

    gv_introUnitCargoStartDrop += 1;
    UnitSetOwner(EventUnitCargo(), gv_p1_USER, true);
    UnitGroupAdd(gv_raynorsMarines, EventUnitCargo());
    Wait(0.2, c_timeGame);
    auto4DB55145_val = gv_introUnitCargoStartDrop;

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

    auto4DB55145_val = gv_introUnitCargoStartDrop;
    if (auto4DB55145_val == 1) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(505)), c_orderQueueReplace);
    }
    else if (auto4DB55145_val == 2) {

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

    }
    else if (auto4DB55145_val == 2) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(415)), c_orderQueueReplace);
    }
    else if (auto4DB55145_val == 3) {

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

    }
    else if (auto4DB55145_val == 3) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(581)), c_orderQueueReplace);
    }
    else if (auto4DB55145_val == 4) {

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

    }
    else if (auto4DB55145_val == 4) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(737)), c_orderQueueReplace);
    }
    else if (auto4DB55145_val == 5) {

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

    }
    else if (auto4DB55145_val == 5) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(885)), c_orderQueueReplace);
    }
    else if (auto4DB55145_val == 6) {

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

    }
    else if (auto4DB55145_val == 6) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1020)), c_orderQueueReplace);
    }
    else {

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

        }

        if (!((UnitGroupHasUnit(gv_sCVReinforcement, EventUnitCargo()) == true))) {
            return false;
        }

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

    auto653DA9EF_val = gv_sCVCargoDrop;
    if (auto653DA9EF_val == 1) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1025)), c_orderQueueReplace);
        TriggerEnable(gt_DropshipRemover, true);
        UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/A087C9B6"), "Assets\\Textures\\btn-unit-terran-scv.dds", PointFromId(688));

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

        TriggerEnable(gt_DropshipRemover, true);
        UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/A087C9B6"), "Assets\\Textures\\btn-unit-terran-scv.dds", PointFromId(688));
        gf_CreateInfoText(EventUnitCargo());
    }
    else if (auto653DA9EF_val == 2) {

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

    }
    else if (auto653DA9EF_val == 2) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1026)), c_orderQueueReplace);
        gf_CreateInfoText(EventUnitCargo());
    }

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

    else if (auto653DA9EF_val == 2) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1026)), c_orderQueueReplace);
        gf_CreateInfoText(EventUnitCargo());
    }
    else if (auto653DA9EF_val == 3) {

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

    }
    else if (auto653DA9EF_val == 3) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1105)), c_orderQueueReplace);
        gf_CreateInfoText(EventUnitCargo());
    }

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

    else if (auto653DA9EF_val == 3) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1105)), c_orderQueueReplace);
        gf_CreateInfoText(EventUnitCargo());
    }
    else if (auto653DA9EF_val == 4) {

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

    }
    else if (auto653DA9EF_val == 4) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1109)), c_orderQueueReplace);
        gf_CreateInfoText(EventUnitCargo());
    }

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

    else if (auto653DA9EF_val == 4) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1109)), c_orderQueueReplace);
        gf_CreateInfoText(EventUnitCargo());
    }
    else if (auto653DA9EF_val == 5) {

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

    }
    else if (auto653DA9EF_val == 5) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1110)), c_orderQueueReplace);
        gf_CreateInfoText(EventUnitCargo());
    }

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

    }

    UnitSetPropertyFixed(EventUnitCargo(), c_unitPropEnergyPercent, 100.0);
    Wait(0.2, c_timeGame);
    auto36505A94_val = UnitGetCustomValue(UnitFromId(317), 0);

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

    auto36505A94_val = UnitGetCustomValue(UnitFromId(317), 0);
    if (auto36505A94_val == 0.0) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(483)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(483), 1.0, PointGetFacing(PointFromId(483)))), c_orderQueueAddToEnd);
    }

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

    if (auto36505A94_val == 0.0) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(483)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(483), 1.0, PointGetFacing(PointFromId(483)))), c_orderQueueAddToEnd);
    }
    else if (auto36505A94_val == 1.0) {

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

    }
    else if (auto36505A94_val == 1.0) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(484)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(484), 1.0, PointGetFacing(PointFromId(484)))), c_orderQueueAddToEnd);
    }

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

    else if (auto36505A94_val == 1.0) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(484)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(484), 1.0, PointGetFacing(PointFromId(484)))), c_orderQueueAddToEnd);
    }
    else if (auto36505A94_val == 2.0) {

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

    }
    else if (auto36505A94_val == 2.0) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(485)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(485), 1.0, PointGetFacing(PointFromId(485)))), c_orderQueueAddToEnd);
    }

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

    else if (auto36505A94_val == 2.0) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(485)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(485), 1.0, PointGetFacing(PointFromId(485)))), c_orderQueueAddToEnd);
    }
    else if (auto36505A94_val == 3.0) {

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

    }
    else if (auto36505A94_val == 3.0) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(486)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(486), 1.0, PointGetFacing(PointFromId(486)))), c_orderQueueAddToEnd);
    }

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

    else if (auto36505A94_val == 3.0) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(486)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(486), 1.0, PointGetFacing(PointFromId(486)))), c_orderQueueAddToEnd);
    }
    else if (auto36505A94_val == 4.0) {

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

    }
    else if (auto36505A94_val == 4.0) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(487)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(487), 1.0, PointGetFacing(PointFromId(487)))), c_orderQueueAddToEnd);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:6453


    TriggerEnable(TriggerGetCurrent(), false);
    UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("ProtossBuild", 0), PointFromId(2)), c_orderQueueReplace);
    gv_introProbe01 = EventUnitCargo();
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:6454

    TriggerEnable(TriggerGetCurrent(), false);
    UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("ProtossBuild", 0), PointFromId(2)), c_orderQueueReplace);
    gv_introProbe01 = EventUnitCargo();
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:6491

    TriggerEnable(TriggerGetCurrent(), false);
    Wait(0.5, c_timeGame);
    UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(38)), c_orderQueueReplace);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:6527


    TriggerEnable(TriggerGetCurrent(), false);
    UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(59)), c_orderQueueReplace);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:6563


    TriggerEnable(TriggerGetCurrent(), false);
    UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(60)), c_orderQueueReplace);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:6599


    TriggerEnable(TriggerGetCurrent(), false);
    UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(21)), c_orderQueueReplace);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:6635


    TriggerEnable(TriggerGetCurrent(), false);
    UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(359)), c_orderQueueReplace);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:1044

    // Conditions
    if (testConds) {
        if (!(((UnitGetType(EventUnitCargo()) == "Firebat") || (UnitGetType(EventUnitCargo()) == "Medic")))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:1044

    // Conditions
    if (testConds) {
        if (!(((UnitGetType(EventUnitCargo()) == "Firebat") || (UnitGetType(EventUnitCargo()) == "Medic")))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:1054

    }

    if ((UnitGetType(EventUnitCargo()) == "Firebat")) {
        Wait(0.2, c_timeGame);
        auto256F7B23_val = gv_firebatMove;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:1058

        auto256F7B23_val = gv_firebatMove;
        if (auto256F7B23_val == 1) {
            UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1646)), c_orderQueueReplace);
        }
        else if (auto256F7B23_val == 2) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:1061

        }
        else if (auto256F7B23_val == 2) {
            UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1647)), c_orderQueueReplace);
        }
        else if (auto256F7B23_val == 3) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:1064

        }
        else if (auto256F7B23_val == 3) {
            UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1648)), c_orderQueueReplace);
        }
        else {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:1068

        else {
        }
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointFromId(1653)), c_orderQueueAddToEnd);
        UnitIssueOrder(EventUnitCargo(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
        gv_firebatMove += 1;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:1069

        }
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointFromId(1653)), c_orderQueueAddToEnd);
        UnitIssueOrder(EventUnitCargo(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
        gv_firebatMove += 1;
        return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:1074

    }

    if ((UnitGetType(EventUnitCargo()) == "Medic")) {
        Wait(0.2, c_timeGame);
        auto0C0AB8E0_val = gv_medicMove;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:1078

        auto0C0AB8E0_val = gv_medicMove;
        if (auto0C0AB8E0_val == 1) {
            UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1650)), c_orderQueueReplace);
        }
        else if (auto0C0AB8E0_val == 2) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2mapMapScript.galaxy:3560

    }

    UnitRemove(EventUnitCargo());
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:2549

    }

    UnitBehaviorRemove(EventUnitCargo(), "Run", c_unitBehaviorCountAll);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:1402

    }

    UnitRemove(EventUnitCargo());
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:2863


    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_AttachModelToUnit(EventUnitCargo(), "BriefingUnitSelect", "Ref_Center");
    libNtve_gf_RescueUnit(EventUnitCargo(), gv_p01_USER, true);
    Wait(6.0, c_timeGame);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:2864

    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_AttachModelToUnit(EventUnitCargo(), "BriefingUnitSelect", "Ref_Center");
    libNtve_gf_RescueUnit(EventUnitCargo(), gv_p01_USER, true);
    Wait(6.0, c_timeGame);
    libNtve_gf_KillModel(libNtve_gf_ActorLastCreated());

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:11468

    // Conditions
    if (testConds) {
        if (!(((UnitGetType(EventUnitCargo()) == "Raynor") || (UnitGetType(EventUnitCargo()) == "Marine") || (UnitGetType(EventUnitCargo()) == "Medic")))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:11468

    // Conditions
    if (testConds) {
        if (!(((UnitGetType(EventUnitCargo()) == "Raynor") || (UnitGetType(EventUnitCargo()) == "Marine") || (UnitGetType(EventUnitCargo()) == "Medic")))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:11468

    // Conditions
    if (testConds) {
        if (!(((UnitGetType(EventUnitCargo()) == "Raynor") || (UnitGetType(EventUnitCargo()) == "Marine") || (UnitGetType(EventUnitCargo()) == "Medic")))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:11478

    }

    if ((UnitGetType(EventUnitCargo()) == "Raynor")) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(283)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointFromId(1482)), c_orderQueueAddToEnd);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:11479


    if ((UnitGetType(EventUnitCargo()) == "Raynor")) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(283)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointFromId(1482)), c_orderQueueAddToEnd);
        UnitIssueOrder(EventUnitCargo(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:11480

    if ((UnitGetType(EventUnitCargo()) == "Raynor")) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(283)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointFromId(1482)), c_orderQueueAddToEnd);
        UnitIssueOrder(EventUnitCargo(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
        return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:11481

        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(283)), c_orderQueueReplace);
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointFromId(1482)), c_orderQueueAddToEnd);
        UnitIssueOrder(EventUnitCargo(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
        return true;
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:11485

    }

    if ((UnitGetType(EventUnitCargo()) == "Marine")) {
        Wait(0.2, c_timeGame);
        autoA608E7AA_val = gv_marineMove;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:11489

        autoA608E7AA_val = gv_marineMove;
        if (autoA608E7AA_val == 1) {
            UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(7)), c_orderQueueReplace);
        }
        else if (autoA608E7AA_val == 2) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:11492

        }
        else if (autoA608E7AA_val == 2) {
            UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(15)), c_orderQueueReplace);
        }
        else if (autoA608E7AA_val == 3) {

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

    // Conditions
    if (testConds) {
        if (!((UnitGroupHasUnit(gv_introUnitCargoStart, EventUnitCargo()) == true))) {
            return false;
        }

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


    gv_introUnitCargoStartDrop += 1;
    UnitSetOwner(EventUnitCargo(), gv_p1_USER, true);
    UnitGroupAdd(gv_raynorsMarines, EventUnitCargo());
    Wait(0.2, c_timeGame);

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

    gv_introUnitCargoStartDrop += 1;
    UnitSetOwner(EventUnitCargo(), gv_p1_USER, true);
    UnitGroupAdd(gv_raynorsMarines, EventUnitCargo());
    Wait(0.2, c_timeGame);
    auto4DB55145_val = gv_introUnitCargoStartDrop;

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

    auto4DB55145_val = gv_introUnitCargoStartDrop;
    if (auto4DB55145_val == 1) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(505)), c_orderQueueReplace);
    }
    else if (auto4DB55145_val == 2) {

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

    }
    else if (auto4DB55145_val == 2) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(415)), c_orderQueueReplace);
    }
    else if (auto4DB55145_val == 3) {

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

    }
    else if (auto4DB55145_val == 3) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(581)), c_orderQueueReplace);
    }
    else if (auto4DB55145_val == 4) {

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

    }
    else if (auto4DB55145_val == 4) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(737)), c_orderQueueReplace);
    }
    else if (auto4DB55145_val == 5) {

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

    }
    else if (auto4DB55145_val == 5) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(885)), c_orderQueueReplace);
    }
    else if (auto4DB55145_val == 6) {

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

    }
    else if (auto4DB55145_val == 6) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1020)), c_orderQueueReplace);
    }
    else {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2mapMapScript.galaxy:1354

        }

        if (!((UnitGroupHasUnit(gv_sCVReinforcement, EventUnitCargo()) == true))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2mapMapScript.galaxy:1367

    auto653DA9EF_val = gv_sCVCargoDrop;
    if (auto653DA9EF_val == 1) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1025)), c_orderQueueReplace);
        TriggerEnable(gt_DropshipRemover, true);
        UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/A087C9B6"), "Assets\\Textures\\btn-unit-terran-scv.dds", PointFromId(688));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2mapMapScript.galaxy:1370

        TriggerEnable(gt_DropshipRemover, true);
        UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/A087C9B6"), "Assets\\Textures\\btn-unit-terran-scv.dds", PointFromId(688));
        gf_CreateInfoText(EventUnitCargo());
    }
    else if (auto653DA9EF_val == 2) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2mapMapScript.galaxy:1373

    }
    else if (auto653DA9EF_val == 2) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1026)), c_orderQueueReplace);
        gf_CreateInfoText(EventUnitCargo());
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2mapMapScript.galaxy:1374

    else if (auto653DA9EF_val == 2) {
        UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1026)), c_orderQueueReplace);
        gf_CreateInfoText(EventUnitCargo());
    }
    else if (auto653DA9EF_val == 3) {