# Add Escort Unit To Attack Wave

Grammar — Add unit to the next attack wave for player player, the unit is specifically assigned to escort escort offset by offset|Distance towards angle degrees.
FlagsNative | Action

Adds a unit to the next attack wave for a player with orders to escort another unit.

# Arguments

  • int — Player
  • unit — Unit
  • unit — Escort
  • fixed — Offset
  • fixed — Angle

Returns — void

native void AIAttackWaveAddEscortUnit(
	int player,
	unit u,
	unit escort,
	fixed offset,
	fixed angle,
);

Category: AI / AttackWaves / Actions

# Examples

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

                if ((UnitIsAlive(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort) == true)) {
                    AISetUnitScriptControlled(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, false);
                    AIAttackWaveAddEscortUnit(lv_escortPlayer, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escortCar], gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarRadius, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle);
                    lv_escortCount += 1;
                }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2mapMapScript.galaxy:2087

                if ((UnitIsAlive(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort) == true)) {
                    AISetUnitScriptControlled(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, false);
                    AIAttackWaveAddEscortUnit(lv_escortPlayer, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escortCar], gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarRadius, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle);
                    lv_escortCount += 1;
                }

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

        lv_angle -= 20.0;
        AISetUnitScriptControlled(auto31CD32E2_var, false);
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_ZERG, auto31CD32E2_var, gv_zagara, 2.5, lv_angle);
    }
    AIAttackWaveSend(gv_pLAYER_02_ZERG, 0, true);

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

            lv_angle = ATan((lv_y/lv_x));
        }
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_SHUTTLE_BLUE, UnitGroupUnit(lp_escortGroup, lv_index), lv_shuttleToEscort, (lv_offset * lv_distanceModifier), lv_angle);
        lv_index += 1;
        if ((lv_index > UnitGroupCount(lp_escortGroup, c_unitCountAlive))) {

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


        lv_angle = (360.0 - lv_angle);
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_SHUTTLE_BLUE, UnitGroupUnit(lp_escortGroup, lv_index), lv_shuttleToEscort, (lv_offset * lv_distanceModifier), lv_angle);
        lv_x += lv_distance;
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:533

        auto0A92F2EA_var = UnitGroupUnitFromEnd(auto0A92F2EA_g, auto0A92F2EA_u);
        if (auto0A92F2EA_var == null) { break; }
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_DOMINION222, auto0A92F2EA_var, lv_hybrid, DistanceBetweenPoints(UnitGetPosition(auto0A92F2EA_var), UnitGetPosition(lv_hybrid)), (AngleBetweenPoints(UnitGetPosition(lv_hybrid), UnitGetPosition(auto0A92F2EA_var)) - UnitGetFacing(lv_hybrid)));
    }
    AIAttackWaveSend(gv_pLAYER_02_DOMINION222, 0, false);

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

    AIAttackWaveSetTargetEscort(gv_pLAYER_02_TALDARIM, libNtve_gf_ConvertUnitToUnitGroup(gv_s1_PatrollingObserver01), 2);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1170));
    AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, UnitLastCreated(), gv_s1_PatrollingObserver01, 4.0, 140.0);
    if ((libA3DDD02B_gf_DifficultyValuePrologueInteger(0, 0, 1, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1181));

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

    if ((libA3DDD02B_gf_DifficultyValuePrologueInteger(0, 0, 1, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1181));
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, UnitLastCreated(), gv_s1_PatrollingObserver01, 4.0, 220.0);
    }

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

    AIAttackWaveSetTargetEscort(gv_pLAYER_02_TALDARIM, libNtve_gf_ConvertUnitToUnitGroup(gv_s1_PatrollingObserver02), 2);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1182));
    AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, UnitLastCreated(), gv_s1_PatrollingObserver02, 4.0, 240.0);
    if ((libA3DDD02B_gf_DifficultyValuePrologueInteger(0, 0, 1, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1183));

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

    if ((libA3DDD02B_gf_DifficultyValuePrologueInteger(0, 0, 1, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1183));
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, UnitLastCreated(), gv_s1_PatrollingObserver02, 4.0, 120.0);
    }

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

    AIAttackWaveSetTargetEscort(gv_pLAYER_02_TALDARIM, libNtve_gf_ConvertUnitToUnitGroup(gv_s1_PatrollingObserver03), 2);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1184));
    AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, UnitLastCreated(), gv_s1_PatrollingObserver03, 4.0, 120.0);
    if ((libA3DDD02B_gf_DifficultyValuePrologueInteger(0, 0, 1, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1185));

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

    if ((libA3DDD02B_gf_DifficultyValuePrologueInteger(0, 0, 1, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1185));
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, UnitLastCreated(), gv_s1_PatrollingObserver03, 4.0, 240.0);
    }

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

        lv_angle -= 20.0;
        AISetUnitScriptControlled(auto31CD32E2_var, false);
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_ZERG, auto31CD32E2_var, gv_zagara, 2.5, lv_angle);
    }
    AIAttackWaveSend(gv_pLAYER_02_ZERG, 0, true);

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

            lv_angle = ATan((lv_y/lv_x));
        }
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_SHUTTLE_BLUE, UnitGroupUnit(lp_escortGroup, lv_index), lv_shuttleToEscort, (lv_offset * lv_distanceModifier), lv_angle);
        lv_index += 1;
        if ((lv_index > UnitGroupCount(lp_escortGroup, c_unitCountAlive))) {

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


        lv_angle = (360.0 - lv_angle);
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_SHUTTLE_BLUE, UnitGroupUnit(lp_escortGroup, lv_index), lv_shuttleToEscort, (lv_offset * lv_distanceModifier), lv_angle);
        lv_x += lv_distance;
    }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2mapMapScript.galaxy:533

        auto0A92F2EA_var = UnitGroupUnitFromEnd(auto0A92F2EA_g, auto0A92F2EA_u);
        if (auto0A92F2EA_var == null) { break; }
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_DOMINION222, auto0A92F2EA_var, lv_hybrid, DistanceBetweenPoints(UnitGetPosition(auto0A92F2EA_var), UnitGetPosition(lv_hybrid)), (AngleBetweenPoints(UnitGetPosition(lv_hybrid), UnitGetPosition(auto0A92F2EA_var)) - UnitGetFacing(lv_hybrid)));
    }
    AIAttackWaveSend(gv_pLAYER_02_DOMINION222, 0, false);

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

    AIAttackWaveSetTargetEscort(gv_pLAYER_02_TALDARIM, libNtve_gf_ConvertUnitToUnitGroup(gv_s1_PatrollingObserver01), 2);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1170));
    AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, UnitLastCreated(), gv_s1_PatrollingObserver01, 4.0, 140.0);
    if ((libA3DDD02B_gf_DifficultyValuePrologueInteger(0, 0, 1, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1181));

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

    if ((libA3DDD02B_gf_DifficultyValuePrologueInteger(0, 0, 1, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1181));
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, UnitLastCreated(), gv_s1_PatrollingObserver01, 4.0, 220.0);
    }

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

    AIAttackWaveSetTargetEscort(gv_pLAYER_02_TALDARIM, libNtve_gf_ConvertUnitToUnitGroup(gv_s1_PatrollingObserver02), 2);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1182));
    AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, UnitLastCreated(), gv_s1_PatrollingObserver02, 4.0, 240.0);
    if ((libA3DDD02B_gf_DifficultyValuePrologueInteger(0, 0, 1, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1183));

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

    if ((libA3DDD02B_gf_DifficultyValuePrologueInteger(0, 0, 1, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1183));
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, UnitLastCreated(), gv_s1_PatrollingObserver02, 4.0, 120.0);
    }

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

    AIAttackWaveSetTargetEscort(gv_pLAYER_02_TALDARIM, libNtve_gf_ConvertUnitToUnitGroup(gv_s1_PatrollingObserver03), 2);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1184));
    AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, UnitLastCreated(), gv_s1_PatrollingObserver03, 4.0, 120.0);
    if ((libA3DDD02B_gf_DifficultyValuePrologueInteger(0, 0, 1, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1185));

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

    if ((libA3DDD02B_gf_DifficultyValuePrologueInteger(0, 0, 1, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_TALDARIM, PointFromId(1185));
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, UnitLastCreated(), gv_s1_PatrollingObserver03, 4.0, 240.0);
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:4263

    AIAttackWaveSetTargetEscort(gv_pLAYER_05_PROTOSS_ARMADA, libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit), 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, 4.0, 45.0);
    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:4266

    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, 4.0, 315.0);
    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:4269

    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, libLotv_gf_DifficultyValueFixed2(4.0, 4.0, 4.0, 3.0), libLotv_gf_DifficultyValueFixed2(105.0, 105.0, 105.0, 135.0));
    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:4272

    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, libLotv_gf_DifficultyValueFixed2(4.0, 4.0, 4.0, 3.0), libLotv_gf_DifficultyValueFixed2(255.0, 255.0, 255.0, 225.0));
    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    if ((libLotv_gf_DifficultyValueInt2(0, 0, 0, 1) == 1)) {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:4276

    if ((libLotv_gf_DifficultyValueInt2(0, 0, 0, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "Phoenix", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
        AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, 4.0, 270.0);
        UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "Phoenix", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:4279

        UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "Phoenix", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
        AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, 4.0, 90.0);
        UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:4284


    libNtve_gf_CreateUnitsWithDefaultFacing(1, "WarpPrism", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, 3.0, 180.0);
    gf_SuperWarpGateLogic(UnitLastCreated());
    AIAttackWaveSend(gv_pLAYER_05_PROTOSS_ARMADA, 0, false);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:4349

    AIAttackWaveSetTargetEscort(gv_pLAYER_05_PROTOSS_ARMADA, libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit), 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, 4.0, 45.0);
    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:4352

    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, 4.0, 315.0);
    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:4355

    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, libLotv_gf_DifficultyValueFixed2(4.0, 4.0, 4.0, 3.0), libLotv_gf_DifficultyValueFixed2(105.0, 105.0, 105.0, 135.0));
    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:3179

    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(948));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());
    AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 4.0, 250.0);
    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(926));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:3182

    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(926));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());
    AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 4.0, 110.0);
    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(878));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:3185

    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(878));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());
    AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 5.0, 330.0);
    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(907));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:3188

    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(907));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());
    AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 5.0, 30.0);
    auto15D59078_val = libLotv_gf_DifficultyValueInt2(1, 1, 2, 3);
    if (auto15D59078_val == 1) {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:3199

            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(825));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());
            AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 7.0, 290.0);
            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(824));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:3202

            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(824));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());
            AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 7.0, 70.0);
        }
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:3212

            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(825));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());
            AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 7.0, 290.0);
            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(824));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:3215

            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(824));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());
            AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 7.0, 70.0);
        }
        else {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:3220

            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(825));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());
            AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 7.0, 290.0);
            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(824));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:3223

            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(824));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());
            AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 7.0, 70.0);
            libNtve_gf_CreateUnitsAtPoint2(1, "Carrier", 0, gv_pLAYER_03_TAL_EAST, PointFromId(977));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());

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

        autoB7B8E240_var = UnitGroupUnitFromEnd(autoB7B8E240_g, autoB7B8E240_u);
        if (autoB7B8E240_var == null) { break; }
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, autoB7B8E240_var, gv_titanicWarpPrism, DistanceBetweenPoints(UnitGetPosition(autoB7B8E240_var), UnitGetPosition(gv_titanicWarpPrism)), AngleBetweenPoints(UnitGetPosition(gv_titanicWarpPrism), UnitGetPosition(autoB7B8E240_var)));
    }
    autoA408650D_g = UnitGroup("Scout", gv_pLAYER_02_TALDARIM, RegionCircle(UnitGetPosition(gv_titanicWarpPrism), 12.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        autoA408650D_var = UnitGroupUnitFromEnd(autoA408650D_g, autoA408650D_u);
        if (autoA408650D_var == null) { break; }
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, autoA408650D_var, gv_titanicWarpPrism, DistanceBetweenPoints(UnitGetPosition(autoA408650D_var), UnitGetPosition(gv_titanicWarpPrism)), AngleBetweenPoints(UnitGetPosition(gv_titanicWarpPrism), UnitGetPosition(autoA408650D_var)));
    }
    auto9BD4A0CB_g = UnitGroup("Carrier", gv_pLAYER_02_TALDARIM, RegionCircle(UnitGetPosition(gv_titanicWarpPrism), 12.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        auto9BD4A0CB_var = UnitGroupUnitFromEnd(auto9BD4A0CB_g, auto9BD4A0CB_u);
        if (auto9BD4A0CB_var == null) { break; }
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, auto9BD4A0CB_var, gv_titanicWarpPrism, DistanceBetweenPoints(UnitGetPosition(auto9BD4A0CB_var), UnitGetPosition(gv_titanicWarpPrism)), AngleBetweenPoints(UnitGetPosition(gv_titanicWarpPrism), UnitGetPosition(auto9BD4A0CB_var)));
    }
    AIAttackWaveSend(gv_pLAYER_02_TALDARIM, 0, false);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2mapMapScript.galaxy:4263

    AIAttackWaveSetTargetEscort(gv_pLAYER_05_PROTOSS_ARMADA, libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit), 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, 4.0, 45.0);
    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2mapMapScript.galaxy:4266

    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, 4.0, 315.0);
    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2mapMapScript.galaxy:4269

    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, libLotv_gf_DifficultyValueFixed2(4.0, 4.0, 4.0, 3.0), libLotv_gf_DifficultyValueFixed2(105.0, 105.0, 105.0, 135.0));
    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2mapMapScript.galaxy:4272

    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, libLotv_gf_DifficultyValueFixed2(4.0, 4.0, 4.0, 3.0), libLotv_gf_DifficultyValueFixed2(255.0, 255.0, 255.0, 225.0));
    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    if ((libLotv_gf_DifficultyValueInt2(0, 0, 0, 1) == 1)) {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2mapMapScript.galaxy:4276

    if ((libLotv_gf_DifficultyValueInt2(0, 0, 0, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "Phoenix", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
        AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, 4.0, 270.0);
        UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "Phoenix", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2mapMapScript.galaxy:4279

        UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "Phoenix", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
        AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, 4.0, 90.0);
        UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2mapMapScript.galaxy:4284


    libNtve_gf_CreateUnitsWithDefaultFacing(1, "WarpPrism", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, 3.0, 180.0);
    gf_SuperWarpGateLogic(UnitLastCreated());
    AIAttackWaveSend(gv_pLAYER_05_PROTOSS_ARMADA, 0, false);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2mapMapScript.galaxy:4349

    AIAttackWaveSetTargetEscort(gv_pLAYER_05_PROTOSS_ARMADA, libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit), 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, 4.0, 45.0);
    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2mapMapScript.galaxy:4352

    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, 4.0, 315.0);
    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2mapMapScript.galaxy:4355

    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);
    AIAttackWaveAddEscortUnit(gv_pLAYER_05_PROTOSS_ARMADA, UnitLastCreated(), lv_lv_EscortTargetUnit, libLotv_gf_DifficultyValueFixed2(4.0, 4.0, 4.0, 3.0), libLotv_gf_DifficultyValueFixed2(105.0, 105.0, 105.0, 135.0));
    UnitGroupAdd(gv_armadaUnitGroup, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_05_PROTOSS_ARMADA, lv_lv_SpawnPoint);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2mapMapScript.galaxy:3179

    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(948));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());
    AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 4.0, 250.0);
    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(926));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2mapMapScript.galaxy:3182

    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(926));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());
    AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 4.0, 110.0);
    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(878));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2mapMapScript.galaxy:3185

    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(878));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());
    AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 5.0, 330.0);
    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(907));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2mapMapScript.galaxy:3188

    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(907));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());
    AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 5.0, 30.0);
    auto15D59078_val = libLotv_gf_DifficultyValueInt2(1, 1, 2, 3);
    if (auto15D59078_val == 1) {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2mapMapScript.galaxy:3199

            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(825));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());
            AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 7.0, 290.0);
            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(824));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2mapMapScript.galaxy:3202

            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(824));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());
            AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 7.0, 70.0);
        }
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2mapMapScript.galaxy:3212

            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(825));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());
            AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 7.0, 290.0);
            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(824));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2mapMapScript.galaxy:3215

            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(824));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());
            AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 7.0, 70.0);
        }
        else {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2mapMapScript.galaxy:3220

            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(825));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());
            AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 7.0, 290.0);
            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(824));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2mapMapScript.galaxy:3223

            libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(824));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());
            AIAttackWaveAddEscortUnit(gv_pLAYER_03_TAL_EAST, UnitLastCreated(), lv_warpPrism, 7.0, 70.0);
            libNtve_gf_CreateUnitsAtPoint2(1, "Carrier", 0, gv_pLAYER_03_TAL_EAST, PointFromId(977));
            UnitGroupAdd(lv_escortGroup, UnitLastCreated());

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

        autoB7B8E240_var = UnitGroupUnitFromEnd(autoB7B8E240_g, autoB7B8E240_u);
        if (autoB7B8E240_var == null) { break; }
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, autoB7B8E240_var, gv_titanicWarpPrism, DistanceBetweenPoints(UnitGetPosition(autoB7B8E240_var), UnitGetPosition(gv_titanicWarpPrism)), AngleBetweenPoints(UnitGetPosition(gv_titanicWarpPrism), UnitGetPosition(autoB7B8E240_var)));
    }
    autoA408650D_g = UnitGroup("Scout", gv_pLAYER_02_TALDARIM, RegionCircle(UnitGetPosition(gv_titanicWarpPrism), 12.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        autoA408650D_var = UnitGroupUnitFromEnd(autoA408650D_g, autoA408650D_u);
        if (autoA408650D_var == null) { break; }
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, autoA408650D_var, gv_titanicWarpPrism, DistanceBetweenPoints(UnitGetPosition(autoA408650D_var), UnitGetPosition(gv_titanicWarpPrism)), AngleBetweenPoints(UnitGetPosition(gv_titanicWarpPrism), UnitGetPosition(autoA408650D_var)));
    }
    auto9BD4A0CB_g = UnitGroup("Carrier", gv_pLAYER_02_TALDARIM, RegionCircle(UnitGetPosition(gv_titanicWarpPrism), 12.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        auto9BD4A0CB_var = UnitGroupUnitFromEnd(auto9BD4A0CB_g, auto9BD4A0CB_u);
        if (auto9BD4A0CB_var == null) { break; }
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_TALDARIM, auto9BD4A0CB_var, gv_titanicWarpPrism, DistanceBetweenPoints(UnitGetPosition(auto9BD4A0CB_var), UnitGetPosition(gv_titanicWarpPrism)), AngleBetweenPoints(UnitGetPosition(gv_titanicWarpPrism), UnitGetPosition(auto9BD4A0CB_var)));
    }
    AIAttackWaveSend(gv_pLAYER_02_TALDARIM, 0, false);

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:2617

    AIAttackWaveSetTargetEscort(gv_pLAYER_02_PROTOSS_BULLIES, libNtve_gf_ConvertUnitToUnitGroup(lv_warpPrismUnit), 0);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Phoenix", 0, gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1321));
    AIAttackWaveAddEscortUnit(gv_pLAYER_02_PROTOSS_BULLIES, UnitLastCreated(), lv_warpPrismUnit, 3.0, 45.0);
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());
    if ((libLotv_gf_DifficultyValueInt2(0, 0, 1, 1) == 1)) {

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:2621

    if ((libLotv_gf_DifficultyValueInt2(0, 0, 1, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "Oracle", 0, gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1321));
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_PROTOSS_BULLIES, UnitLastCreated(), lv_warpPrismUnit, 3.0, -135.0);
        UnitGroupAdd(lv_escortGroup, UnitLastCreated());
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "Phoenix", 0, gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1321));

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:2624

        UnitGroupAdd(lv_escortGroup, UnitLastCreated());
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "Phoenix", 0, gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1321));
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_PROTOSS_BULLIES, UnitLastCreated(), lv_warpPrismUnit, 3.0, -45.0);
        UnitGroupAdd(lv_escortGroup, UnitLastCreated());
    }

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:2630

    if ((libLotv_gf_DifficultyValueInt2(0, 0, 0, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1321));
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_PROTOSS_BULLIES, UnitLastCreated(), lv_warpPrismUnit, 3.0, 135.0);
        UnitGroupAdd(lv_escortGroup, UnitLastCreated());
    }

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2mapMapScript.galaxy:2617

    AIAttackWaveSetTargetEscort(gv_pLAYER_02_PROTOSS_BULLIES, libNtve_gf_ConvertUnitToUnitGroup(lv_warpPrismUnit), 0);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Phoenix", 0, gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1321));
    AIAttackWaveAddEscortUnit(gv_pLAYER_02_PROTOSS_BULLIES, UnitLastCreated(), lv_warpPrismUnit, 3.0, 45.0);
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());
    if ((libLotv_gf_DifficultyValueInt2(0, 0, 1, 1) == 1)) {

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2mapMapScript.galaxy:2621

    if ((libLotv_gf_DifficultyValueInt2(0, 0, 1, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "Oracle", 0, gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1321));
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_PROTOSS_BULLIES, UnitLastCreated(), lv_warpPrismUnit, 3.0, -135.0);
        UnitGroupAdd(lv_escortGroup, UnitLastCreated());
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "Phoenix", 0, gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1321));

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2mapMapScript.galaxy:2624

        UnitGroupAdd(lv_escortGroup, UnitLastCreated());
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "Phoenix", 0, gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1321));
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_PROTOSS_BULLIES, UnitLastCreated(), lv_warpPrismUnit, 3.0, -45.0);
        UnitGroupAdd(lv_escortGroup, UnitLastCreated());
    }

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2mapMapScript.galaxy:2630

    if ((libLotv_gf_DifficultyValueInt2(0, 0, 0, 1) == 1)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "Scout", 0, gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1321));
        AIAttackWaveAddEscortUnit(gv_pLAYER_02_PROTOSS_BULLIES, UnitLastCreated(), lv_warpPrismUnit, 3.0, 135.0);
        UnitGroupAdd(lv_escortGroup, UnitLastCreated());
    }