# Enable/Disable Script Control For Unit
Grammar — controlled script control for unit
Flags —Native
|Action
If script control is enabled for a unit, the AI will not use that unit. Script-controlled bullies are not replaced unless they die.
# Arguments
unit
— Unitbool
<preset::Enable_Disable_Option> — Enable/Disable
Returns — void
native void AISetUnitScriptControlled(unit u, bool enable);
# Related
Category: AI / MiscCampaign / Actions
- Pause AI Time —
void
— AITimePause - Start Campaign AI For All Players —
void
— CampaignInitAI - Start Campaign AI For Player —
void
— AICampaignStart - Global Suicide —
void
— AIGlobalSuicide - Enable/Disable Script Control For Unit —
void
— AISetUnitScriptControlled - Enable/Disable Script Control For Unit Group —
void
— AISetGroupScriptControlled - Enable/Disable Wave Use For Unit —
void
— AISetUnitNotUsableInWaves - Enable/Disable Wave Use For Unit Group —
void
— AISetGroupNotUsableInWaves - Enable/Disable Suicide For Unit —
void
— AISetUnitSuicide - Enable/Disable Suicide For Unit Group —
void
— AISetGroupSuicide - Remove Unit From All Waves —
void
— AIRemoveUnitFromAnyWaves - Remove Unit Group From All Waves —
void
— AIRemoveGroupFromAnyWaves - Remove Unit From All Waves And Set Home —
void
— AIRemoveUnitFromAnyWavesAndSetHome - Remove Unit Group From All Waves And Set Home —
void
— AIRemoveGroupFromAnyWavesAndSetHome - Init Campaign Towns —
void
— AIInitCampaignTowns - Init Campaign Harvesting —
void
— AIInitCampaignHarvest - Issue AI Order —
void
— libNtve_gf_AICast
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:410
libNtve_gf_PauseUnit(lv_u, false);
UnitIssueOrder(lv_u, Order(AbilityCommand("BurrowZerglingUp", 0)), c_orderQueueReplace);
AISetUnitScriptControlled(lv_u, false);
AIAttackWaveUseUnit(lp_player, lv_u);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:3681
}
AISetUnitScriptControlled(EventUnit(), true);
UnitGroupRemove(gv_convoyGuards, EventUnit());
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1186)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:632
UnitSetPropertyFixed(auto97A1CCEC_var, c_unitPropEnergyPercent, 100.0);
libNtve_gf_PauseUnit(auto97A1CCEC_var, true);
AISetUnitScriptControlled(auto97A1CCEC_var, true);
}
autoC2C40852_g = UnitGroup("Medic", gv_pLAYER_01_USER, RegionEntireMap(), 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:2843
if (((UnitGetType(EventUnitProgressUnit()) == "Zealot") || (UnitGetType(EventUnitProgressUnit()) == "Stalker") || (UnitGetType(EventUnitProgressUnit()) == "Sentry") || (UnitGetType(EventUnitProgressUnit()) == "Immortal") || (UnitGetType(EventUnitProgressUnit()) == "HighTemplar") || (UnitGetType(EventUnitProgressUnit()) == "Archon") || (UnitGetType(EventUnitProgressUnit()) == "Scout") || (UnitGetType(EventUnitProgressUnit()) == "Phoenix") || (UnitGetType(EventUnitProgressUnit()) == "VoidRay"))) {
AISetUnitScriptControlled(EventUnitProgressUnit(), true);
UnitSetOwner(EventUnitProgressUnit(), gv_pLAYER06_TERRORFLEET, true);
UnitSetCustomValue(EventUnitProgressUnit(), 1, 1.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2849
else {
if ((UnitGetType(EventUnitProgressUnit()) == "Carrier")) {
AISetUnitScriptControlled(EventUnitProgressUnit(), true);
UnitSetOwner(EventUnitProgressUnit(), gv_pLAYER06_TERRORFLEET, true);
UnitMagazineArm(EventUnitProgressUnit(), AbilityCommand("CarrierHangar", 0), libNtve_gf_DifficultyValueInt(0, 0, 2, 4));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6800
libNtve_gf_CreateUnitsAtPoint2(1, "WarpPrismPhasing", 0, gv_pLAYER02_PROTOSS, PointFromId(954));
lv_victoryPrism1 = UnitLastCreated();
AISetUnitScriptControlled(UnitLastCreated(), true);
libNtve_gf_CreateUnitsAtPoint2(1, "WarpPrismPhasing", 0, gv_pLAYER02_PROTOSS, PointFromId(997));
lv_victoryPrism2 = UnitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6803
libNtve_gf_CreateUnitsAtPoint2(1, "WarpPrismPhasing", 0, gv_pLAYER02_PROTOSS, PointFromId(997));
lv_victoryPrism2 = UnitLastCreated();
AISetUnitScriptControlled(UnitLastCreated(), true);
libNtve_gf_CreateUnitsAtPoint2(1, "WarpPrismPhasing", 0, gv_pLAYER02_PROTOSS, PointFromId(998));
lv_victoryPrism3 = UnitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6806
libNtve_gf_CreateUnitsAtPoint2(1, "WarpPrismPhasing", 0, gv_pLAYER02_PROTOSS, PointFromId(998));
lv_victoryPrism3 = UnitLastCreated();
AISetUnitScriptControlled(UnitLastCreated(), true);
UnitIssueOrder(lv_victoryPrism1, Order(AbilityCommand("TransportMode", 0)), c_orderQueueReplace);
Wait(0.5, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:314
libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_p01_USER);
UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowInfestedCivilianUp", 0)), c_orderQueueReplace);
AISetUnitScriptControlled(UnitLastCreated(), false);
AISetUnitSuicide(UnitLastCreated(), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:322
libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_p01_USER);
UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
AISetUnitScriptControlled(UnitLastCreated(), false);
AISetUnitSuicide(UnitLastCreated(), true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2061
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort = UnitLastCreated();
AISetUnitScriptControlled(UnitLastCreated(), true);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_waitPosition, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarRadius, (PointGetFacing(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_waitPosition) + gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2086
for ( ; ( (auto0F8EF654_ai >= 0 && lv_i <= auto0F8EF654_ae) || (auto0F8EF654_ai < 0 && lv_i >= auto0F8EF654_ae) ) ; lv_i += auto0F8EF654_ai ) {
if ((UnitIsAlive(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort) == true)) {
AISetUnitScriptControlled(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, false);
AIAttackWaveAddEscortUnit(lv_escortPlayer, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escortCar], gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarRadius, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle);
lv_escortCount += 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4545
UnitCreate(1, "DominionKillTeam", 0, gv_pLAYER_02_DOMINION, PointFromId(532), 90.0);
UnitGroupAdd(gv_patrolTop, UnitLastCreated());
AISetUnitScriptControlled(UnitLastCreated(), true);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1788)), c_orderQueueReplace);
Wait(1.0, c_timeAI);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4558
UnitBehaviorAdd(UnitLastCreated(), "KillSquad", UnitLastCreated(), 1);
UnitGroupAdd(gv_patrolTop, UnitLastCreated());
AISetUnitScriptControlled(UnitLastCreated(), true);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1788)), c_orderQueueReplace);
Wait(1.0, c_timeAI);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4569
autoAB0F86D0_var = UnitGroupUnitFromEnd(autoAB0F86D0_g, autoAB0F86D0_u);
if (autoAB0F86D0_var == null) { break; }
AISetUnitScriptControlled(autoAB0F86D0_var, false);
AIAttackWaveUseUnit(gv_pLAYER_02_DOMINION, autoAB0F86D0_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4630
UnitCreate(1, "DominionKillTeam", 0, gv_pLAYER_02_DOMINION, PointFromId(1797), 45.0);
UnitGroupAdd(gv_patrolBottom, UnitLastCreated());
AISetUnitScriptControlled(UnitLastCreated(), true);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1778)), c_orderQueueReplace);
Wait(1.0, c_timeAI);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4643
UnitBehaviorAdd(UnitLastCreated(), "KillSquad", UnitLastCreated(), 1);
UnitGroupAdd(gv_patrolBottom, UnitLastCreated());
AISetUnitScriptControlled(UnitLastCreated(), true);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1778)), c_orderQueueReplace);
Wait(1.0, c_timeAI);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4654
auto4C79756C_var = UnitGroupUnitFromEnd(auto4C79756C_g, auto4C79756C_u);
if (auto4C79756C_var == null) { break; }
AISetUnitScriptControlled(auto4C79756C_var, false);
AIAttackWaveUseUnit(gv_pLAYER_02_DOMINION, auto4C79756C_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4713
UnitCreate(1, "DominionKillTeam", 0, gv_pLAYER_02_DOMINION, PointFromId(532), 45.0);
UnitGroupAdd(gv_patrolSingle, UnitLastCreated());
AISetUnitScriptControlled(UnitLastCreated(), true);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1788)), c_orderQueueReplace);
Wait(1.0, c_timeAI);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4724
auto823F4E57_var = UnitGroupUnitFromEnd(auto823F4E57_g, auto823F4E57_u);
if (auto823F4E57_var == null) { break; }
AISetUnitScriptControlled(auto823F4E57_var, false);
AIAttackWaveUseUnit(gv_pLAYER_02_DOMINION, auto823F4E57_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:617
autoD10EC4F1_var = UnitGroupUnitFromEnd(autoD10EC4F1_g, autoD10EC4F1_u);
if (autoD10EC4F1_var == null) { break; }
AISetUnitScriptControlled(autoD10EC4F1_var, true);
}
autoA8826E3A_g = UnitGroup("ProtossRelic", gv_p09_PROTOSS_RELICS, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3153
libNtve_gf_CreateUnitsAtPoint2(1, "Raven", 0, gv_p02_ORLAN_ENEMY, PointFromId(784));
lv_raven = UnitLastCreated();
AISetUnitScriptControlled(lv_raven, true);
UnitIssueOrder(lv_raven, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(606)), c_orderQueueReplace);
UnitIssueOrder(lv_raven, OrderTargetingPoint(AbilityCommand("AutoTurret", 0), PointFromId(606)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3210
libNtve_gf_CreateUnitsAtPoint2(1, "Raven", 0, gv_p02_ORLAN_ENEMY, PointFromId(784));
lv_raven = UnitLastCreated();
AISetUnitScriptControlled(lv_raven, true);
UnitIssueOrder(lv_raven, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(634)), c_orderQueueReplace);
UnitIssueOrder(lv_raven, OrderTargetingPoint(AbilityCommand("AutoTurret", 0), PointFromId(634)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3267
libNtve_gf_CreateUnitsAtPoint2(1, "Raven", 0, gv_p02_ORLAN_ENEMY, PointFromId(785));
lv_raven = UnitLastCreated();
AISetUnitScriptControlled(lv_raven, true);
UnitIssueOrder(lv_raven, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(607)), c_orderQueueReplace);
UnitIssueOrder(lv_raven, OrderTargetingPoint(AbilityCommand("AutoTurret", 0), PointFromId(607)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3324
libNtve_gf_CreateUnitsAtPoint2(1, "Raven", 0, gv_p02_ORLAN_ENEMY, PointFromId(805));
lv_raven = UnitLastCreated();
AISetUnitScriptControlled(lv_raven, true);
UnitIssueOrder(lv_raven, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(804)), c_orderQueueReplace);
UnitIssueOrder(lv_raven, OrderTargetingPoint(AbilityCommand("AutoTurret", 0), PointFromId(804)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:502
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);
auto089A9E6A_g = UnitGroup(null, gv_p01_USER, RegionFromId(3), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:503
UnitIssueOrder(UnitFromId(2243), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
AISetUnitScriptControlled(UnitFromId(2243), false);
AISetUnitScriptControlled(UnitFromId(2242), false);
auto089A9E6A_g = UnitGroup(null, gv_p01_USER, RegionFromId(3), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
auto089A9E6A_u = UnitGroupCount(auto089A9E6A_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1410
AIRemoveUnitFromAnyWaves(UnitFromId(2));
AISetUnitScriptControlled(UnitFromId(2), false);
AIAttackWaveSetGatherPoint(gv_p02_TYCHUS, UnitGetPosition(UnitFromId(2)));
AIAttackWaveSetTargetPlayer(gv_p02_TYCHUS, PlayerGroupSingle(gv_odinAIPlayerTarget));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1676
Wait(10.0, c_timeGame);
AIRemoveUnitFromAnyWaves(UnitFromId(2));
AISetUnitScriptControlled(UnitFromId(2), false);
AIAttackWaveSetGatherPoint(gv_p02_TYCHUS, UnitGetPosition(UnitFromId(2)));
AIAttackWaveSetTargetPlayer(gv_p02_TYCHUS, PlayerGroupSingle(gv_odinAIPlayerTarget));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1835
Wait(2.0, c_timeGame);
libNtve_gf_MakeUnitInvulnerable(UnitFromId(835), false);
AISetUnitScriptControlled(UnitFromId(835), false);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:3211
VisRevealArea(gv_p02_TYCHUS, RegionFromId(20), 0.0, false);
Wait(0.1, c_timeAI);
AISetUnitScriptControlled(UnitFromId(2), true);
UnitIssueOrder(UnitFromId(2), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(715)), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(2), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2290
Wait(0.5, c_timeGame);
if ((libCamp_gf_StoryResearchStateCheck(libCamp_ge_StoryResearchID_ResearchP21OrbitalDepots, libCamp_ge_StoryResearchState_ResearchStatePurchased) == true)) {
AISetUnitScriptControlled(gv_supplyDepotSCV, true);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuildDrop", 0), RegionGetCenter(RegionFromId(35))), c_orderQueueAddToEnd);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuildDrop", 0), RegionGetCenter(RegionFromId(36))), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2300
}
else {
AISetUnitScriptControlled(gv_supplyDepotSCV, true);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuild", 1), RegionGetCenter(RegionFromId(35))), c_orderQueueAddToEnd);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuild", 1), RegionGetCenter(RegionFromId(36))), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2342
}
AISetUnitScriptControlled(gv_supplyDepotSCV, false);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:6787
UnitBehaviorRemove(autoF3942310_var, "Passive", 1);
UnitBehaviorRemove(autoF3942310_var, "ScanRangeBonus", 1);
AISetUnitScriptControlled(autoF3942310_var, false);
libNtve_gf_AICast(autoF3942310_var, Order(AbilityCommand("stop", 0)));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:6797
UnitBehaviorRemove(auto664148D3_var, "Passive", 1);
UnitBehaviorRemove(auto664148D3_var, "ScanRangeBonus", 1);
AISetUnitScriptControlled(auto664148D3_var, false);
libNtve_gf_AICast(auto664148D3_var, Order(AbilityCommand("stop", 0)));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:6807
UnitBehaviorRemove(autoFA9D59B5_var, "Passive", 1);
UnitBehaviorRemove(autoFA9D59B5_var, "ScanRangeBonus", 1);
AISetUnitScriptControlled(autoFA9D59B5_var, false);
libNtve_gf_AICast(autoFA9D59B5_var, Order(AbilityCommand("stop", 0)));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:6817
UnitBehaviorRemove(auto2C0BF552_var, "Passive", 1);
UnitBehaviorRemove(auto2C0BF552_var, "ScanRangeBonus", 1);
AISetUnitScriptControlled(auto2C0BF552_var, false);
libNtve_gf_AICast(auto2C0BF552_var, Order(AbilityCommand("stop", 0)));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:6906
libNtve_gf_PauseUnit(UnitLastCreated(), true);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergy, 50.0);
AISetUnitScriptControlled(UnitLastCreated(), true);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "MercCompound", 0, lv_player, RegionGetCenter(RegionFromId(43)));
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Factory", 0, lv_player, RegionGetCenter(RegionFromId(28)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:2653
if (auto7E78CD21_var == null) { break; }
UnitSetOwner(auto7E78CD21_var, gv_pLAYER_02_DOMINION, true);
AISetUnitScriptControlled(auto7E78CD21_var, false);
}
AIAttackWaveUseGroup(gv_pLAYER_02_DOMINION, gv_hellions);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:435
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/ttosh01.sc2map/MapScript.galaxy:1113
autoD1992A21_var = UnitGroupUnitFromEnd(autoD1992A21_g, autoD1992A21_u);
if (autoD1992A21_var == null) { break; }
AISetUnitScriptControlled(autoD1992A21_var, false);
}
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:1462
gv_nEDefenders[gv_numberOfNEDefenders] = auto8FCB7650_var;
gv_nEDefenderPositions[gv_numberOfNEDefenders] = UnitGetPosition(auto8FCB7650_var);
AISetUnitScriptControlled(auto8FCB7650_var, true);
UnitGroupAdd(gv_nEDefendersGroup, auto8FCB7650_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:1653
UnitIssueOrder(UnitFromId(344), OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(23))), c_orderQueueReplace);
Wait(20.0, c_timeAI);
AISetUnitScriptControlled(UnitFromId(1341), false);
AISetUnitScriptControlled(UnitFromId(344), false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:1654
Wait(20.0, c_timeAI);
AISetUnitScriptControlled(UnitFromId(1341), false);
AISetUnitScriptControlled(UnitFromId(344), false);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:1360
lv_i = 1;
for ( ; ( (auto5F0EABE7_ai >= 0 && lv_i <= auto5F0EABE7_ae) || (auto5F0EABE7_ai < 0 && lv_i >= auto5F0EABE7_ae) ) ; lv_i += auto5F0EABE7_ai ) {
AISetUnitScriptControlled(gv_initialMarines[lv_i], false);
AISetUnitSuicide(gv_initialMarines[lv_i], true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:1433
lv_i = 1;
for ( ; ( (autoC1760395_ai >= 0 && lv_i <= autoC1760395_ae) || (autoC1760395_ai < 0 && lv_i >= autoC1760395_ae) ) ; lv_i += autoC1760395_ai ) {
AISetUnitScriptControlled(gv_aOEMarines[lv_i], false);
AISetUnitSuicide(gv_aOEMarines[lv_i], true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:1549
Wait(5.0, c_timeGame);
if ((UnitIsAlive(lv_searcher) == false)) {
AISetUnitScriptControlled(lv_searcher, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3041
auto87C9B864_var = UnitGroupUnitFromEnd(auto87C9B864_g, auto87C9B864_u);
if (auto87C9B864_var == null) { break; }
AISetUnitScriptControlled(auto87C9B864_var, false);
}
Wait(5.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3050
if (auto5B138040_var == null) { break; }
UnitIssueOrder(auto5B138040_var, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
AISetUnitScriptControlled(auto5B138040_var, false);
}
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3154
auto93529AFD_var = UnitGroupUnitFromEnd(auto93529AFD_g, auto93529AFD_u);
if (auto93529AFD_var == null) { break; }
AISetUnitScriptControlled(auto93529AFD_var, false);
}
Wait(5.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3163
if (auto190CD919_var == null) { break; }
UnitIssueOrder(auto190CD919_var, OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
AISetUnitScriptControlled(auto190CD919_var, false);
}
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3196
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(714)), c_orderQueueReplace);
Wait(8.0, c_timeAI);
AISetUnitScriptControlled(EventUnit(), false);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3498
}
Wait(2.0, c_timeGame);
AISetUnitScriptControlled(lv_chosenTank, false);
AISetUnitSuicide(lv_chosenTank, true);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:957
if (((UnitGetPropertyFixed(UnitFromId(96), c_unitPropShieldsPercent, c_unitPropCurrent) < 100.0) || (UnitGetPropertyFixed(UnitFromId(109), c_unitPropShieldsPercent, c_unitPropCurrent) < 100.0) || (UnitGroupCount(UnitGroup(null, gv_p1_USER, RegionFromId(4), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
UnitSetOwner(UnitFromId(109), gv_p6_FIRST_PROTOSS, true);
AISetUnitScriptControlled(UnitFromId(109), false);
AIAttackWaveSetTargetPlayer(gv_p6_FIRST_PROTOSS, PlayerGroupSingle(gv_p1_USER));
AIAttackWaveUseUnit(gv_p6_FIRST_PROTOSS, UnitFromId(109));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2755
}
AISetUnitScriptControlled(EventUnit(), true);
UnitGroupAdd(gv_zergSpeedBumpUnits, EventUnit());
lv_randomPoint = RegionRandomPoint(RegionFromId(62));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:4719
libNtve_gf_CreateUnitsAtPoint2(1, "Zealot", 0, gv_p3_TEMPLE, PointWithOffset(PointFromId(75), IntToFixed(lv_i), 1.0));
UnitSetFacing(UnitLastCreated(), 180.0, 0.0);
AISetUnitScriptControlled(UnitLastCreated(), true);
libNtve_gf_CreateUnitsAtPoint2(1, "Zealot", 0, gv_p3_TEMPLE, PointWithOffset(PointFromId(75), IntToFixed(lv_i), -1.0));
UnitSetFacing(UnitLastCreated(), 180.0, 0.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:4722
libNtve_gf_CreateUnitsAtPoint2(1, "Zealot", 0, gv_p3_TEMPLE, PointWithOffset(PointFromId(75), IntToFixed(lv_i), -1.0));
UnitSetFacing(UnitLastCreated(), 180.0, 0.0);
AISetUnitScriptControlled(UnitLastCreated(), true);
}
UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(355), 270.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:1418
if (autoC51C3702_var == null) { break; }
UnitIssueOrder(autoC51C3702_var, Order(AbilityCommand("UpgradeToWarpGate", 0)), c_orderQueueReplace);
AISetUnitScriptControlled(autoC51C3702_var, false);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:487
autoB5535D35_var = UnitGroupUnitFromEnd(autoB5535D35_g, autoB5535D35_u);
if (autoB5535D35_var == null) { break; }
AISetUnitScriptControlled(autoB5535D35_var, true);
UnitIssueOrder(autoB5535D35_var, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:496
if (auto4F3CD872_var == null) { break; }
UnitSetState(auto4F3CD872_var, c_unitStateUsingSupply, false);
AISetUnitScriptControlled(auto4F3CD872_var, false);
}
auto97666A4C_g = UnitGroup("NaturalMinerals", gv_pLAYER06_RESOURCES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1311
TriggerEnable(TriggerGetCurrent(), false);
AISetUnitScriptControlled(UnitFromId(83), true);
AIToggleBulliesInRegion(gv_pLAYER03_PROTOSS, RegionFromId(2), false);
autoAA1AFB9B_g = gv_resourceGroup_P03Base;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1722
if ((libNtve_gf_DifficultyValueInt(0, 0, 0, 1) == 1)) {
UnitSetOwner(UnitFromId(539), gv_pLAYER02_PROTOSS, true);
AISetUnitScriptControlled(UnitFromId(539), false);
AIAttackWaveUseUnit(gv_pLAYER02_PROTOSS, UnitFromId(539));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1736
if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 0) == 1)) {
UnitSetOwner(UnitFromId(539), gv_pLAYER02_PROTOSS, true);
AISetUnitScriptControlled(UnitFromId(539), false);
AIAttackWaveUseUnit(gv_pLAYER02_PROTOSS, UnitFromId(539));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:4046
libNtve_gf_PauseUnit(gv_wALLOFFIRE, true);
libNtve_gf_CreateUnitsAtPoint2(1, "HighTemplar", 0, gv_pLAYER02_PROTOSS, PointFromId(942));
AISetUnitScriptControlled(UnitLastCreated(), true);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Archon", 0, gv_pLAYER02_PROTOSS, PointFromId(946));
AISetUnitScriptControlled(UnitLastCreated(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:4048
AISetUnitScriptControlled(UnitLastCreated(), true);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Archon", 0, gv_pLAYER02_PROTOSS, PointFromId(946));
AISetUnitScriptControlled(UnitLastCreated(), true);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Archon", 0, gv_pLAYER02_PROTOSS, PointFromId(1062));
AISetUnitScriptControlled(UnitLastCreated(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:4050
AISetUnitScriptControlled(UnitLastCreated(), true);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Archon", 0, gv_pLAYER02_PROTOSS, PointFromId(1062));
AISetUnitScriptControlled(UnitLastCreated(), true);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "WarpPrismPhasing", 0, gv_pLAYER02_PROTOSS, PointFromId(55));
libNtve_gf_CreateUnitsWithDefaultFacing(1, "WarpPrismPhasing", 0, gv_pLAYER02_PROTOSS, PointFromId(170));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2614
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
AISetUnitScriptControlled(gv_uNITDaMothership, true);
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
Wait(2.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2619
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
Wait(5.0, c_timeGame);
AISetUnitScriptControlled(gv_uNITDaMothership, false);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2656
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
AISetUnitScriptControlled(gv_uNITDaMothership, true);
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
Wait(2.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2661
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
Wait(5.0, c_timeGame);
AISetUnitScriptControlled(gv_uNITDaMothership, false);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:5379
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_nydusOBJ01), c_animNameDefault, "Spell", 0, c_animTimeDefault);
libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_p10_ZERG_WHITEHIVE, UnitGetPosition(gv_nydusOBJ01));
AISetUnitScriptControlled(UnitLastCreated(), true);
Wait(0.5, c_timeGame);
if ((UnitIsAlive(gv_nydusOBJ01) == false)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:5389
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_nydusOBJ01), c_animNameDefault, "Spell", 0, c_animTimeDefault);
libNtve_gf_CreateUnitsAtPoint2(1, "Hydralisk", 0, gv_p10_ZERG_WHITEHIVE, UnitGetPosition(gv_nydusOBJ01));
AISetUnitScriptControlled(UnitLastCreated(), true);
Wait(0.5, c_timeGame);
if ((UnitIsAlive(gv_nydusOBJ01) == false)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:5400
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_nydusOBJ01), c_animNameDefault, "Spell", 0, c_animTimeDefault);
libNtve_gf_CreateUnitsAtPoint2(1, "Baneling", 0, gv_p10_ZERG_WHITEHIVE, UnitGetPosition(gv_nydusOBJ01));
AISetUnitScriptControlled(UnitLastCreated(), true);
Wait(0.5, c_timeGame);
if ((UnitIsAlive(gv_nydusOBJ01) == false)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:5453
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_nydusOBJ02), c_animNameDefault, "Spell", 0, c_animTimeDefault);
libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_p10_ZERG_WHITEHIVE, UnitGetPosition(gv_nydusOBJ02));
AISetUnitScriptControlled(UnitLastCreated(), true);
Wait(0.5, c_timeGame);
if ((UnitIsAlive(gv_nydusOBJ02) == false)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:5463
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_nydusOBJ02), c_animNameDefault, "Spell", 0, c_animTimeDefault);
libNtve_gf_CreateUnitsAtPoint2(1, "Hydralisk", 0, gv_p10_ZERG_WHITEHIVE, UnitGetPosition(gv_nydusOBJ02));
AISetUnitScriptControlled(UnitLastCreated(), true);
Wait(0.5, c_timeGame);
if ((UnitIsAlive(gv_nydusOBJ02) == false)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:5474
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_nydusOBJ02), c_animNameDefault, "Spell", 0, c_animTimeDefault);
libNtve_gf_CreateUnitsAtPoint2(1, "Baneling", 0, gv_p10_ZERG_WHITEHIVE, UnitGetPosition(gv_nydusOBJ02));
AISetUnitScriptControlled(UnitLastCreated(), true);
Wait(0.5, c_timeGame);
if ((UnitIsAlive(gv_nydusOBJ02) == false)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:5527
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_nydusOBJ03), c_animNameDefault, "Spell", 0, c_animTimeDefault);
libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_p10_ZERG_WHITEHIVE, UnitGetPosition(gv_nydusOBJ03));
AISetUnitScriptControlled(UnitLastCreated(), true);
Wait(0.5, c_timeGame);
if ((UnitIsAlive(gv_nydusOBJ03) == false)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:5537
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_nydusOBJ03), c_animNameDefault, "Spell", 0, c_animTimeDefault);
libNtve_gf_CreateUnitsAtPoint2(1, "Hydralisk", 0, gv_p10_ZERG_WHITEHIVE, UnitGetPosition(gv_nydusOBJ03));
AISetUnitScriptControlled(UnitLastCreated(), true);
Wait(0.5, c_timeGame);
if ((UnitIsAlive(gv_nydusOBJ03) == false)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:5548
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_nydusOBJ03), c_animNameDefault, "Spell", 0, c_animTimeDefault);
libNtve_gf_CreateUnitsAtPoint2(1, "Baneling", 0, gv_p10_ZERG_WHITEHIVE, UnitGetPosition(gv_nydusOBJ03));
AISetUnitScriptControlled(UnitLastCreated(), true);
Wait(0.5, c_timeGame);
if ((UnitIsAlive(gv_nydusOBJ03) == false)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1219
}
AISetUnitScriptControlled(gv_leviathan, false);
AIAttackWaveUseUnit(gv_pLAYER_P10_LEVIATHAN, gv_leviathan);
AIAttackWaveSetGatherPoint(gv_pLAYER_P10_LEVIATHAN, UnitGetPosition(gv_leviathan));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1327
Wait(libNtve_gf_DifficultyValueFixed(1.5, 1.5, 1.0, 0.75), c_timeGame);
}
AISetUnitScriptControlled(gv_leviathan, false);
TriggerExecute(gt_LeviathanPatrolAI, true, false);
Wait(libNtve_gf_DifficultyValueFixed(13.5, 12.0, 11.0, 10.25), c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1415
auto4CDF0813_var = UnitGroupUnitFromEnd(auto4CDF0813_g, auto4CDF0813_u);
if (auto4CDF0813_var == null) { break; }
AISetUnitScriptControlled(auto4CDF0813_var, false);
AISetUnitSuicide(auto4CDF0813_var, true);
UnitGroupRemove(gv_leviathanMutaGroup, auto4CDF0813_var);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:2836
UnitSetOwner(EventUnit(), gv_pLAYER_P07_ZERG_EXP, true);
AISetUnitScriptControlled(EventUnit(), true);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:866
}
AISetUnitScriptControlled(gv_kerrigan, true);
if ((gf_ABChoiceA() == true)) {
libNtve_gf_CreateUnitsAtPoint2(1, "BroodLord", 0, gv_pLAYER_ZERG_SOUTH, PointFromId(587));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:2718
UnitIssueOrder(gv_leviathan, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
Wait(4.0, c_timeAI);
AISetUnitScriptControlled(gv_leviathan, false);
Wait(libNtve_gf_DifficultyValueFixed(8.5, 7.0, 6.0, 5.25), c_timeAI);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:2725
UnitIssueOrder(gv_leviathan, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
Wait(1.0, c_timeAI);
AISetUnitScriptControlled(gv_leviathan, false);
Wait(libNtve_gf_DifficultyValueFixed(11.5, 10.0, 9.0, 8.25), c_timeAI);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:3416
PingSetVisible(gv_kerriganPing, false);
AIRemoveUnitFromAnyWaves(gv_kerrigan);
AISetUnitScriptControlled(gv_kerrigan, true);
UnitBehaviorRemove(gv_kerrigan, "Stunned", 1);
UnitBehaviorRemove(gv_kerrigan, "UltrasonicPulseStun", 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:3524
auto8ED32D2A_var = UnitGroupUnitFromEnd(auto8ED32D2A_g, auto8ED32D2A_u);
if (auto8ED32D2A_var == null) { break; }
AISetUnitScriptControlled(auto8ED32D2A_var, false);
AIAttackWaveUseUnit(gv_pLAYER_ZERG_MAIN, auto8ED32D2A_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:3527
AIAttackWaveUseUnit(gv_pLAYER_ZERG_MAIN, auto8ED32D2A_var);
}
AISetUnitScriptControlled(gv_kerrigan, false);
AIAttackWaveUseUnit(gv_pLAYER_ZERG_MAIN, gv_kerrigan);
AIAttackWaveSend(gv_pLAYER_ZERG_MAIN, 0, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:3989
if ((UnitGetType(gv_zergDefenders[lv_unitIndex].lv_unit) != "SpineCrawlerUprooted") && (UnitGetType(gv_zergDefenders[lv_unitIndex].lv_unit) != "SporeCrawlerUprooted") && (libNtve_gf_UnitInRegion(gv_zergDefenders[lv_unitIndex].lv_unit, RegionCircle(gv_zergDefenders[lv_unitIndex].lv_position, 1.0)) == true)) {
AISetUnitScriptControlled(gv_zergDefenders[lv_unitIndex].lv_unit, false);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:2077
}
AISetUnitScriptControlled(gv_hybridPhysical, false);
lv_manifestation = UnitGroupUnit(UnitGroup("Maar", gv_p10_HYBRID_MANIFESTATIONS, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), 1);
AIAttackWaveSetTargetPlayer(gv_p10_HYBRID_MANIFESTATIONS, PlayerGroupSingle(gv_p1_USER));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:6296
libNtve_gf_CreateUnitsAtPoint2(1, "OmegaliskBurrowed", 0, gv_p05_ZERG_NE, PointFromId(912));
gv_omegalisk1 = UnitLastCreated();
AISetUnitScriptControlled(gv_omegalisk1, true);
libNtve_gf_CreateUnitsAtPoint2(1, "OmegaliskBurrowed", 0, gv_p05_ZERG_NE, PointFromId(913));
gv_omegalisk2 = UnitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:6299
libNtve_gf_CreateUnitsAtPoint2(1, "OmegaliskBurrowed", 0, gv_p05_ZERG_NE, PointFromId(913));
gv_omegalisk2 = UnitLastCreated();
AISetUnitScriptControlled(gv_omegalisk2, true);
libNtve_gf_CreateUnitsAtPoint2(1, "OmegaliskBurrowed", 0, gv_p05_ZERG_NE, PointFromId(914));
gv_omegalisk3 = UnitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:6302
libNtve_gf_CreateUnitsAtPoint2(1, "OmegaliskBurrowed", 0, gv_p05_ZERG_NE, PointFromId(914));
gv_omegalisk3 = UnitLastCreated();
AISetUnitScriptControlled(gv_omegalisk3, true);
for (autoFC3FFB40_i = 1; autoFC3FFB40_i <= autoFC3FFB40_n; autoFC3FFB40_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_p05_ZERG_NE, RegionRandomPoint(RegionFromId(20)));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:410
libNtve_gf_PauseUnit(lv_u, false);
UnitIssueOrder(lv_u, Order(AbilityCommand("BurrowZerglingUp", 0)), c_orderQueueReplace);
AISetUnitScriptControlled(lv_u, false);
AIAttackWaveUseUnit(lp_player, lv_u);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:3681
}
AISetUnitScriptControlled(EventUnit(), true);
UnitGroupRemove(gv_convoyGuards, EventUnit());
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1186)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:632
UnitSetPropertyFixed(auto97A1CCEC_var, c_unitPropEnergyPercent, 100.0);
libNtve_gf_PauseUnit(auto97A1CCEC_var, true);
AISetUnitScriptControlled(auto97A1CCEC_var, true);
}
autoC2C40852_g = UnitGroup("Medic", gv_pLAYER_01_USER, RegionEntireMap(), 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:2843
if (((UnitGetType(EventUnitProgressUnit()) == "Zealot") || (UnitGetType(EventUnitProgressUnit()) == "Stalker") || (UnitGetType(EventUnitProgressUnit()) == "Sentry") || (UnitGetType(EventUnitProgressUnit()) == "Immortal") || (UnitGetType(EventUnitProgressUnit()) == "HighTemplar") || (UnitGetType(EventUnitProgressUnit()) == "Archon") || (UnitGetType(EventUnitProgressUnit()) == "Scout") || (UnitGetType(EventUnitProgressUnit()) == "Phoenix") || (UnitGetType(EventUnitProgressUnit()) == "VoidRay"))) {
AISetUnitScriptControlled(EventUnitProgressUnit(), true);
UnitSetOwner(EventUnitProgressUnit(), gv_pLAYER06_TERRORFLEET, true);
UnitSetCustomValue(EventUnitProgressUnit(), 1, 1.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:2849
else {
if ((UnitGetType(EventUnitProgressUnit()) == "Carrier")) {
AISetUnitScriptControlled(EventUnitProgressUnit(), true);
UnitSetOwner(EventUnitProgressUnit(), gv_pLAYER06_TERRORFLEET, true);
UnitMagazineArm(EventUnitProgressUnit(), AbilityCommand("CarrierHangar", 0), libNtve_gf_DifficultyValueInt(0, 0, 2, 4));