# Change Autocast Mode
Grammar — Turn abilCmd auto cast autocastOn|On/Off
Flags —Native
|Function
Returns an order to change the autocast mode for an ability command. This is primarily for use in “Issue Order” and “Issue Order To Unit Group” actions.
# Arguments
abilcmd
— Ability Commandbool
<preset::OnOffOption> — Autocast On
Returns — order
native order OrderSetAutoCast(
abilcmd inAbilCmd,
bool inAutoCastOn,
);
# Related
Category: Order / Orders To Be Issued
- Order Targeting Item —
order
— OrderTargetingItem - Order Targeting Point —
order
— OrderTargetingPoint - Revive Order Targeting Point —
order
— libNtve_gf_ReviveOrderTargetingPoint - Order Targeting Relative Points —
order
— OrderTargetingRelativePoint - Order Targeting Unit —
order
— OrderTargetingUnit - Order Targeting Unit Group —
order
— OrderTargetingUnitGroup - Order Targeting Valid Unit In Group —
order
— AIUnitGroupGetValidOrder - Order With No Target —
order
— Order - Revive Order With No Target —
order
— libNtve_gf_ReviveOrderWithNoTarget - Change Autocast Mode —
order
— OrderSetAutoCast - Order Set Target Item —
void
— OrderSetTargetItem - Order Set Target Unit —
void
— OrderSetTargetUnit - Order Set Target Point —
void
— OrderSetTargetPoint - Order Set Target Passenger —
void
— OrderSetTargetPassenger
# Examples
campaigns/liberty.sc2campaign — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:18
repaircmd = OrderGetAbilityCommand (ord);
if (UnitCheckAbilCmdState(aiUnit, repaircmd, c_cmdStateIsAutoCast) == true) {
ord = OrderSetAutoCast(repaircmd, false);
if (UnitOrderIsValid(aiUnit, ord)) {
AICast(aiUnit, ord, c_noMarker, c_castHold);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:661
autoE1052B09_var = UnitGroupUnitFromEnd(autoE1052B09_g, autoE1052B09_u);
if (autoE1052B09_var == null) { break; }
UnitIssueOrder(autoE1052B09_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), true), c_orderQueueReplace);
}
autoB1ABC5AB_g = UnitGroup(null, gv_p6_ZERG_NOAIPREPLACED, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2053
gv_terrorFleetPing = PingLastCreated();
TriggerEnable(gt_TerrorFleetPing, true);
UnitGroupIssueOrder(gv_terrorFleetGroup, OrderSetAutoCast(AbilityCommand("CarrierHangar", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(gv_terrorFleetGroup, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1061)), c_orderQueueReplace);
UnitGroupIssueOrder(gv_terrorFleetGroup, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1592)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2852
UnitSetOwner(EventUnitProgressUnit(), gv_pLAYER06_TERRORFLEET, true);
UnitMagazineArm(EventUnitProgressUnit(), AbilityCommand("CarrierHangar", 0), libNtve_gf_DifficultyValueInt(0, 0, 2, 4));
UnitIssueOrder(EventUnitProgressUnit(), OrderSetAutoCast(AbilityCommand("CarrierHangar", 0), true), c_orderQueueReplace);
UnitSetCustomValue(EventUnitProgressUnit(), 1, 1.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:500
libNtve_gf_PauseUnit(UnitFromId(738), true);
libNtve_gf_PauseUnit(UnitFromId(739), true);
UnitIssueOrder(UnitFromId(2242), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(2243), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
AISetUnitScriptControlled(UnitFromId(2243), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:501
libNtve_gf_PauseUnit(UnitFromId(739), true);
UnitIssueOrder(UnitFromId(2242), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(2243), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
AISetUnitScriptControlled(UnitFromId(2243), false);
AISetUnitScriptControlled(UnitFromId(2242), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:434
auto0AC6FF7D_var = UnitGroupUnitFromEnd(auto0AC6FF7D_g, auto0AC6FF7D_u);
if (auto0AC6FF7D_var == null) { break; }
UnitIssueOrder(auto0AC6FF7D_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), true), c_orderQueueReplace);
AISetUnitScriptControlled(auto0AC6FF7D_var, true);
UnitGroupAdd(gv_dirtyBanelingCrew, auto0AC6FF7D_var);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3049
auto5B138040_var = UnitGroupUnitFromEnd(auto5B138040_g, auto5B138040_u);
if (auto5B138040_var == null) { break; }
UnitIssueOrder(auto5B138040_var, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
AISetUnitScriptControlled(auto5B138040_var, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3162
auto190CD919_var = UnitGroupUnitFromEnd(auto190CD919_g, auto190CD919_u);
if (auto190CD919_var == null) { break; }
UnitIssueOrder(auto190CD919_var, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
AISetUnitScriptControlled(auto190CD919_var, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3779
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", 0, gv_p5_DOMINION_GREY, PointFromId(234));
UnitIssueOrder(UnitLastCreated(), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(709)), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(710)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3820
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", 0, gv_p4_DOMINION_PURPLE, PointFromId(706));
UnitIssueOrder(UnitLastCreated(), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(714)), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(715)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3861
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", 0, gv_p3_DOMINION_RED, PointFromId(553));
UnitIssueOrder(UnitLastCreated(), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(554)), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(775)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3902
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", 0, gv_p6_DOMINION_ORANGE, PointFromId(186));
UnitIssueOrder(UnitLastCreated(), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(325)), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(366)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:575
}
UnitIssueOrder(lp_activatedunit, OrderSetAutoCast(AbilityCommand("SapStructure", 0), true), c_orderQueueReplace);
if ((UnitHasBehavior(gv_tHEONERAYNOR, "Incapacitated") == true)) {
UnitGroupRemove(lv_targets, gv_tHEONERAYNOR);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:8313
if (auto8DBA43E6_var == null) { break; }
UnitIssueOrder(auto8DBA43E6_var, Order(AbilityCommand("BurrowZerglingUp", 0)), c_orderQueueReplace);
UnitIssueOrder(auto8DBA43E6_var, OrderSetAutoCast(AbilityCommand("SapStructure", 0), true), c_orderQueueReplace);
lv_rallypoint = UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(auto8DBA43E6_var), lv_targets));
UnitIssueOrder(auto8DBA43E6_var, OrderTargetingPoint(AbilityCommand("attack", 0), lv_rallypoint), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:709
auto86C4D439_var = UnitGroupUnitFromEnd(auto86C4D439_g, auto86C4D439_u);
if (auto86C4D439_var == null) { break; }
UnitIssueOrder(auto86C4D439_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), true), c_orderQueueReplace);
}
autoB2169946_g = UnitGroup("DestructibleRock6x6", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:775
libNtve_gf_ShowHideUnit(UnitFromId(336), false);
gv_banelingBullies = UnitGroup("BanelingBurrowed", gv_p3_ZERG, RegionFromId(18), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitIssueOrder(UnitFromId(485), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(503), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
auto2BC2ED3A_g = UnitGroup(null, gv_p3_ZERG, RegionFromId(99), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:776
gv_banelingBullies = UnitGroup("BanelingBurrowed", gv_p3_ZERG, RegionFromId(18), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitIssueOrder(UnitFromId(485), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(503), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
auto2BC2ED3A_g = UnitGroup(null, gv_p3_ZERG, RegionFromId(99), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto2BC2ED3A_u = UnitGroupCount(auto2BC2ED3A_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:782
auto2BC2ED3A_var = UnitGroupUnitFromEnd(auto2BC2ED3A_g, auto2BC2ED3A_u);
if (auto2BC2ED3A_var == null) { break; }
UnitIssueOrder(auto2BC2ED3A_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
}
UnitIssueOrder(UnitFromId(1819), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:784
UnitIssueOrder(auto2BC2ED3A_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
}
UnitIssueOrder(UnitFromId(1819), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(1818), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
libNtve_gf_ShowHideUnit(UnitFromId(1819), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:785
}
UnitIssueOrder(UnitFromId(1819), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(1818), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
libNtve_gf_ShowHideUnit(UnitFromId(1819), false);
libNtve_gf_ShowHideUnit(UnitFromId(1818), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:818
auto065E4886_var = UnitGroupUnitFromEnd(auto065E4886_g, auto065E4886_u);
if (auto065E4886_var == null) { break; }
UnitIssueOrder(auto065E4886_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitGroupAdd(gv_rumbleZerglingFlank1, auto065E4886_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:826
auto31A899BB_var = UnitGroupUnitFromEnd(auto31A899BB_g, auto31A899BB_u);
if (auto31A899BB_var == null) { break; }
UnitIssueOrder(auto31A899BB_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitGroupAdd(gv_rumbleZerglingFlank2, auto31A899BB_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:834
auto89238D5E_var = UnitGroupUnitFromEnd(auto89238D5E_g, auto89238D5E_u);
if (auto89238D5E_var == null) { break; }
UnitIssueOrder(auto89238D5E_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitGroupAdd(gv_rumbleZerglingFlank2, auto89238D5E_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:898
UnitGroupRemove(gv_rumbleRearguard, auto53CB19B0_var);
}
UnitIssueOrder(UnitFromId(65), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(741), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitBehaviorAdd(UnitFromId(445), "SpawnLarva", UnitFromId(445), 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:484
libNtve_gf_ShowHideUnit(UnitFromId(455), false);
libNtve_gf_ShowHideUnit(UnitFromId(154), false);
UnitGroupIssueOrder(UnitGroup("ZerglingBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("HydraliskBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowHydraliskUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("RoachBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowRoachUp", 0), true), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:485
libNtve_gf_ShowHideUnit(UnitFromId(154), false);
UnitGroupIssueOrder(UnitGroup("ZerglingBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("HydraliskBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowHydraliskUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("RoachBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowRoachUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("BanelingBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowBanelingUp", 0), true), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:486
UnitGroupIssueOrder(UnitGroup("ZerglingBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("HydraliskBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowHydraliskUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("RoachBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowRoachUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("BanelingBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowBanelingUp", 0), true), c_orderQueueReplace);
auto5A446C5F_g = UnitGroup("Beacon_Protoss", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:487
UnitGroupIssueOrder(UnitGroup("HydraliskBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowHydraliskUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("RoachBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowRoachUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("BanelingBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowBanelingUp", 0), true), c_orderQueueReplace);
auto5A446C5F_g = UnitGroup("Beacon_Protoss", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
auto5A446C5F_u = UnitGroupCount(auto5A446C5F_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:1027
UIAlertPoint("Trigger", gv_pLAYER_USER, StringExternal("Param/Value/5C69D3C8"), null, PointFromId(4));
gf_ClearAlertsFunction();
UnitGroupIssueOrder(gv_enemyAttackersB, OrderSetAutoCast(AbilityCommand("SapStructure", 0), true), c_orderQueueReplace);
AIAttackWaveUseGroup(gv_pLAYER_COMPUTER1, gv_enemyAttackersB);
AIAttackWaveSend(gv_pLAYER_COMPUTER1, 3, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:661
autoE1052B09_var = UnitGroupUnitFromEnd(autoE1052B09_g, autoE1052B09_u);
if (autoE1052B09_var == null) { break; }
UnitIssueOrder(autoE1052B09_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), true), c_orderQueueReplace);
}
autoB1ABC5AB_g = UnitGroup(null, gv_p6_ZERG_NOAIPREPLACED, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:2053
gv_terrorFleetPing = PingLastCreated();
TriggerEnable(gt_TerrorFleetPing, true);
UnitGroupIssueOrder(gv_terrorFleetGroup, OrderSetAutoCast(AbilityCommand("CarrierHangar", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(gv_terrorFleetGroup, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1061)), c_orderQueueReplace);
UnitGroupIssueOrder(gv_terrorFleetGroup, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1592)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:2852
UnitSetOwner(EventUnitProgressUnit(), gv_pLAYER06_TERRORFLEET, true);
UnitMagazineArm(EventUnitProgressUnit(), AbilityCommand("CarrierHangar", 0), libNtve_gf_DifficultyValueInt(0, 0, 2, 4));
UnitIssueOrder(EventUnitProgressUnit(), OrderSetAutoCast(AbilityCommand("CarrierHangar", 0), true), c_orderQueueReplace);
UnitSetCustomValue(EventUnitProgressUnit(), 1, 1.0);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:500
libNtve_gf_PauseUnit(UnitFromId(738), true);
libNtve_gf_PauseUnit(UnitFromId(739), true);
UnitIssueOrder(UnitFromId(2242), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(2243), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
AISetUnitScriptControlled(UnitFromId(2243), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:501
libNtve_gf_PauseUnit(UnitFromId(739), true);
UnitIssueOrder(UnitFromId(2242), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(2243), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
AISetUnitScriptControlled(UnitFromId(2243), false);
AISetUnitScriptControlled(UnitFromId(2242), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2map — MapScript.galaxy:434
auto0AC6FF7D_var = UnitGroupUnitFromEnd(auto0AC6FF7D_g, auto0AC6FF7D_u);
if (auto0AC6FF7D_var == null) { break; }
UnitIssueOrder(auto0AC6FF7D_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), true), c_orderQueueReplace);
AISetUnitScriptControlled(auto0AC6FF7D_var, true);
UnitGroupAdd(gv_dirtyBanelingCrew, auto0AC6FF7D_var);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:3049
auto5B138040_var = UnitGroupUnitFromEnd(auto5B138040_g, auto5B138040_u);
if (auto5B138040_var == null) { break; }
UnitIssueOrder(auto5B138040_var, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
AISetUnitScriptControlled(auto5B138040_var, false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:3162
auto190CD919_var = UnitGroupUnitFromEnd(auto190CD919_g, auto190CD919_u);
if (auto190CD919_var == null) { break; }
UnitIssueOrder(auto190CD919_var, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
AISetUnitScriptControlled(auto190CD919_var, false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:3779
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", 0, gv_p5_DOMINION_GREY, PointFromId(234));
UnitIssueOrder(UnitLastCreated(), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(709)), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(710)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:3820
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", 0, gv_p4_DOMINION_PURPLE, PointFromId(706));
UnitIssueOrder(UnitLastCreated(), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(714)), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(715)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:3861
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", 0, gv_p3_DOMINION_RED, PointFromId(553));
UnitIssueOrder(UnitLastCreated(), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(554)), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(775)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:3902
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", 0, gv_p6_DOMINION_ORANGE, PointFromId(186));
UnitIssueOrder(UnitLastCreated(), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(325)), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(366)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:575
}
UnitIssueOrder(lp_activatedunit, OrderSetAutoCast(AbilityCommand("SapStructure", 0), true), c_orderQueueReplace);
if ((UnitHasBehavior(gv_tHEONERAYNOR, "Incapacitated") == true)) {
UnitGroupRemove(lv_targets, gv_tHEONERAYNOR);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:8313
if (auto8DBA43E6_var == null) { break; }
UnitIssueOrder(auto8DBA43E6_var, Order(AbilityCommand("BurrowZerglingUp", 0)), c_orderQueueReplace);
UnitIssueOrder(auto8DBA43E6_var, OrderSetAutoCast(AbilityCommand("SapStructure", 0), true), c_orderQueueReplace);
lv_rallypoint = UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(auto8DBA43E6_var), lv_targets));
UnitIssueOrder(auto8DBA43E6_var, OrderTargetingPoint(AbilityCommand("attack", 0), lv_rallypoint), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:709
auto86C4D439_var = UnitGroupUnitFromEnd(auto86C4D439_g, auto86C4D439_u);
if (auto86C4D439_var == null) { break; }
UnitIssueOrder(auto86C4D439_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), true), c_orderQueueReplace);
}
autoB2169946_g = UnitGroup("DestructibleRock6x6", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:775
libNtve_gf_ShowHideUnit(UnitFromId(336), false);
gv_banelingBullies = UnitGroup("BanelingBurrowed", gv_p3_ZERG, RegionFromId(18), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitIssueOrder(UnitFromId(485), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(503), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
auto2BC2ED3A_g = UnitGroup(null, gv_p3_ZERG, RegionFromId(99), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:776
gv_banelingBullies = UnitGroup("BanelingBurrowed", gv_p3_ZERG, RegionFromId(18), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitIssueOrder(UnitFromId(485), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(503), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
auto2BC2ED3A_g = UnitGroup(null, gv_p3_ZERG, RegionFromId(99), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto2BC2ED3A_u = UnitGroupCount(auto2BC2ED3A_g, c_unitCountAll);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:782
auto2BC2ED3A_var = UnitGroupUnitFromEnd(auto2BC2ED3A_g, auto2BC2ED3A_u);
if (auto2BC2ED3A_var == null) { break; }
UnitIssueOrder(auto2BC2ED3A_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
}
UnitIssueOrder(UnitFromId(1819), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:784
UnitIssueOrder(auto2BC2ED3A_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
}
UnitIssueOrder(UnitFromId(1819), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(1818), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
libNtve_gf_ShowHideUnit(UnitFromId(1819), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:785
}
UnitIssueOrder(UnitFromId(1819), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(1818), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
libNtve_gf_ShowHideUnit(UnitFromId(1819), false);
libNtve_gf_ShowHideUnit(UnitFromId(1818), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:818
auto065E4886_var = UnitGroupUnitFromEnd(auto065E4886_g, auto065E4886_u);
if (auto065E4886_var == null) { break; }
UnitIssueOrder(auto065E4886_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitGroupAdd(gv_rumbleZerglingFlank1, auto065E4886_var);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:826
auto31A899BB_var = UnitGroupUnitFromEnd(auto31A899BB_g, auto31A899BB_u);
if (auto31A899BB_var == null) { break; }
UnitIssueOrder(auto31A899BB_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitGroupAdd(gv_rumbleZerglingFlank2, auto31A899BB_var);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:834
auto89238D5E_var = UnitGroupUnitFromEnd(auto89238D5E_g, auto89238D5E_u);
if (auto89238D5E_var == null) { break; }
UnitIssueOrder(auto89238D5E_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitGroupAdd(gv_rumbleZerglingFlank2, auto89238D5E_var);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:898
UnitGroupRemove(gv_rumbleRearguard, auto53CB19B0_var);
}
UnitIssueOrder(UnitFromId(65), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(741), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), false), c_orderQueueReplace);
UnitBehaviorAdd(UnitFromId(445), "SpawnLarva", UnitFromId(445), 1);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:484
libNtve_gf_ShowHideUnit(UnitFromId(455), false);
libNtve_gf_ShowHideUnit(UnitFromId(154), false);
UnitGroupIssueOrder(UnitGroup("ZerglingBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("HydraliskBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowHydraliskUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("RoachBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowRoachUp", 0), true), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:485
libNtve_gf_ShowHideUnit(UnitFromId(154), false);
UnitGroupIssueOrder(UnitGroup("ZerglingBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("HydraliskBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowHydraliskUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("RoachBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowRoachUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("BanelingBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowBanelingUp", 0), true), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:486
UnitGroupIssueOrder(UnitGroup("ZerglingBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("HydraliskBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowHydraliskUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("RoachBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowRoachUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("BanelingBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowBanelingUp", 0), true), c_orderQueueReplace);
auto5A446C5F_g = UnitGroup("Beacon_Protoss", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:487
UnitGroupIssueOrder(UnitGroup("HydraliskBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowHydraliskUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("RoachBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowRoachUp", 0), true), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup("BanelingBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderSetAutoCast(AbilityCommand("BurrowBanelingUp", 0), true), c_orderQueueReplace);
auto5A446C5F_g = UnitGroup("Beacon_Protoss", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
auto5A446C5F_u = UnitGroupCount(auto5A446C5F_g, c_unitCountAll);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancombat.sc2map — MapScript.galaxy:1027
UIAlertPoint("Trigger", gv_pLAYER_USER, StringExternal("Param/Value/5C69D3C8"), null, PointFromId(4));
gf_ClearAlertsFunction();
UnitGroupIssueOrder(gv_enemyAttackersB, OrderSetAutoCast(AbilityCommand("SapStructure", 0), true), c_orderQueueReplace);
AIAttackWaveUseGroup(gv_pLAYER_COMPUTER1, gv_enemyAttackersB);
AIAttackWaveSend(gv_pLAYER_COMPUTER1, 3, true);
campaigns/swarm.sc2campaign — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:18
repaircmd = OrderGetAbilityCommand (ord);
if (UnitCheckAbilCmdState(aiUnit, repaircmd, c_cmdStateIsAutoCast) == true) {
ord = OrderSetAutoCast(repaircmd, false);
if (UnitOrderIsValid(aiUnit, ord)) {
AICast(aiUnit, ord, c_noMarker, c_castHold);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:926
auto8B97F196_var = UnitGroupUnitFromEnd(auto8B97F196_g, auto8B97F196_u);
if (auto8B97F196_var == null) { break; }
UnitIssueOrder(auto8B97F196_var, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
}
auto2A9E8D8C_g = UnitGroup("AutoTurret", gv_pLAYER_02_TERRAN_RED, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:1298
}
if ((libHots_gf_DifficultyValueInt2(0, 0, 1) == 1)) {
UnitIssueOrder(UnitFromId(409), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(409), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(269)), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(406), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:1300
UnitIssueOrder(UnitFromId(409), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(409), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(269)), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(406), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(406), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(273)), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(648), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:1302
UnitIssueOrder(UnitFromId(406), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(406), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(273)), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(648), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(648), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(938)), c_orderQueueReplace);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:3895
}
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", c_unitCreateIgnorePlacement, gv_pLAYER_05_WARFIELDCitadel, PointFromId(472));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
libSwaC_gf_CreateDropPod(libSwaC_ge_DropPodRace_Terran, RegionGetCenter(RegionFromId(32)), UnitLastCreatedGroup(), false, gv_pLAYER_05_WARFIELDCitadel);
Wait(1.25, c_timeGame);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:3899
Wait(1.25, c_timeGame);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", c_unitCreateIgnorePlacement, gv_pLAYER_05_WARFIELDCitadel, PointFromId(472));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
libSwaC_gf_CreateDropPod(libSwaC_ge_DropPodRace_Terran, RegionGetCenter(RegionFromId(42)), UnitLastCreatedGroup(), false, gv_pLAYER_05_WARFIELDCitadel);
Wait(0.75, c_timeGame);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:3903
Wait(0.75, c_timeGame);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", c_unitCreateIgnorePlacement, gv_pLAYER_05_WARFIELDCitadel, PointFromId(472));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
libSwaC_gf_CreateDropPod(libSwaC_ge_DropPodRace_Terran, RegionGetCenter(RegionFromId(43)), UnitLastCreatedGroup(), false, gv_pLAYER_05_WARFIELDCitadel);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:4170
libNtve_gf_CreateUnitsWithDefaultFacing(2, "SCV", c_unitCreateIgnorePlacement, gv_pLAYER_05_WARFIELDCitadel, PointFromId(472));
UnitGroupAddUnitGroup(lv_sCVGroup01, UnitLastCreatedGroup());
UnitGroupIssueOrder(lv_sCVGroup01, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
libSwaC_gf_CreateDropPod(libSwaC_ge_DropPodRace_Terran, PointFromId(312), lv_sCVGroup01, false, gv_pLAYER_05_WARFIELDCitadel);
Wait(0.75, c_timeGame);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:4175
libNtve_gf_CreateUnitsWithDefaultFacing(2, "SCV", c_unitCreateIgnorePlacement, gv_pLAYER_05_WARFIELDCitadel, PointFromId(472));
UnitGroupAddUnitGroup(lv_sCVGroup02, UnitLastCreatedGroup());
UnitGroupIssueOrder(lv_sCVGroup02, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
libSwaC_gf_CreateDropPod(libSwaC_ge_DropPodRace_Terran, PointFromId(252), lv_sCVGroup02, false, gv_pLAYER_05_WARFIELDCitadel);
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:2315
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_ShareVisionofUnit(UnitFromId(105), true, gv_pLAYER_01_USER);
UnitIssueOrder(UnitFromId(105), OrderSetAutoCast(AbilityCommand("YetiCharge", 0), true), c_orderQueueReplace);
Wait(1.0, c_timeGame);
SoundPlay(SoundLink("Event_Expedition01_YetiAggro", -1), PlayerGroupAll(), 100.0, 0.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:1208
if (autoCAF15810_var == null) { break; }
AISetUnitScriptControlled(autoCAF15810_var, false);
UnitIssueOrder(autoCAF15810_var, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
}
auto5C31A30C_g = UnitGroup("SCV", gv_pLAYER_02_DOMINION3, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:1216
if (auto5C31A30C_var == null) { break; }
AISetUnitScriptControlled(auto5C31A30C_var, false);
UnitIssueOrder(auto5C31A30C_var, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
}
libSwaC_gf_SetHatcheryRallyPoint(UnitFromId(107), PointFromId(955));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus01.sc2map/MapScript.galaxy:799
gv_sporeRayPatrollers[gv_lastCreatedSporeRayIndex].lv_patrolPointCount = 0;
gv_sporeRayPatrollers[gv_lastCreatedSporeRayIndex].lv_currentPatrolPoint = 1;
UnitIssueOrder(lp_sporeRay, OrderSetAutoCast(AbilityCommand("CritterFlee", 0), false), c_orderQueueReplace);
UnitSetPropertyFixed(lp_sporeRay, c_unitPropMovementSpeed, 0.5);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:467
gv_sporeRayPatrollers[gv_lastCreatedSporeRayIndex].lv_patrolPointCount = 0;
gv_sporeRayPatrollers[gv_lastCreatedSporeRayIndex].lv_currentPatrolPoint = 1;
UnitIssueOrder(lp_sporeRay, OrderSetAutoCast(AbilityCommand("CritterFlee", 0), false), c_orderQueueReplace);
UnitSetPropertyFixed(lp_sporeRay, c_unitPropMovementSpeed, 0.5);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:3508
}
UnitIssueOrder(EventUnit(), OrderSetAutoCast(AbilityCommand("CritterFlee", 0), false), c_orderQueueReplace);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:3539
}
UnitIssueOrder(EventUnit(), OrderSetAutoCast(AbilityCommand("CritterFlee", 0), true), c_orderQueueReplace);
UnitGroupAdd(gv_tyrannozorCritters, EventUnit());
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus03.sc2map/MapScript.galaxy:743
gv_sporeRayPatrollers[gv_lastCreatedSporeRayIndex].lv_patrolPointCount = 0;
gv_sporeRayPatrollers[gv_lastCreatedSporeRayIndex].lv_currentPatrolPoint = 1;
UnitIssueOrder(lp_sporeRay, OrderSetAutoCast(AbilityCommand("CritterFlee", 0), false), c_orderQueueReplace);
UnitSetPropertyFixed(lp_sporeRay, c_unitPropMovementSpeed, 0.5);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:926
auto8B97F196_var = UnitGroupUnitFromEnd(auto8B97F196_g, auto8B97F196_u);
if (auto8B97F196_var == null) { break; }
UnitIssueOrder(auto8B97F196_var, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
}
auto2A9E8D8C_g = UnitGroup("AutoTurret", gv_pLAYER_02_TERRAN_RED, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:1298
}
if ((libHots_gf_DifficultyValueInt2(0, 0, 1) == 1)) {
UnitIssueOrder(UnitFromId(409), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(409), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(269)), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(406), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:1300
UnitIssueOrder(UnitFromId(409), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(409), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(269)), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(406), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(406), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(273)), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(648), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:1302
UnitIssueOrder(UnitFromId(406), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(406), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(273)), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(648), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(648), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(938)), c_orderQueueReplace);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:3895
}
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", c_unitCreateIgnorePlacement, gv_pLAYER_05_WARFIELDCitadel, PointFromId(472));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
libSwaC_gf_CreateDropPod(libSwaC_ge_DropPodRace_Terran, RegionGetCenter(RegionFromId(32)), UnitLastCreatedGroup(), false, gv_pLAYER_05_WARFIELDCitadel);
Wait(1.25, c_timeGame);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:3899
Wait(1.25, c_timeGame);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", c_unitCreateIgnorePlacement, gv_pLAYER_05_WARFIELDCitadel, PointFromId(472));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
libSwaC_gf_CreateDropPod(libSwaC_ge_DropPodRace_Terran, RegionGetCenter(RegionFromId(42)), UnitLastCreatedGroup(), false, gv_pLAYER_05_WARFIELDCitadel);
Wait(0.75, c_timeGame);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:3903
Wait(0.75, c_timeGame);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", c_unitCreateIgnorePlacement, gv_pLAYER_05_WARFIELDCitadel, PointFromId(472));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
libSwaC_gf_CreateDropPod(libSwaC_ge_DropPodRace_Terran, RegionGetCenter(RegionFromId(43)), UnitLastCreatedGroup(), false, gv_pLAYER_05_WARFIELDCitadel);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:4170
libNtve_gf_CreateUnitsWithDefaultFacing(2, "SCV", c_unitCreateIgnorePlacement, gv_pLAYER_05_WARFIELDCitadel, PointFromId(472));
UnitGroupAddUnitGroup(lv_sCVGroup01, UnitLastCreatedGroup());
UnitGroupIssueOrder(lv_sCVGroup01, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
libSwaC_gf_CreateDropPod(libSwaC_ge_DropPodRace_Terran, PointFromId(312), lv_sCVGroup01, false, gv_pLAYER_05_WARFIELDCitadel);
Wait(0.75, c_timeGame);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:4175
libNtve_gf_CreateUnitsWithDefaultFacing(2, "SCV", c_unitCreateIgnorePlacement, gv_pLAYER_05_WARFIELDCitadel, PointFromId(472));
UnitGroupAddUnitGroup(lv_sCVGroup02, UnitLastCreatedGroup());
UnitGroupIssueOrder(lv_sCVGroup02, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
libSwaC_gf_CreateDropPod(libSwaC_ge_DropPodRace_Terran, PointFromId(252), lv_sCVGroup02, false, gv_pLAYER_05_WARFIELDCitadel);
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map — MapScript.galaxy:2315
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_ShareVisionofUnit(UnitFromId(105), true, gv_pLAYER_01_USER);
UnitIssueOrder(UnitFromId(105), OrderSetAutoCast(AbilityCommand("YetiCharge", 0), true), c_orderQueueReplace);
Wait(1.0, c_timeGame);
SoundPlay(SoundLink("Event_Expedition01_YetiAggro", -1), PlayerGroupAll(), 100.0, 0.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map — MapScript.galaxy:1208
if (autoCAF15810_var == null) { break; }
AISetUnitScriptControlled(autoCAF15810_var, false);
UnitIssueOrder(autoCAF15810_var, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
}
auto5C31A30C_g = UnitGroup("SCV", gv_pLAYER_02_DOMINION3, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map — MapScript.galaxy:1216
if (auto5C31A30C_var == null) { break; }
AISetUnitScriptControlled(auto5C31A30C_var, false);
UnitIssueOrder(auto5C31A30C_var, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
}
libSwaC_gf_SetHatcheryRallyPoint(UnitFromId(107), PointFromId(955));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus01.sc2map — MapScript.galaxy:799
gv_sporeRayPatrollers[gv_lastCreatedSporeRayIndex].lv_patrolPointCount = 0;
gv_sporeRayPatrollers[gv_lastCreatedSporeRayIndex].lv_currentPatrolPoint = 1;
UnitIssueOrder(lp_sporeRay, OrderSetAutoCast(AbilityCommand("CritterFlee", 0), false), c_orderQueueReplace);
UnitSetPropertyFixed(lp_sporeRay, c_unitPropMovementSpeed, 0.5);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus02.sc2map — MapScript.galaxy:467
gv_sporeRayPatrollers[gv_lastCreatedSporeRayIndex].lv_patrolPointCount = 0;
gv_sporeRayPatrollers[gv_lastCreatedSporeRayIndex].lv_currentPatrolPoint = 1;
UnitIssueOrder(lp_sporeRay, OrderSetAutoCast(AbilityCommand("CritterFlee", 0), false), c_orderQueueReplace);
UnitSetPropertyFixed(lp_sporeRay, c_unitPropMovementSpeed, 0.5);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus02.sc2map — MapScript.galaxy:3508
}
UnitIssueOrder(EventUnit(), OrderSetAutoCast(AbilityCommand("CritterFlee", 0), false), c_orderQueueReplace);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus02.sc2map — MapScript.galaxy:3539
}
UnitIssueOrder(EventUnit(), OrderSetAutoCast(AbilityCommand("CritterFlee", 0), true), c_orderQueueReplace);
UnitGroupAdd(gv_tyrannozorCritters, EventUnit());
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus03.sc2map — MapScript.galaxy:743
gv_sporeRayPatrollers[gv_lastCreatedSporeRayIndex].lv_patrolPointCount = 0;
gv_sporeRayPatrollers[gv_lastCreatedSporeRayIndex].lv_currentPatrolPoint = 1;
UnitIssueOrder(lp_sporeRay, OrderSetAutoCast(AbilityCommand("CritterFlee", 0), false), c_orderQueueReplace);
UnitSetPropertyFixed(lp_sporeRay, c_unitPropMovementSpeed, 0.5);
}
campaigns/void.sc2campaign — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:18
repaircmd = OrderGetAbilityCommand (ord);
if (UnitCheckAbilCmdState(aiUnit, repaircmd, c_cmdStateIsAutoCast) == true) {
ord = OrderSetAutoCast(repaircmd, false);
if (UnitOrderIsValid(aiUnit, ord)) {
AICast(aiUnit, ord, c_noMarker, c_castHold);
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:1615
autoCastCmd = OrderGetAbilityCommand (autoCastOrd);
if (UnitCheckAbilCmdState(aiUnit, autoCastCmd, c_cmdStateIsAutoCast) == airOnly) {
autoCastOrd = OrderSetAutoCast(autoCastCmd, !airOnly);
if (UnitOrderIsValid(aiUnit, autoCastOrd)) {
AICast(aiUnit, autoCastOrd, c_noMarker, c_castHold);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:14029
}
if (!((UnitOrderIsValid(lv_caster, OrderSetAutoCast(AbilityCommand("ObserverTargetLock", 0), true)) == false))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:14076
}
if (!((UnitOrderIsValid(lv_caster, OrderSetAutoCast(AbilityCommand("RavenTargetLock", 0), true)) == false))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:368
repaircmd = OrderGetAbilityCommand (ord);
if (UnitCheckAbilCmdState(aiUnit, repaircmd, c_cmdStateIsAutoCast) == true) {
ord = OrderSetAutoCast(repaircmd, false);
if (UnitOrderIsValid(aiUnit, ord)) {
AICast(aiUnit, ord, c_noMarker, c_castHold);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:1562
autoCastCmd = OrderGetAbilityCommand (autoCastOrd);
if (UnitCheckAbilCmdState(aiUnit, autoCastCmd, c_cmdStateIsAutoCast) == airOnly) {
autoCastOrd = OrderSetAutoCast(autoCastCmd, !airOnly);
if (UnitOrderIsValid(aiUnit, autoCastOrd)) {
AICast(aiUnit, autoCastOrd, c_noMarker, c_castHold);