# Issue AI Order

Grammar — Suggests order order to unit using tactical AI logic
FlagsAction

Suggests an order to a unit. If the computer that controls the unit has the ability to execute the order (with respect to its current APM constraint), then it will do so. The order will eventually be dropped if the computer is unable to execute it for a few seconds after it was issued. If you need a unit to do something immediately, use Issue Order instead.

# Arguments

  • unit — Unit
  • order — Order

Returns — void

void libNtve_gf_AICast(unit lp_unit, order lp_order);

Category: AI / MiscCampaign / Actions

# Examples

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

            autoD4B68B02_var = UnitGroupUnitFromEnd(autoD4B68B02_g, autoD4B68B02_u);
            if (autoD4B68B02_var == null) { break; }
            libNtve_gf_AICast(autoD4B68B02_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupRandomUnit(UnitGroup(null, gv_p01_USER, RegionFromId(47), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive))));
        }
    }

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

            auto70B70FB3_var = UnitGroupUnitFromEnd(auto70B70FB3_g, auto70B70FB3_u);
            if (auto70B70FB3_var == null) { break; }
            libNtve_gf_AICast(auto70B70FB3_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupRandomUnit(UnitGroup(null, gv_p01_USER, RegionFromId(48), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive))));
        }
        autoE44AEF93_g = UnitGroup(null, 2, RegionFromId(58), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

            autoE44AEF93_var = UnitGroupUnitFromEnd(autoE44AEF93_g, autoE44AEF93_u);
            if (autoE44AEF93_var == null) { break; }
            libNtve_gf_AICast(autoE44AEF93_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupRandomUnit(UnitGroup(null, gv_p01_USER, RegionFromId(48), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive))));
        }
    }

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

            autoD081A4BB_var = UnitGroupUnitFromEnd(autoD081A4BB_g, autoD081A4BB_u);
            if (autoD081A4BB_var == null) { break; }
            libNtve_gf_AICast(autoD081A4BB_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupRandomUnit(UnitGroup(null, gv_p01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive))));
        }
    }

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

        UnitBehaviorRemove(autoF3942310_var, "ScanRangeBonus", 1);
        AISetUnitScriptControlled(autoF3942310_var, false);
        libNtve_gf_AICast(autoF3942310_var, Order(AbilityCommand("stop", 0)));
    }
    auto664148D3_g = UnitGroup(null, gv_p03_DOMINION_SIEGE, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        UnitBehaviorRemove(auto664148D3_var, "ScanRangeBonus", 1);
        AISetUnitScriptControlled(auto664148D3_var, false);
        libNtve_gf_AICast(auto664148D3_var, Order(AbilityCommand("stop", 0)));
    }
    autoFA9D59B5_g = UnitGroup(null, gv_p04_DOMINION_AIR, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        UnitBehaviorRemove(autoFA9D59B5_var, "ScanRangeBonus", 1);
        AISetUnitScriptControlled(autoFA9D59B5_var, false);
        libNtve_gf_AICast(autoFA9D59B5_var, Order(AbilityCommand("stop", 0)));
    }
    auto2C0BF552_g = UnitGroup(null, gv_p05_DOMINION_RAIDER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        UnitBehaviorRemove(auto2C0BF552_var, "ScanRangeBonus", 1);
        AISetUnitScriptControlled(auto2C0BF552_var, false);
        libNtve_gf_AICast(auto2C0BF552_var, Order(AbilityCommand("stop", 0)));
    }
    UnitPauseAll(false);

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

    // Implementation
    if ((UnitGetPropertyFixed(gv_tosh, c_unitPropLifePercent, c_unitPropCurrent) < 100.0) && (DistanceBetweenPoints(UnitGetPosition(gv_tosh), UnitGetPosition(lp_medic)) <= 6.0)) {
        libNtve_gf_AICast(lp_medic, OrderTargetingUnit(AbilityCommand("heal", 0), gv_tosh));
    }

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

        auto2382E995_var = UnitGroupUnitFromEnd(auto2382E995_g, auto2382E995_u);
        if (auto2382E995_var == null) { break; }
        libNtve_gf_AICast(auto2382E995_var, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(RegionRandomPoint(RegionCircle(UnitGetPosition(gv_leviathan), 8.0)), 8.0, UnitGetFacing(gv_leviathan))));
    }
    if ((UnitIsAlive(gv_leviathan) == false)) {

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

        if ((lv_target != null)) {
            UnitGroupRemove(lv_gravitonTargets, lv_target);
            libNtve_gf_AICast(gv_hybridPhysical, OrderTargetingUnit(AbilityCommand("GravitonPrison", 0), lv_target));
            Wait(0.6, c_timeGame);
        }

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

        if ((lv_target != null)) {
            UnitGroupRemove(lv_plasmaTargets, lv_target);
            libNtve_gf_AICast(gv_hybridPhysical, OrderTargetingUnit(AbilityCommand("HybridCPlasmaBlast", 0), lv_target));
            Wait(2.5, c_timeGame);
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:1693

            autoD4B68B02_var = UnitGroupUnitFromEnd(autoD4B68B02_g, autoD4B68B02_u);
            if (autoD4B68B02_var == null) { break; }
            libNtve_gf_AICast(autoD4B68B02_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupRandomUnit(UnitGroup(null, gv_p01_USER, RegionFromId(47), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive))));
        }
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:1745

            auto70B70FB3_var = UnitGroupUnitFromEnd(auto70B70FB3_g, auto70B70FB3_u);
            if (auto70B70FB3_var == null) { break; }
            libNtve_gf_AICast(auto70B70FB3_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupRandomUnit(UnitGroup(null, gv_p01_USER, RegionFromId(48), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive))));
        }
        autoE44AEF93_g = UnitGroup(null, 2, RegionFromId(58), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:1752

            autoE44AEF93_var = UnitGroupUnitFromEnd(autoE44AEF93_g, autoE44AEF93_u);
            if (autoE44AEF93_var == null) { break; }
            libNtve_gf_AICast(autoE44AEF93_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupRandomUnit(UnitGroup(null, gv_p01_USER, RegionFromId(48), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive))));
        }
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:1801

            autoD081A4BB_var = UnitGroupUnitFromEnd(autoD081A4BB_g, autoD081A4BB_u);
            if (autoD081A4BB_var == null) { break; }
            libNtve_gf_AICast(autoD081A4BB_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupRandomUnit(UnitGroup(null, gv_p01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive))));
        }
    }

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

        UnitBehaviorRemove(autoF3942310_var, "ScanRangeBonus", 1);
        AISetUnitScriptControlled(autoF3942310_var, false);
        libNtve_gf_AICast(autoF3942310_var, Order(AbilityCommand("stop", 0)));
    }
    auto664148D3_g = UnitGroup(null, gv_p03_DOMINION_SIEGE, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        UnitBehaviorRemove(auto664148D3_var, "ScanRangeBonus", 1);
        AISetUnitScriptControlled(auto664148D3_var, false);
        libNtve_gf_AICast(auto664148D3_var, Order(AbilityCommand("stop", 0)));
    }
    autoFA9D59B5_g = UnitGroup(null, gv_p04_DOMINION_AIR, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        UnitBehaviorRemove(autoFA9D59B5_var, "ScanRangeBonus", 1);
        AISetUnitScriptControlled(autoFA9D59B5_var, false);
        libNtve_gf_AICast(autoFA9D59B5_var, Order(AbilityCommand("stop", 0)));
    }
    auto2C0BF552_g = UnitGroup(null, gv_p05_DOMINION_RAIDER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        UnitBehaviorRemove(auto2C0BF552_var, "ScanRangeBonus", 1);
        AISetUnitScriptControlled(auto2C0BF552_var, false);
        libNtve_gf_AICast(auto2C0BF552_var, Order(AbilityCommand("stop", 0)));
    }
    UnitPauseAll(false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2mapMapScript.galaxy:481

    // Implementation
    if ((UnitGetPropertyFixed(gv_tosh, c_unitPropLifePercent, c_unitPropCurrent) < 100.0) && (DistanceBetweenPoints(UnitGetPosition(gv_tosh), UnitGetPosition(lp_medic)) <= 6.0)) {
        libNtve_gf_AICast(lp_medic, OrderTargetingUnit(AbilityCommand("heal", 0), gv_tosh));
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2mapMapScript.galaxy:1407

        auto2382E995_var = UnitGroupUnitFromEnd(auto2382E995_g, auto2382E995_u);
        if (auto2382E995_var == null) { break; }
        libNtve_gf_AICast(auto2382E995_var, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(RegionRandomPoint(RegionCircle(UnitGetPosition(gv_leviathan), 8.0)), 8.0, UnitGetFacing(gv_leviathan))));
    }
    if ((UnitIsAlive(gv_leviathan) == false)) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2mapMapScript.galaxy:1815

        if ((lv_target != null)) {
            UnitGroupRemove(lv_gravitonTargets, lv_target);
            libNtve_gf_AICast(gv_hybridPhysical, OrderTargetingUnit(AbilityCommand("GravitonPrison", 0), lv_target));
            Wait(0.6, c_timeGame);
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2mapMapScript.galaxy:1888

        if ((lv_target != null)) {
            UnitGroupRemove(lv_plasmaTargets, lv_target);
            libNtve_gf_AICast(gv_hybridPhysical, OrderTargetingUnit(AbilityCommand("HybridCPlasmaBlast", 0), lv_target));
            Wait(2.5, c_timeGame);
        }

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

            }
            if ((RandomInt(1, 12) == 1)) {
                libNtve_gf_AICast(autoEC7409C0_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionCircle(Point(UnitGetCustomValue(autoEC7409C0_var, 0), UnitGetCustomValue(autoEC7409C0_var, 1)), 2.0))));
                UnitIssueOrder(autoEC7409C0_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionCircle(Point(UnitGetCustomValue(autoEC7409C0_var, 0), UnitGetCustomValue(autoEC7409C0_var, 1)), 3.0))), c_orderQueueReplace);
                UnitSetCustomValue(autoEC7409C0_var, 2, 5.0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1025

        }
        else {
            libNtve_gf_AICast(lp_hybrid, OrderTargetingPoint(AbilityCommand("move", 0), gf_HybridHome(lv_indexHybrid)));
            return ;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1049

    }
    if ((gv_aIHybridAttacker[lv_indexHybrid] != null) && (UnitIsAlive(gv_aIHybridAttacker[lv_indexHybrid]) == true)) {
        libNtve_gf_AICast(lp_hybrid, OrderTargetingUnit(AbilityCommand("attack", 0), gv_aIHybridAttacker[lv_indexHybrid]));
        lv_actionSuggested = true;
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1056

        if ((DistanceBetweenPoints(UnitGetPosition(lp_hybrid), gf_HybridHome(lv_indexHybrid)) > 35.0)) {
            gv_aIHybridLeashing[lv_indexHybrid] = true;
            libNtve_gf_AICast(lp_hybrid, OrderTargetingPoint(AbilityCommand("move", 0), gf_HybridHome(lv_indexHybrid)));
            return ;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1075

    if ((UnitGroupCount(lv_candidates, c_unitCountAlive) > 0)) {
        if ((UnitAbilityCheck(lp_hybrid, "ZHybridPsionicShockwave", true) == true) && (UnitCheckAbilCmdState(lp_hybrid, AbilityCommand("ZHybridPsionicShockwave", 0), c_cmdStateCooldown) == false) && ((UnitGroupCount(lv_candidates, c_unitCountAlive) >= 5) || ((UnitGroupCount(lv_candidates, c_unitCountAlive) >= 1) && (UnitGetPropertyFixed(lp_hybrid, c_unitPropLifePercent, c_unitPropCurrent) <= 15.0)))) {
            libNtve_gf_AICast(lp_hybrid, Order(AbilityCommand("ZHybridPsionicShockwave", 0)));
            lv_actionSuggested = true;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1094

            }
            if ((UnitAbilityCheck(lp_hybrid, "HybridCPlasmaBlast", true) == true) && (UnitCheckAbilCmdState(lp_hybrid, AbilityCommand("ZHybridPlasmaBlast", 0), c_cmdStateCooldown) == false)) {
                libNtve_gf_AICast(lp_hybrid, OrderTargetingUnit(AbilityCommand("ZHybridPlasmaBlast", 0), lv_victim));
                lv_actionSuggested = true;
            }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1099


            if ((UnitAbilityCheck(lp_hybrid, "ZHybridGravitonPrison", true) == true) && (UnitCheckAbilCmdState(lp_hybrid, AbilityCommand("ZHybridGravitonPrison", 0), c_cmdStateCooldown) == false) && (UnitGroupCount(lv_candidates, c_unitCountAlive) > 1)) {
                libNtve_gf_AICast(lp_hybrid, OrderTargetingUnit(AbilityCommand("ZHybridGravitonPrison", 0), lv_victim));
                lv_actionSuggested = true;
            }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1108

    if ((lv_actionSuggested == false) && (UnitTestState(lp_hybrid, c_unitStateIdle) == true) && (DistanceBetweenPoints(UnitGetPosition(lp_hybrid), gf_HybridHome(lv_indexHybrid)) > 8.0)) {
        gv_aIHybridLeashing[lv_indexHybrid] = true;
        libNtve_gf_AICast(lp_hybrid, OrderTargetingPoint(AbilityCommand("move", 0), gf_HybridHome(lv_indexHybrid)));
    }

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

    }

    libNtve_gf_AICast(EventUnitProgressUnit(), OrderTargetingPoint(AbilityCommand("attack", 0), gv_templeDefensePoint));
    return true;
}

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

            }
            if ((UnitGroupCount(lv_consumeDNATargets, c_unitCountAlive) >= 1)) {
                libNtve_gf_AICast(auto9D485733_var, OrderTargetingUnit(AbilityCommand("ConsumeDNA", 0), UnitGroupClosestToPoint(lv_consumeDNATargets, UnitGetPosition(auto9D485733_var))));
            }

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

            if (auto2020BFEA_var == null) { break; }
            if ((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(auto2020BFEA_var), 6.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 5)) {
                libNtve_gf_AICast(auto2020BFEA_var, Order(AbilityCommand("HybridFAoEStun", 0)));
            }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:4333

            if ((UnitGroupCount(lv_validEnemies, c_unitCountAlive) >= 1)) {
                lv_currentUnit = UnitGroupClosestToPoint(lv_validEnemies, UnitGetPosition(autoA7E5583D_var));
                libNtve_gf_AICast(autoA7E5583D_var, OrderTargetingUnit(AbilityCommand("Yoink", 0), lv_currentUnit));
                UnitSetCustomValue(lv_currentUnit, 1, 2.0);
            }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:4382

        auto0BF956FF_var = UnitGroupUnitFromEnd(auto0BF956FF_g, auto0BF956FF_u);
        if (auto0BF956FF_var == null) { break; }
        libNtve_gf_AICast(auto0BF956FF_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(gv_chrysalis)));
    }
    auto19B8D227_g = UnitGroup(null, gv_pLAYER_03_YAGDRA, RegionFromId(16), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:4389

        auto19B8D227_var = UnitGroupUnitFromEnd(auto19B8D227_g, auto19B8D227_u);
        if (auto19B8D227_var == null) { break; }
        libNtve_gf_AICast(auto19B8D227_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(gv_chrysalis)));
    }
    return true;

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:2732

    VisRevealArea(gv_pLAYER_01_USER, RegionFromId(45), 16.0, false);
    Wait(0.25, c_timeAI);
    libNtve_gf_AICast(UnitFromId(1907), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    libNtve_gf_AICast(UnitFromId(1924), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    libNtve_gf_AICast(UnitFromId(1925), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:2733

    Wait(0.25, c_timeAI);
    libNtve_gf_AICast(UnitFromId(1907), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    libNtve_gf_AICast(UnitFromId(1924), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    libNtve_gf_AICast(UnitFromId(1925), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    UnitIssueOrder(UnitFromId(1927), Order(AbilityCommand("MoebiusLabDoorsWideRightLowered", 0)), c_orderQueueReplace);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:2734

    libNtve_gf_AICast(UnitFromId(1907), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    libNtve_gf_AICast(UnitFromId(1924), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    libNtve_gf_AICast(UnitFromId(1925), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    UnitIssueOrder(UnitFromId(1927), Order(AbilityCommand("MoebiusLabDoorsWideRightLowered", 0)), c_orderQueueReplace);
    Wait(1.0, c_timeAI);

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

            }
            if ((RandomInt(1, 12) == 1)) {
                libNtve_gf_AICast(autoEC7409C0_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionCircle(Point(UnitGetCustomValue(autoEC7409C0_var, 0), UnitGetCustomValue(autoEC7409C0_var, 1)), 2.0))));
                UnitIssueOrder(autoEC7409C0_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionCircle(Point(UnitGetCustomValue(autoEC7409C0_var, 0), UnitGetCustomValue(autoEC7409C0_var, 1)), 3.0))), c_orderQueueReplace);
                UnitSetCustomValue(autoEC7409C0_var, 2, 5.0);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2mapMapScript.galaxy:1025

        }
        else {
            libNtve_gf_AICast(lp_hybrid, OrderTargetingPoint(AbilityCommand("move", 0), gf_HybridHome(lv_indexHybrid)));
            return ;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2mapMapScript.galaxy:1049

    }
    if ((gv_aIHybridAttacker[lv_indexHybrid] != null) && (UnitIsAlive(gv_aIHybridAttacker[lv_indexHybrid]) == true)) {
        libNtve_gf_AICast(lp_hybrid, OrderTargetingUnit(AbilityCommand("attack", 0), gv_aIHybridAttacker[lv_indexHybrid]));
        lv_actionSuggested = true;
    }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2mapMapScript.galaxy:1056

        if ((DistanceBetweenPoints(UnitGetPosition(lp_hybrid), gf_HybridHome(lv_indexHybrid)) > 35.0)) {
            gv_aIHybridLeashing[lv_indexHybrid] = true;
            libNtve_gf_AICast(lp_hybrid, OrderTargetingPoint(AbilityCommand("move", 0), gf_HybridHome(lv_indexHybrid)));
            return ;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2mapMapScript.galaxy:1075

    if ((UnitGroupCount(lv_candidates, c_unitCountAlive) > 0)) {
        if ((UnitAbilityCheck(lp_hybrid, "ZHybridPsionicShockwave", true) == true) && (UnitCheckAbilCmdState(lp_hybrid, AbilityCommand("ZHybridPsionicShockwave", 0), c_cmdStateCooldown) == false) && ((UnitGroupCount(lv_candidates, c_unitCountAlive) >= 5) || ((UnitGroupCount(lv_candidates, c_unitCountAlive) >= 1) && (UnitGetPropertyFixed(lp_hybrid, c_unitPropLifePercent, c_unitPropCurrent) <= 15.0)))) {
            libNtve_gf_AICast(lp_hybrid, Order(AbilityCommand("ZHybridPsionicShockwave", 0)));
            lv_actionSuggested = true;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2mapMapScript.galaxy:1094

            }
            if ((UnitAbilityCheck(lp_hybrid, "HybridCPlasmaBlast", true) == true) && (UnitCheckAbilCmdState(lp_hybrid, AbilityCommand("ZHybridPlasmaBlast", 0), c_cmdStateCooldown) == false)) {
                libNtve_gf_AICast(lp_hybrid, OrderTargetingUnit(AbilityCommand("ZHybridPlasmaBlast", 0), lv_victim));
                lv_actionSuggested = true;
            }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2mapMapScript.galaxy:1099


            if ((UnitAbilityCheck(lp_hybrid, "ZHybridGravitonPrison", true) == true) && (UnitCheckAbilCmdState(lp_hybrid, AbilityCommand("ZHybridGravitonPrison", 0), c_cmdStateCooldown) == false) && (UnitGroupCount(lv_candidates, c_unitCountAlive) > 1)) {
                libNtve_gf_AICast(lp_hybrid, OrderTargetingUnit(AbilityCommand("ZHybridGravitonPrison", 0), lv_victim));
                lv_actionSuggested = true;
            }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2mapMapScript.galaxy:1108

    if ((lv_actionSuggested == false) && (UnitTestState(lp_hybrid, c_unitStateIdle) == true) && (DistanceBetweenPoints(UnitGetPosition(lp_hybrid), gf_HybridHome(lv_indexHybrid)) > 8.0)) {
        gv_aIHybridLeashing[lv_indexHybrid] = true;
        libNtve_gf_AICast(lp_hybrid, OrderTargetingPoint(AbilityCommand("move", 0), gf_HybridHome(lv_indexHybrid)));
    }

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

    }

    libNtve_gf_AICast(EventUnitProgressUnit(), OrderTargetingPoint(AbilityCommand("attack", 0), gv_templeDefensePoint));
    return true;
}

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

            }
            if ((UnitGroupCount(lv_consumeDNATargets, c_unitCountAlive) >= 1)) {
                libNtve_gf_AICast(auto9D485733_var, OrderTargetingUnit(AbilityCommand("ConsumeDNA", 0), UnitGroupClosestToPoint(lv_consumeDNATargets, UnitGetPosition(auto9D485733_var))));
            }

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

            if (auto2020BFEA_var == null) { break; }
            if ((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(auto2020BFEA_var), 6.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 5)) {
                libNtve_gf_AICast(auto2020BFEA_var, Order(AbilityCommand("HybridFAoEStun", 0)));
            }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus02.sc2mapMapScript.galaxy:4333

            if ((UnitGroupCount(lv_validEnemies, c_unitCountAlive) >= 1)) {
                lv_currentUnit = UnitGroupClosestToPoint(lv_validEnemies, UnitGetPosition(autoA7E5583D_var));
                libNtve_gf_AICast(autoA7E5583D_var, OrderTargetingUnit(AbilityCommand("Yoink", 0), lv_currentUnit));
                UnitSetCustomValue(lv_currentUnit, 1, 2.0);
            }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus02.sc2mapMapScript.galaxy:4382

        auto0BF956FF_var = UnitGroupUnitFromEnd(auto0BF956FF_g, auto0BF956FF_u);
        if (auto0BF956FF_var == null) { break; }
        libNtve_gf_AICast(auto0BF956FF_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(gv_chrysalis)));
    }
    auto19B8D227_g = UnitGroup(null, gv_pLAYER_03_YAGDRA, RegionFromId(16), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus02.sc2mapMapScript.galaxy:4389

        auto19B8D227_var = UnitGroupUnitFromEnd(auto19B8D227_g, auto19B8D227_u);
        if (auto19B8D227_var == null) { break; }
        libNtve_gf_AICast(auto19B8D227_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(gv_chrysalis)));
    }
    return true;

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2mapMapScript.galaxy:2732

    VisRevealArea(gv_pLAYER_01_USER, RegionFromId(45), 16.0, false);
    Wait(0.25, c_timeAI);
    libNtve_gf_AICast(UnitFromId(1907), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    libNtve_gf_AICast(UnitFromId(1924), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    libNtve_gf_AICast(UnitFromId(1925), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2mapMapScript.galaxy:2733

    Wait(0.25, c_timeAI);
    libNtve_gf_AICast(UnitFromId(1907), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    libNtve_gf_AICast(UnitFromId(1924), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    libNtve_gf_AICast(UnitFromId(1925), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    UnitIssueOrder(UnitFromId(1927), Order(AbilityCommand("MoebiusLabDoorsWideRightLowered", 0)), c_orderQueueReplace);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2mapMapScript.galaxy:2734

    libNtve_gf_AICast(UnitFromId(1907), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    libNtve_gf_AICast(UnitFromId(1924), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    libNtve_gf_AICast(UnitFromId(1925), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(UnitFromId(72))));
    UnitIssueOrder(UnitFromId(1927), Order(AbilityCommand("MoebiusLabDoorsWideRightLowered", 0)), c_orderQueueReplace);
    Wait(1.0, c_timeAI);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur03.sc2map/MapScript.galaxy:628

            }
            AISetUnitSuicide(UnitLastCreated(), true);
            libNtve_gf_AICast(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(11)));
            Wait(0.75, c_timeGame);
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur03.sc2map/MapScript.galaxy:1921

        AISetUnitScriptControlled(lv_ultralisk, false);
        AISetUnitSuicide(lv_ultralisk, true);
        libNtve_gf_AICast(lv_ultralisk, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1933)));
    }
    else {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur03.sc2map/MapScript.galaxy:1942

            if (autoE248B36B_var == null) { break; }
            AISetUnitSuicide(autoE248B36B_var, true);
            libNtve_gf_AICast(autoE248B36B_var, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1933)));
        }
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur03.sc2map/MapScript.galaxy:2593

        }
        AISetUnitSuicide(EventUnitProgressUnit(), true);
        libNtve_gf_AICast(EventUnitProgressUnit(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(11)));
        return true;
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur03.sc2map/MapScript.galaxy:2599

    if ((libNtve_gf_UnitInRegion(EventUnitProgressUnit(), RegionFromId(19)) == true)) {
        AISetUnitSuicide(EventUnitProgressUnit(), true);
        libNtve_gf_AICast(EventUnitProgressUnit(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(19)));
        return true;
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur03.sc2map/MapScript.galaxy:2604

    else if ((libNtve_gf_UnitInRegion(EventUnitProgressUnit(), RegionFromId(23)) == true)) {
        AISetUnitSuicide(EventUnitProgressUnit(), true);
        libNtve_gf_AICast(EventUnitProgressUnit(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(832)));
        return true;
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur03.sc2map/MapScript.galaxy:2736

                    }
                    if ((UnitGroupCount(lv_nearbyZergGroup, c_unitCountAlive) > 0)) {
                        libNtve_gf_AICast(UnitGroupClosestToPoint(lv_nearbyZergGroup, UnitGetPosition(auto075978B0_var)), OrderTargetingUnit(AbilityCommand("attack", 0), auto075978B0_var));
                    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:2025

        if (autoFE5BBE4A_var == null) { break; }
        if ((DistanceBetweenPoints(UnitGetPosition(gv_alarak), UnitGetPosition(autoFE5BBE4A_var)) <= 16.0)) {
            libNtve_gf_AICast(autoFE5BBE4A_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(gv_alarak)));
        }
        else {

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

        else {
            if ((RandomInt(1, 8) == 1)) {
                libNtve_gf_AICast(autoFE5BBE4A_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionCircle(Point(UnitGetCustomValue(autoFE5BBE4A_var, 0), UnitGetCustomValue(autoFE5BBE4A_var, 1)), 2.0))));
            }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:4948

        auto27FF145D_var = UnitGroupUnitFromEnd(auto27FF145D_g, auto27FF145D_u);
        if (auto27FF145D_var == null) { break; }
        libNtve_gf_AICast(auto27FF145D_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupClosestToPoint(gv_activePlayerUnits, UnitGetPosition(auto27FF145D_var)))));
    }
    return true;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:5907

            auto3B9535E5_var = UnitGroupUnitFromEnd(auto3B9535E5_g, auto3B9535E5_u);
            if (auto3B9535E5_var == null) { break; }
            libNtve_gf_AICast(auto3B9535E5_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupClosestToPoint(lv_playerUnits, UnitGetPosition(auto3B9535E5_var)))));
        }
        Wait(1.0, c_timeAI);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:7916

        auto84CFA311_var = UnitGroupUnitFromEnd(auto84CFA311_g, auto84CFA311_u);
        if (auto84CFA311_var == null) { break; }
        libNtve_gf_AICast(auto84CFA311_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(gv_artanis)));
    }
    return true;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:8034

            auto86823B5C_var = UnitGroupUnitFromEnd(auto86823B5C_g, auto86823B5C_u);
            if (auto86823B5C_var == null) { break; }
            libNtve_gf_AICast(auto86823B5C_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(5))));
            UnitGroupAdd(gv_activeEnemyUnits, auto86823B5C_var);
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:8044

            autoB2D4C1E9_var = UnitGroupUnitFromEnd(autoB2D4C1E9_g, autoB2D4C1E9_u);
            if (autoB2D4C1E9_var == null) { break; }
            libNtve_gf_AICast(autoB2D4C1E9_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(5))));
            UnitGroupAdd(gv_activeEnemyUnits, autoB2D4C1E9_var);
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:8055

            autoAA44B913_var = UnitGroupUnitFromEnd(autoAA44B913_g, autoAA44B913_u);
            if (autoAA44B913_var == null) { break; }
            libNtve_gf_AICast(autoAA44B913_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(5))));
            UnitGroupAdd(gv_activeEnemyUnits, autoAA44B913_var);
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:8065

            autoC9F8A0DD_var = UnitGroupUnitFromEnd(autoC9F8A0DD_g, autoC9F8A0DD_u);
            if (autoC9F8A0DD_var == null) { break; }
            libNtve_gf_AICast(autoC9F8A0DD_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(5))));
            UnitGroupAdd(gv_activeEnemyUnits, autoC9F8A0DD_var);
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:8127

            auto0B614B4E_var = UnitGroupUnitFromEnd(auto0B614B4E_g, auto0B614B4E_u);
            if (auto0B614B4E_var == null) { break; }
            libNtve_gf_AICast(auto0B614B4E_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(5))));
            UnitGroupAdd(gv_activeEnemyUnits, auto0B614B4E_var);
        }

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


        }
        libNtve_gf_AICast(lp_warpPrism, Order(AbilityCommand("TransportMode", 0)));
    }
}

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

    if ((UnitGetPropertyFixed(lp_blinkStalker, c_unitPropShields, c_unitPropCurrent) == 0.0) && (UnitCheckAbilCmdState(lp_blinkStalker, AbilityCommand("BlinkShieldRestore", 0), c_cmdStateCooldown) == false)) {
        lv_targetPoint = PointWithOffsetPolar(UnitGetPosition(lp_blinkStalker), -2.0, UnitGetFacing(lp_blinkStalker));
        libNtve_gf_AICast(lp_blinkStalker, OrderTargetingPoint(AbilityCommand("BlinkShieldRestore", 0), lv_targetPoint));
    }

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

        if ((UnitCheckAbilCmdState(lp_karax, AbilityCommand("PhaseCannon", 0), c_cmdStateCooldown) == false)) {
            lv_targetPoint = libNtve_gf_PointOffsetTowardsPoint(UnitGetPosition(lp_karax), 4.0, UnitGetPosition(UnitGroupRandomUnit(lv_enemyGroup10, c_unitCountAlive)));
            libNtve_gf_AICast(lp_karax, OrderTargetingPoint(AbilityCommand("PhaseCannon", 0), lv_targetPoint));
        }
        else if ((UnitCheckAbilCmdState(lp_karax, AbilityCommand("Reclamation", 0), c_cmdStateCooldown) == false)) {

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

                if (lv_currentUnit == null) { break; }
                if (((UnitGetType(lv_currentUnit) == "Sentry") || (UnitGetType(lv_currentUnit) == "Immortal") || (UnitGetType(lv_currentUnit) == "Colossus") || (UnitGetType(lv_currentUnit) == "Reaver"))) {
                    libNtve_gf_AICast(lp_karax, OrderTargetingUnit(AbilityCommand("Reclamation", 0), lv_currentUnit));
                    break;
                }

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

                lv_targetPoint = libNtve_gf_PointOffsetTowardsPoint(UnitGetPosition(lp_alarak), 4.0, UnitGetPosition(UnitGroupClosestToPoint(lv_enemyGroup8, UnitGetPosition(lp_alarak))));
            }
            libNtve_gf_AICast(lp_alarak, OrderTargetingPoint(AbilityCommand("AlarakKnockback", 0), lv_targetPoint));
        }

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

                lv_targetPoint = libNtve_gf_PointOffsetTowardsPoint(UnitGetPosition(lp_vorazun), 5.0, UnitGetPosition(UnitGroupClosestToPoint(lv_enemyGroup8, UnitGetPosition(lp_vorazun))));
            }
            libNtve_gf_AICast(lp_vorazun, OrderTargetingPoint(AbilityCommand("VorazunShadowDash", 0), lv_targetPoint));
        }

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

            if (auto0FB03E72_var == null) { break; }
            AISetUnitScriptControlled(auto0FB03E72_var, false);
            libNtve_gf_AICast(auto0FB03E72_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(gv_keystone)));
        }
        AISetGroupSuicide(UnitLastCreatedGroup(), true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:2492

                auto29A7AC29_var = UnitGroupUnitFromEnd(auto29A7AC29_g, auto29A7AC29_u);
                if (auto29A7AC29_var == null) { break; }
                libNtve_gf_AICast(auto29A7AC29_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupClosestToPoint(UnitGroupAlliance(gv_pLAYER_02_MOEBIUS, c_unitAllianceEnemy, gv_stabilizers[lv_index].lv_secureZone, UnitFilter(0, 0, (1 << c_targetFilterMissile) | (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), UnitGetPosition(auto29A7AC29_var)))));
            }
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal02.sc2map/MapScript.galaxy:443

        if ((UnitCheckAbilCmdState(lp_hybrid, AbilityCommand("HybridDominatorVoidPlasmaBlast", 0), c_cmdStateCooldown) == false)) {
            if ((UnitGroupCount(lv_enemyGroup9, c_unitCountAlive) > 0)) {
                libNtve_gf_AICast(lp_hybrid, OrderTargetingUnit(AbilityCommand("HybridDominatorVoidPlasmaBlast", 0), gf_ToughestUnitinUnitGroup(lv_enemyGroup9)));
            }
            else {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal02.sc2map/MapScript.galaxy:447

            else {
                if ((UnitIsAlive(lv_lastAttacker) == true) && (UnitGetType(lv_lastAttacker) == "PhotonCannon") && (DistanceBetweenPoints(UnitGetPosition(lp_hybrid), UnitGetPosition(lv_lastAttacker)) <= 9.0)) {
                    libNtve_gf_AICast(lp_hybrid, OrderTargetingUnit(AbilityCommand("HybridDominatorVoidPlasmaBlast", 0), lv_lastAttacker));
                }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal02.sc2map/MapScript.galaxy:462

                lv_targetPoint = UnitGetPosition(auto3AA63390_var);
                if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(lp_hybrid), c_unitAllianceEnemy, RegionCircle(lv_targetPoint, 2.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32))), 0), c_unitCountAlive) >= 3)) {
                    libNtve_gf_AICast(lp_hybrid, OrderTargetingPoint(AbilityCommand("HybridDominatorVoidPsiStorm", 0), lv_targetPoint));
                    break;
                }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal02.sc2map/MapScript.galaxy:2016

                        if (auto05AF8105_var == null) { break; }
                        if ((UnitTypeTestAttribute(UnitGetType(auto05AF8105_var), c_unitAttributeStructure) == false) && (libNtve_gf_UnitIsInsideTransport(auto05AF8105_var) == false)) {
                            libNtve_gf_AICast(auto05AF8105_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupClosestToPoint(lv_nearbyPlayerUnits, UnitGetPosition(auto05AF8105_var)))));
                        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ppurifier02.sc2map/MapScript.galaxy:4441

                    if (auto44AAC7FE_var == null) { break; }
                    if ((RandomInt(1, 8) == 1) && (UnitGetType(auto44AAC7FE_var) == "Zergling") && (UnitGroupHasUnit(UnitGroupIdle(UnitGetOwner(auto44AAC7FE_var), false), auto44AAC7FE_var) == true)) {
                        libNtve_gf_AICast(auto44AAC7FE_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionRandomPoint(lv_region)));
                    }

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

        if ((UnitCheckAbilCmdState(lp_hybrid, AbilityCommand("ConsumeDNA", 0), c_cmdStateCooldown) == false)) {
            if ((UnitGroupCount(lv_enemyGroup5, c_unitCountAlive) > 0)) {
                libNtve_gf_AICast(lp_hybrid, OrderTargetingUnit(AbilityCommand("ConsumeDNA", 0), gf_ToughestUnitinUnitGroup(lv_enemyGroup5)));
            }

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

        lv_targetCount = UnitGroupCount(lv_enemyGroup5, c_unitCountAlive);
        if ((UnitCheckAbilCmdState(lp_hybrid, AbilityCommand("HybridFAoEStun", 0), c_cmdStateCooldown) == false) && (lv_targetCount >= 3)) {
            libNtve_gf_AICast(lp_hybrid, Order(AbilityCommand("HybridFAoEStun", 0)));
        }

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

            }
            if ((UnitGroupCount(lv_enemyGroup9, c_unitCountAlive) > 0)) {
                libNtve_gf_AICast(lp_hybrid, OrderTargetingUnit(AbilityCommand("HybridGeneralPhaseShift", 0), UnitGroupClosestToPoint(lv_enemyGroup9, UnitGetPosition(lp_hybrid))));
            }

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

        if ((libVCMI_gf_PlayerInCinematicModeCampaign() == false)) {
            if ((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionFromId(107), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)) {
                libNtve_gf_AICast(gv_purifierWarden, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupRandomUnit(UnitGroup(null, gv_pLAYER_01_USER, RegionFromId(107), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive))));
                while (!((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionFromId(107), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
                    Wait(1.0, c_timeAI);

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

            }
            else {
                libNtve_gf_AICast(gv_purifierWarden, OrderTargetingUnit(AbilityCommand("attack", 0), UnitGroupRandomUnit(UnitGroup("InvisibleTargetDummy", 0, RegionFromId(107), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)));
                auto3505BB6D_at = 0;
                while (!((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionFromId(107), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)) && auto3505BB6D_at <= 8.0) {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pshakuras02.sc2map/MapScript.galaxy:785

        if ((UnitGroupCount(lv_enemyGroup7, c_unitCountAlive) > 0)) {
            lv_target = UnitGroupClosestToPoint(lv_enemyGroup7, UnitGetPosition(lp_darkArchon));
            libNtve_gf_AICast(lp_darkArchon, OrderTargetingUnit(AbilityCommand("HybridGeneralPhaseShift", 0), lv_target));
        }

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

                    autoB57550EF_var = UnitGroupUnitFromEnd(autoB57550EF_g, autoB57550EF_u);
                    if (autoB57550EF_var == null) { break; }
                    libNtve_gf_AICast(autoB57550EF_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupClosestToPoint(lv_enemyGroup14, UnitGetPosition(gv_mothership[1])))));
                }
            }

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

                AISetUnitScriptControlled(gv_mothership[1], false);
                Wait(0.5, c_timeGame);
                libNtve_gf_AICast(gv_mothership[1], Order(AbilityCommand("FlagshipTimeBomb", 0)));
            }

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

                    autoD914BE2A_var = UnitGroupUnitFromEnd(autoD914BE2A_g, autoD914BE2A_u);
                    if (autoD914BE2A_var == null) { break; }
                    libNtve_gf_AICast(autoD914BE2A_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupClosestToPoint(lv_enemyGroup14, UnitGetPosition(gv_mothership[2])))));
                }
            }

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

                AISetUnitScriptControlled(gv_mothership[2], false);
                Wait(0.5, c_timeGame);
                libNtve_gf_AICast(gv_mothership[2], Order(AbilityCommand("FlagshipCloak", 0)));
            }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim02.sc2map/MapScript.galaxy:941

        if ((UnitCheckAbilCmdState(lp_hybrid, AbilityCommand("HybridDominatorVoidPlasmaBlast", 0), c_cmdStateCooldown) == false)) {
            if ((UnitGroupCount(lv_enemyGroup9, c_unitCountAlive) > 0)) {
                libNtve_gf_AICast(lp_hybrid, OrderTargetingUnit(AbilityCommand("HybridDominatorVoidPlasmaBlast", 0), gf_ToughestUnitinUnitGroup(lv_enemyGroup9)));
            }
            else {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim02.sc2map/MapScript.galaxy:945

            else {
                if ((UnitIsAlive(lv_lastAttacker) == true) && (UnitGetType(lv_lastAttacker) == "PhotonCannon") && (DistanceBetweenPoints(UnitGetPosition(lp_hybrid), UnitGetPosition(lv_lastAttacker)) <= 9.0)) {
                    libNtve_gf_AICast(lp_hybrid, OrderTargetingUnit(AbilityCommand("HybridDominatorVoidPlasmaBlast", 0), lv_lastAttacker));
                }