# Add Escort UnitType To Attack Wave

Grammar — Add unit of type type 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 of the specified unit type to the next attack wave for a player with orders to escort another unit.

# Arguments

  • int — Player
  • string<gamelink::Unit> — Type
  • unit — Escort
  • fixed — Offset
  • fixed — Angle

Returns — void

native void AIAttackWaveAddEscortType(
	int player,
	string unitType,
	unit escort,
	fixed offset,
	fixed angle,
);

Category: AI / AttackWaves / Actions

# Examples

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

    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);
        if ((gv_escortIndex > 2)) {

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

        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);
        if ((gv_escortIndex > 2)) {
            AIAttackWaveAddEscortType(gv_p4_COLONISTS, "Marine", UnitGroupRandomUnit(gv_colonistsOnTheMove, c_unitCountAlive), 2.5, 135.0);

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

        AIAttackWaveAddEscortType(gv_p4_COLONISTS, "Marine", UnitGroupRandomUnit(gv_colonistsOnTheMove, c_unitCountAlive), 2.5, 315.0);
        if ((gv_escortIndex > 2)) {
            AIAttackWaveAddEscortType(gv_p4_COLONISTS, "Marine", UnitGroupRandomUnit(gv_colonistsOnTheMove, c_unitCountAlive), 2.5, 135.0);
        }

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


        if ((gv_escortIndex > 4)) {
            AIAttackWaveAddEscortType(gv_p4_COLONISTS, "Marine", UnitGroupRandomUnit(gv_colonistsOnTheMove, c_unitCountAlive), 2.5, 225.0);
        }

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

        lv_i = 1;
        for ( ; ( (auto7291BAD7_ai >= 0 && lv_i <= auto7291BAD7_ae) || (auto7291BAD7_ai < 0 && lv_i >= auto7291BAD7_ae) ) ; lv_i += auto7291BAD7_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveSend(gv_p4_PROTOSS_WEST_ESCORTS, 0, false);

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

        lv_i = 1;
        for ( ; ( (autoD3883E60_ai >= 0 && lv_i <= autoD3883E60_ae) || (autoD3883E60_ai < 0 && lv_i >= autoD3883E60_ae) ) ; lv_i += autoD3883E60_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveSend(gv_p4_PROTOSS_WEST_ESCORTS, 0, false);

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

        lv_i = 1;
        for ( ; ( (auto4A5B622D_ai >= 0 && lv_i <= auto4A5B622D_ae) || (auto4A5B622D_ai < 0 && lv_i >= auto4A5B622D_ae) ) ; lv_i += auto4A5B622D_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        lv_escortCount = libNtve_gf_DifficultyValueInt(1, 1, 2, 2);

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

        lv_i = 1;
        for ( ; ( (auto3E772D7A_ai >= 0 && lv_i <= auto3E772D7A_ae) || (auto3E772D7A_ai < 0 && lv_i >= auto3E772D7A_ae) ) ; lv_i += auto3E772D7A_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "VoidRay", lv_harvestingProbe, 1.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveSend(gv_p4_PROTOSS_WEST_ESCORTS, 0, false);

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

        lv_i = 1;
        for ( ; ( (auto3D79AC45_ai >= 0 && lv_i <= auto3D79AC45_ae) || (auto3D79AC45_ai < 0 && lv_i >= auto3D79AC45_ae) ) ; lv_i += auto3D79AC45_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        lv_escortCount = libNtve_gf_DifficultyValueInt(1, 1, 2, 2);

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

        lv_i = 1;
        for ( ; ( (autoAE209E35_ai >= 0 && lv_i <= autoAE209E35_ae) || (autoAE209E35_ai < 0 && lv_i >= autoAE209E35_ae) ) ; lv_i += autoAE209E35_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "VoidRay", lv_harvestingProbe, 1.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveAddUnits4(0, 0, 1, 1, "Observer");

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

        lv_i = 1;
        for ( ; ( (autoC2C70BA9_ai >= 0 && lv_i <= autoC2C70BA9_ae) || (autoC2C70BA9_ai < 0 && lv_i >= autoC2C70BA9_ae) ) ; lv_i += autoC2C70BA9_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        lv_escortCount = libNtve_gf_DifficultyValueInt(1, 1, 2, 2);

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

        lv_i = 1;
        for ( ; ( (autoF7DDB999_ai >= 0 && lv_i <= autoF7DDB999_ae) || (autoF7DDB999_ai < 0 && lv_i >= autoF7DDB999_ae) ) ; lv_i += autoF7DDB999_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "VoidRay", lv_harvestingProbe, 1.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveAddUnits4(0, 1, 1, 1, "Observer");

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

        lv_i = 1;
        for ( ; ( (autoF6D145CD_ai >= 0 && lv_i <= autoF6D145CD_ae) || (autoF6D145CD_ai < 0 && lv_i >= autoF6D145CD_ae) ) ; lv_i += autoF6D145CD_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        lv_escortCount = libNtve_gf_DifficultyValueInt(1, 1, 2, 2);

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

        lv_i = 1;
        for ( ; ( (auto0D7B1014_ai >= 0 && lv_i <= auto0D7B1014_ae) || (auto0D7B1014_ai < 0 && lv_i >= auto0D7B1014_ae) ) ; lv_i += auto0D7B1014_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "VoidRay", lv_harvestingProbe, 1.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveAddUnits4(1, 1, 1, 1, "Observer");

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

    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);
        if ((gv_escortIndex > 2)) {

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

        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);
        if ((gv_escortIndex > 2)) {
            AIAttackWaveAddEscortType(gv_p4_COLONISTS, "Marine", UnitGroupRandomUnit(gv_colonistsOnTheMove, c_unitCountAlive), 2.5, 135.0);

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

        AIAttackWaveAddEscortType(gv_p4_COLONISTS, "Marine", UnitGroupRandomUnit(gv_colonistsOnTheMove, c_unitCountAlive), 2.5, 315.0);
        if ((gv_escortIndex > 2)) {
            AIAttackWaveAddEscortType(gv_p4_COLONISTS, "Marine", UnitGroupRandomUnit(gv_colonistsOnTheMove, c_unitCountAlive), 2.5, 135.0);
        }

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


        if ((gv_escortIndex > 4)) {
            AIAttackWaveAddEscortType(gv_p4_COLONISTS, "Marine", UnitGroupRandomUnit(gv_colonistsOnTheMove, c_unitCountAlive), 2.5, 225.0);
        }

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

        lv_i = 1;
        for ( ; ( (auto7291BAD7_ai >= 0 && lv_i <= auto7291BAD7_ae) || (auto7291BAD7_ai < 0 && lv_i >= auto7291BAD7_ae) ) ; lv_i += auto7291BAD7_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveSend(gv_p4_PROTOSS_WEST_ESCORTS, 0, false);

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

        lv_i = 1;
        for ( ; ( (autoD3883E60_ai >= 0 && lv_i <= autoD3883E60_ae) || (autoD3883E60_ai < 0 && lv_i >= autoD3883E60_ae) ) ; lv_i += autoD3883E60_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveSend(gv_p4_PROTOSS_WEST_ESCORTS, 0, false);

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

        lv_i = 1;
        for ( ; ( (auto4A5B622D_ai >= 0 && lv_i <= auto4A5B622D_ae) || (auto4A5B622D_ai < 0 && lv_i >= auto4A5B622D_ae) ) ; lv_i += auto4A5B622D_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        lv_escortCount = libNtve_gf_DifficultyValueInt(1, 1, 2, 2);

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

        lv_i = 1;
        for ( ; ( (auto3E772D7A_ai >= 0 && lv_i <= auto3E772D7A_ae) || (auto3E772D7A_ai < 0 && lv_i >= auto3E772D7A_ae) ) ; lv_i += auto3E772D7A_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "VoidRay", lv_harvestingProbe, 1.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveSend(gv_p4_PROTOSS_WEST_ESCORTS, 0, false);

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

        lv_i = 1;
        for ( ; ( (auto3D79AC45_ai >= 0 && lv_i <= auto3D79AC45_ae) || (auto3D79AC45_ai < 0 && lv_i >= auto3D79AC45_ae) ) ; lv_i += auto3D79AC45_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        lv_escortCount = libNtve_gf_DifficultyValueInt(1, 1, 2, 2);

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

        lv_i = 1;
        for ( ; ( (autoAE209E35_ai >= 0 && lv_i <= autoAE209E35_ae) || (autoAE209E35_ai < 0 && lv_i >= autoAE209E35_ae) ) ; lv_i += autoAE209E35_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "VoidRay", lv_harvestingProbe, 1.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveAddUnits4(0, 0, 1, 1, "Observer");

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

        lv_i = 1;
        for ( ; ( (autoC2C70BA9_ai >= 0 && lv_i <= autoC2C70BA9_ae) || (autoC2C70BA9_ai < 0 && lv_i >= autoC2C70BA9_ae) ) ; lv_i += autoC2C70BA9_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        lv_escortCount = libNtve_gf_DifficultyValueInt(1, 1, 2, 2);

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

        lv_i = 1;
        for ( ; ( (autoF7DDB999_ai >= 0 && lv_i <= autoF7DDB999_ae) || (autoF7DDB999_ai < 0 && lv_i >= autoF7DDB999_ae) ) ; lv_i += autoF7DDB999_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "VoidRay", lv_harvestingProbe, 1.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveAddUnits4(0, 1, 1, 1, "Observer");

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

        lv_i = 1;
        for ( ; ( (autoF6D145CD_ai >= 0 && lv_i <= autoF6D145CD_ae) || (autoF6D145CD_ai < 0 && lv_i >= autoF6D145CD_ae) ) ; lv_i += autoF6D145CD_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        lv_escortCount = libNtve_gf_DifficultyValueInt(1, 1, 2, 2);

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

        lv_i = 1;
        for ( ; ( (auto0D7B1014_ai >= 0 && lv_i <= auto0D7B1014_ae) || (auto0D7B1014_ai < 0 && lv_i >= auto0D7B1014_ae) ) ; lv_i += auto0D7B1014_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "VoidRay", lv_harvestingProbe, 1.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveAddUnits4(1, 1, 1, 1, "Observer");

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

    if ((gv_timesZagaraDefeated == 1)) {
        if ((libHots_gf_DifficultyValueSwarmBoolean(false, false, true) == true)) {
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 180.0);

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

        if ((libHots_gf_DifficultyValueSwarmBoolean(false, false, true) == true)) {
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 180.0);
        }

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

            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 180.0);
        }
        else {

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

        }
        else {
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
        }

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

        else {
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
        }
    }

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

        if ((gv_timesZagaraDefeated == 2)) {
            if ((libHots_gf_DifficultyValueSwarmBoolean(false, false, true) == true)) {
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 0.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);

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

            if ((libHots_gf_DifficultyValueSwarmBoolean(false, false, true) == true)) {
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 0.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 120.0);

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

                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 0.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 120.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 240.0);

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

                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 0.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 120.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 240.0);
            }

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

                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 120.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 240.0);
            }
            else {

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

    if ((gv_timesZagaraDefeated == 1)) {
        if ((libHots_gf_DifficultyValueSwarmBoolean(false, false, true) == true)) {
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 180.0);

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

        if ((libHots_gf_DifficultyValueSwarmBoolean(false, false, true) == true)) {
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 180.0);
        }

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

            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 180.0);
        }
        else {

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

        }
        else {
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
        }

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

        else {
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
            AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
        }
    }

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

        if ((gv_timesZagaraDefeated == 2)) {
            if ((libHots_gf_DifficultyValueSwarmBoolean(false, false, true) == true)) {
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 0.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);

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

            if ((libHots_gf_DifficultyValueSwarmBoolean(false, false, true) == true)) {
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 0.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 120.0);

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

                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 60.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 0.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 120.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 240.0);

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

                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 0.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 120.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 240.0);
            }

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

                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, -60.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 120.0);
                AIAttackWaveAddEscortType(gv_pLAYER_02_ZERG, "Hydralisk", gv_zagara, 4.0, 240.0);
            }
            else {