# Set Target Escort For Attack Waves

Grammar — Set the target for player player attack waves to be escorting unit group escortGroup|UnitGroup with replace behavior replaceType. This version will leash.
FlagsNative | Action

Sets the target of a player’s attack waves to escort a unit group.

# Arguments

  • int — Attacker
  • unitgroup — EscortGroup
  • int<preset::ReplaceType> — ReplaceType

Returns — void

native void AIAttackWaveSetTargetEscort(
	int player,
	unitgroup g,
	int replaceType,
);

Category: AI / AttackWaves / Actions

# Examples

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

    }
    if ((UnitGroupCount(gv_colonistsOnTheMove, c_unitCountAlive) > 0)) {
        AIAttackWaveSetTargetEscort(gv_p4_COLONISTS, gv_colonistsOnTheMove, 0);
        AIAttackWaveAddEscortType(gv_p4_COLONISTS, "Marine", UnitGroupRandomUnit(gv_colonistsOnTheMove, c_unitCountAlive), 2.5, 45.0);
        AIAttackWaveAddEscortType(gv_p4_COLONISTS, "Marine", UnitGroupRandomUnit(gv_colonistsOnTheMove, c_unitCountAlive), 2.5, 315.0);

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

                UnitGroupAdd(lv_escortGroup, gv_trainList[lv_trainIndex].lv_trainCars[lv_i]);
            }
            AIAttackWaveSetTargetEscort(lv_escortPlayer, lv_escortGroup, 0);
            auto0F8EF654_ae = gv_trainList[lv_trainIndex].lv_numberOfEscorts;
            lv_i = 1;

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

    }
    if ((UnitGroupCount(gv_colonistsOnTheMove, c_unitCountAlive) > 0)) {
        AIAttackWaveSetTargetEscort(gv_p4_COLONISTS, gv_colonistsOnTheMove, 0);
        AIAttackWaveAddEscortType(gv_p4_COLONISTS, "Marine", UnitGroupRandomUnit(gv_colonistsOnTheMove, c_unitCountAlive), 2.5, 45.0);
        AIAttackWaveAddEscortType(gv_p4_COLONISTS, "Marine", UnitGroupRandomUnit(gv_colonistsOnTheMove, c_unitCountAlive), 2.5, 315.0);

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

                UnitGroupAdd(lv_escortGroup, gv_trainList[lv_trainIndex].lv_trainCars[lv_i]);
            }
            AIAttackWaveSetTargetEscort(lv_escortPlayer, lv_escortGroup, 0);
            auto0F8EF654_ae = gv_trainList[lv_trainIndex].lv_numberOfEscorts;
            lv_i = 1;

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


    TriggerEnable(TriggerGetCurrent(), false);
    AIAttackWaveSetTargetEscort(gv_pLAYER_02_ZERG, libNtve_gf_ConvertUnitToUnitGroup(gv_zagara), 0);
    AIAttackWaveSetGatherPoint(gv_pLAYER_02_ZERG, UnitGetPosition(gv_zagara));
    AISetUnitScriptControlled(gv_zagara, false);

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


    if ((libHots_gf_DifficultyValueInt2(1, 1, 0) == 1)) {
        AIAttackWaveSetTargetEscort(gv_pLAYER_02_ZERG, libNtve_gf_ConvertUnitToUnitGroup(gv_zagara), 0);
    }
    else {

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

    }
    else {
        AIAttackWaveSetTargetEscort(gv_pLAYER_02_ZERG, libNtve_gf_ConvertUnitToUnitGroup(gv_zagara), 2);
    }
    AIAttackWaveSetGatherPoint(gv_pLAYER_02_ZERG, UnitGetPosition(gv_zagara));

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

        Wait(1.5, c_timeAI);
    }
    AIAttackWaveSetTargetEscort(gv_pLAYER_02_SHUTTLE_BLUE, lv_lv_ShuttleGroup, 0);
    AIAttackWaveSetGatherPoint(gv_pLAYER_02_SHUTTLE_BLUE, UnitGetPosition(gv_dockingBayUnits[lv_lv_DockingBayIndex]));
    gf_AssignEscortsToShuttles(lv_lv_ShuttleGroup, lv_lv_EscortGroup);

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

    Wait(5.0, c_timeAI);
    libNtve_gf_KillModel(libNtve_gf_ActorLastCreated());
    AIAttackWaveSetTargetEscort(gv_pLAYER_02_DOMINION222, libNtve_gf_ConvertUnitToUnitGroup(lv_hybrid), 0);
    auto0A92F2EA_g = UnitGroup(null, gv_pLAYER_02_DOMINION222, RegionCircle(lv_spawnPoint_LOCAL, 8.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto0A92F2EA_u = UnitGroupCount(auto0A92F2EA_g, c_unitCountAll);

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

    }

    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);

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


    AIAttackWaveSend(gv_pLAYER_02_TALDARIM, 0, false);
    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);

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


    AIAttackWaveSend(gv_pLAYER_02_TALDARIM, 0, false);
    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);

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


    TriggerEnable(TriggerGetCurrent(), false);
    AIAttackWaveSetTargetEscort(gv_pLAYER_02_ZERG, libNtve_gf_ConvertUnitToUnitGroup(gv_zagara), 0);
    AIAttackWaveSetGatherPoint(gv_pLAYER_02_ZERG, UnitGetPosition(gv_zagara));
    AISetUnitScriptControlled(gv_zagara, false);

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


    if ((libHots_gf_DifficultyValueInt2(1, 1, 0) == 1)) {
        AIAttackWaveSetTargetEscort(gv_pLAYER_02_ZERG, libNtve_gf_ConvertUnitToUnitGroup(gv_zagara), 0);
    }
    else {

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

    }
    else {
        AIAttackWaveSetTargetEscort(gv_pLAYER_02_ZERG, libNtve_gf_ConvertUnitToUnitGroup(gv_zagara), 2);
    }
    AIAttackWaveSetGatherPoint(gv_pLAYER_02_ZERG, UnitGetPosition(gv_zagara));

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

        Wait(1.5, c_timeAI);
    }
    AIAttackWaveSetTargetEscort(gv_pLAYER_02_SHUTTLE_BLUE, lv_lv_ShuttleGroup, 0);
    AIAttackWaveSetGatherPoint(gv_pLAYER_02_SHUTTLE_BLUE, UnitGetPosition(gv_dockingBayUnits[lv_lv_DockingBayIndex]));
    gf_AssignEscortsToShuttles(lv_lv_ShuttleGroup, lv_lv_EscortGroup);

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

    Wait(5.0, c_timeAI);
    libNtve_gf_KillModel(libNtve_gf_ActorLastCreated());
    AIAttackWaveSetTargetEscort(gv_pLAYER_02_DOMINION222, libNtve_gf_ConvertUnitToUnitGroup(lv_hybrid), 0);
    auto0A92F2EA_g = UnitGroup(null, gv_pLAYER_02_DOMINION222, RegionCircle(lv_spawnPoint_LOCAL, 8.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto0A92F2EA_u = UnitGroupCount(auto0A92F2EA_g, c_unitCountAll);

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

    }

    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);

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


    AIAttackWaveSend(gv_pLAYER_02_TALDARIM, 0, false);
    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);

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


    AIAttackWaveSend(gv_pLAYER_02_TALDARIM, 0, false);
    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);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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.5, 15.0);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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.5, 15.0);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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.5, 15.0);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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, 5.0, 15.0);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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, 5.0, 15.0);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:729

    AISetGroupScriptControlled(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup, false);
    AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION7, UnitGetPosition(lv_escortUnit));
    AIAttackWaveSetTargetEscort(gv_pLAYER_02_DOMINION7, libNtve_gf_ConvertUnitToUnitGroup(lv_escortUnit), 0);
    AIAttackWaveUseGroup(gv_pLAYER_02_DOMINION7, gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup);
    AIAttackWaveSend(gv_pLAYER_02_DOMINION7, 0, true);

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

    libNtve_gf_CreateUnitsAtPoint2(1, "WarpPrism", 0, gv_pLAYER_03_TAL_EAST, PointFromId(923));
    lv_warpPrism = UnitLastCreated();
    AIAttackWaveSetTargetEscort(gv_pLAYER_03_TAL_EAST, libNtve_gf_ConvertUnitToUnitGroup(lv_warpPrism), 0);
    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(948));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());

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

    libNtve_gf_CreateUnitsAtPoint2(1, "WarpPrism", 0, gv_pLAYER_03_TAL_EAST, PointFromId(651));
    lv_warpPrism = UnitLastCreated();
    AIAttackWaveSetTargetEscort(gv_pLAYER_03_TAL_EAST, libNtve_gf_ConvertUnitToUnitGroup(lv_warpPrism), 0);
    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(648));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());

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


    AIAttackWaveSetGatherPoint(gv_pLAYER_02_TALDARIM, UnitGetPosition(gv_titanicWarpPrism));
    AIAttackWaveSetTargetEscort(gv_pLAYER_02_TALDARIM, libNtve_gf_ConvertUnitToUnitGroup(gv_titanicWarpPrism), 0);
    autoB7B8E240_g = UnitGroup("VoidRay", 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);
    autoB7B8E240_u = UnitGroupCount(autoB7B8E240_g, c_unitCountAll);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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.5, 15.0);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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.5, 15.0);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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.5, 15.0);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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, 5.0, 15.0);

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

    lv_lv_EscortTargetUnit = UnitLastCreated();
    UnitGroupAdd(gv_armadaUnitGroup, lv_lv_EscortTargetUnit);
    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, 5.0, 15.0);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2mapMapScript.galaxy:729

    AISetGroupScriptControlled(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup, false);
    AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION7, UnitGetPosition(lv_escortUnit));
    AIAttackWaveSetTargetEscort(gv_pLAYER_02_DOMINION7, libNtve_gf_ConvertUnitToUnitGroup(lv_escortUnit), 0);
    AIAttackWaveUseGroup(gv_pLAYER_02_DOMINION7, gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup);
    AIAttackWaveSend(gv_pLAYER_02_DOMINION7, 0, true);

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

    libNtve_gf_CreateUnitsAtPoint2(1, "WarpPrism", 0, gv_pLAYER_03_TAL_EAST, PointFromId(923));
    lv_warpPrism = UnitLastCreated();
    AIAttackWaveSetTargetEscort(gv_pLAYER_03_TAL_EAST, libNtve_gf_ConvertUnitToUnitGroup(lv_warpPrism), 0);
    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(948));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());

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

    libNtve_gf_CreateUnitsAtPoint2(1, "WarpPrism", 0, gv_pLAYER_03_TAL_EAST, PointFromId(651));
    lv_warpPrism = UnitLastCreated();
    AIAttackWaveSetTargetEscort(gv_pLAYER_03_TAL_EAST, libNtve_gf_ConvertUnitToUnitGroup(lv_warpPrism), 0);
    libNtve_gf_CreateUnitsAtPoint2(1, "Scout", 0, gv_pLAYER_03_TAL_EAST, PointFromId(648));
    UnitGroupAdd(lv_escortGroup, UnitLastCreated());

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


    AIAttackWaveSetGatherPoint(gv_pLAYER_02_TALDARIM, UnitGetPosition(gv_titanicWarpPrism));
    AIAttackWaveSetTargetEscort(gv_pLAYER_02_TALDARIM, libNtve_gf_ConvertUnitToUnitGroup(gv_titanicWarpPrism), 0);
    autoB7B8E240_g = UnitGroup("VoidRay", 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);
    autoB7B8E240_u = UnitGroupCount(autoB7B8E240_g, c_unitCountAll);

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

    lv_warpPrismUnit = UnitLastCreated();
    AIAttackWaveSetGatherPoint(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1321));
    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);

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

    lv_warpPrismUnit = UnitLastCreated();
    AIAttackWaveSetGatherPoint(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1321));
    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);