# Enable/Disable Script Control For Unit Group
Grammar — controlled script control for group|Unit Group
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
unitgroup
— Groupbool
<preset::Enable_Disable_Option> — Enable/Disable
Returns — void
native void AISetGroupScriptControlled(
unitgroup ug,
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/thanson02.sc2map/MapScript.galaxy:337
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lp_attackedStructure), 0.0, 100.0, 0.0);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(3, 4, 5, 6), "InfestedCivilian", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
AISetGroupScriptControlled(UnitLastCreatedGroup(), false);
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lp_attackedStructure), 0.0, 100.0, 0.0);
if ((gv_infestedBuildingsKilled < 50)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:349
if ((gv_infestedBuildingsKilled >= 100)) {
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(3, 4, 2, 3), "InfestedTerranCampaign", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
AISetGroupScriptControlled(UnitLastCreatedGroup(), false);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "InfestedAbomination", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:353
}
AISetGroupScriptControlled(UnitLastCreatedGroup(), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:421
}
AISetGroupScriptControlled(UnitCargoGroup(lv_dropship), true);
UnitGroupAdd(gv_killTeamMedivacs, lv_dropship);
libNtve_gf_AddUnitGroupToUnitGroup(UnitCargoGroup(lv_dropship), gv_killTeamAttackers);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:4070
}
AISetGroupScriptControlled(UnitGroup("SCV", gv_p03_DOMINION_SIEGE, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), false);
AICampaignStart(gv_p02_DOMINION_INFANTRY);
AICampaignStart(gv_p03_DOMINION_SIEGE);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1609
if ((UnitGroupCount(gv_initialStalkers, c_unitCountAlive) > 0) && (gv_gameOver == false)) {
AIAttackWaveSetTargetPlayer(gv_p6_FIRST_PROTOSS, PlayerGroupSingle(gv_p1_USER));
AISetGroupScriptControlled(gv_initialStalkers, false);
AIAttackWaveUseGroup(gv_p6_FIRST_PROTOSS, gv_initialStalkers);
AIAttackWaveSend(gv_p6_FIRST_PROTOSS, 0, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2355
libNtve_gf_CreateUnitsAtPoint2(1, "Hydralisk", 0, gv_p2_ZERG, RegionGetCenter(RegionFromId(15)));
UnitGroupAdd(lv_dropPodGroup, UnitLastCreated());
AISetGroupScriptControlled(lv_dropPodGroup, true);
lv_dropSpot = RegionRandomPoint(RegionCircle(RegionGetCenter(gv_creepRegions[lv_i]), 2.0));
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, lv_dropSpot, lv_dropPodGroup, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2358
lv_dropSpot = RegionRandomPoint(RegionCircle(RegionGetCenter(gv_creepRegions[lv_i]), 2.0));
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, lv_dropSpot, lv_dropPodGroup, true);
AISetGroupScriptControlled(lv_dropPodGroup, false);
AIAttackWaveSetTargetPoint(gv_p2_ZERG, PointFromId(724));
AIAttackWaveSetGatherPoint(gv_p2_ZERG, lv_dropSpot);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2654
libNtve_gf_CreateUnitsAtPoint2(36, "Zergling", 0, gv_p2_ZERG, RegionGetCenter(RegionFromId(15)));
lv_extraUnits = UnitLastCreatedGroup();
AISetGroupScriptControlled(lv_extraUnits, true);
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(1923), lv_extraUnits, true);
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1923));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2657
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(1923), lv_extraUnits, true);
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1923));
AISetGroupScriptControlled(lv_extraUnits, false);
AIAttackWaveSetTargetPoint(gv_p2_ZERG, PointFromId(724));
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(1923));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2667
libNtve_gf_CreateUnitsAtPoint2(8, "Hydralisk", 0, gv_p2_ZERG, RegionGetCenter(RegionFromId(15)));
lv_extraUnits = UnitLastCreatedGroup();
AISetGroupScriptControlled(lv_extraUnits, true);
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(1924), lv_extraUnits, true);
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1924));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2670
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(1924), lv_extraUnits, true);
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1924));
AISetGroupScriptControlled(lv_extraUnits, false);
AIAttackWaveSetTargetPoint(gv_p2_ZERG, PointFromId(724));
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(1924));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2680
libNtve_gf_CreateUnitsAtPoint2(8, "Hydralisk", 0, gv_p2_ZERG, RegionGetCenter(RegionFromId(15)));
lv_extraUnits = UnitLastCreatedGroup();
AISetGroupScriptControlled(lv_extraUnits, true);
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(1925), lv_extraUnits, true);
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1925));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2683
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(1925), lv_extraUnits, true);
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1925));
AISetGroupScriptControlled(lv_extraUnits, false);
AIAttackWaveSetTargetPoint(gv_p2_ZERG, PointFromId(724));
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(1925));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2837
TriggerEnable(gt_AddZergSpeedBumpUnit, false);
if ((UnitGroupCount(gv_zergSpeedBumpUnits, c_unitCountAlive) > 0)) {
AISetGroupScriptControlled(gv_zergSpeedBumpUnits, false);
AIAttackWaveSetTargetPoint(gv_p2_ZERG, PointFromId(724));
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(1922));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:3885
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup(null, gv_p02_ZERG, RegionFromId(66), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_gROUP_ZERG_SITE1_SHARKS);
AISetGroupScriptControlled(gv_gROUP_ZERG_SITE1_SHARKS, true);
UnitGroupIssueOrder(gv_gROUP_ZERG_SITE1_SHARKS, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(10))), c_orderQueueAddToEnd);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:4720
UnitSetOwner(auto98FF846B_var, gv_p05_ZERG_ORANGE_NW, false);
}
AISetGroupScriptControlled(gv_zergRushGroup03, false);
AISetGroupSuicide(gv_zergRushGroup03, true);
Wait(12.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:4732
UnitSetOwner(auto0B0EBEB3_var, gv_p05_ZERG_ORANGE_NW, false);
}
AISetGroupScriptControlled(gv_zergRushGroup01, false);
AISetGroupSuicide(gv_zergRushGroup01, true);
Wait(5.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:4744
UnitSetOwner(autoBF8B0FFA_var, gv_p05_ZERG_ORANGE_NW, false);
}
AISetGroupScriptControlled(gv_zergRushGroup02, false);
AISetGroupSuicide(gv_zergRushGroup02, true);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:2517
libNtve_gf_UnitCreateFacingPoint(libNtve_gf_DifficultyValueInt(0, 1, 1, 1), "Hydralisk", 0, gv_pLAYER_ZERG_SPECIAL, RegionRandomPoint(RegionFromId(11)), PlayerStartLocation(gv_pLAYER_USER));
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_dropPodGroup);
AISetGroupScriptControlled(lv_dropPodGroup, true);
if ((gf_ArtifactChargePercent() >= 95.0)) {
if ((libNtve_gf_RandomPercent() <= 20.0)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:2541
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, lv_dropPodSpot, lv_dropPodGroup, true);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "CreepTumorBurrowed", c_unitCreateConstruct, gv_pLAYER_ZERG_MAIN, lv_dropPodSpot);
AISetGroupScriptControlled(lv_dropPodGroup, false);
AISetGroupSuicide(lv_dropPodGroup, true);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:337
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lp_attackedStructure), 0.0, 100.0, 0.0);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(3, 4, 5, 6), "InfestedCivilian", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
AISetGroupScriptControlled(UnitLastCreatedGroup(), false);
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lp_attackedStructure), 0.0, 100.0, 0.0);
if ((gv_infestedBuildingsKilled < 50)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:349
if ((gv_infestedBuildingsKilled >= 100)) {
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(3, 4, 2, 3), "InfestedTerranCampaign", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
AISetGroupScriptControlled(UnitLastCreatedGroup(), false);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "InfestedAbomination", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:353
}
AISetGroupScriptControlled(UnitLastCreatedGroup(), false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:421
}
AISetGroupScriptControlled(UnitCargoGroup(lv_dropship), true);
UnitGroupAdd(gv_killTeamMedivacs, lv_dropship);
libNtve_gf_AddUnitGroupToUnitGroup(UnitCargoGroup(lv_dropship), gv_killTeamAttackers);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:4070
}
AISetGroupScriptControlled(UnitGroup("SCV", gv_p03_DOMINION_SIEGE, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), false);
AICampaignStart(gv_p02_DOMINION_INFANTRY);
AICampaignStart(gv_p03_DOMINION_SIEGE);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:1609
if ((UnitGroupCount(gv_initialStalkers, c_unitCountAlive) > 0) && (gv_gameOver == false)) {
AIAttackWaveSetTargetPlayer(gv_p6_FIRST_PROTOSS, PlayerGroupSingle(gv_p1_USER));
AISetGroupScriptControlled(gv_initialStalkers, false);
AIAttackWaveUseGroup(gv_p6_FIRST_PROTOSS, gv_initialStalkers);
AIAttackWaveSend(gv_p6_FIRST_PROTOSS, 0, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2355
libNtve_gf_CreateUnitsAtPoint2(1, "Hydralisk", 0, gv_p2_ZERG, RegionGetCenter(RegionFromId(15)));
UnitGroupAdd(lv_dropPodGroup, UnitLastCreated());
AISetGroupScriptControlled(lv_dropPodGroup, true);
lv_dropSpot = RegionRandomPoint(RegionCircle(RegionGetCenter(gv_creepRegions[lv_i]), 2.0));
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, lv_dropSpot, lv_dropPodGroup, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2358
lv_dropSpot = RegionRandomPoint(RegionCircle(RegionGetCenter(gv_creepRegions[lv_i]), 2.0));
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, lv_dropSpot, lv_dropPodGroup, true);
AISetGroupScriptControlled(lv_dropPodGroup, false);
AIAttackWaveSetTargetPoint(gv_p2_ZERG, PointFromId(724));
AIAttackWaveSetGatherPoint(gv_p2_ZERG, lv_dropSpot);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2654
libNtve_gf_CreateUnitsAtPoint2(36, "Zergling", 0, gv_p2_ZERG, RegionGetCenter(RegionFromId(15)));
lv_extraUnits = UnitLastCreatedGroup();
AISetGroupScriptControlled(lv_extraUnits, true);
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(1923), lv_extraUnits, true);
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1923));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2657
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(1923), lv_extraUnits, true);
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1923));
AISetGroupScriptControlled(lv_extraUnits, false);
AIAttackWaveSetTargetPoint(gv_p2_ZERG, PointFromId(724));
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(1923));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2667
libNtve_gf_CreateUnitsAtPoint2(8, "Hydralisk", 0, gv_p2_ZERG, RegionGetCenter(RegionFromId(15)));
lv_extraUnits = UnitLastCreatedGroup();
AISetGroupScriptControlled(lv_extraUnits, true);
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(1924), lv_extraUnits, true);
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1924));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2670
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(1924), lv_extraUnits, true);
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1924));
AISetGroupScriptControlled(lv_extraUnits, false);
AIAttackWaveSetTargetPoint(gv_p2_ZERG, PointFromId(724));
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(1924));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2680
libNtve_gf_CreateUnitsAtPoint2(8, "Hydralisk", 0, gv_p2_ZERG, RegionGetCenter(RegionFromId(15)));
lv_extraUnits = UnitLastCreatedGroup();
AISetGroupScriptControlled(lv_extraUnits, true);
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(1925), lv_extraUnits, true);
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1925));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2683
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(1925), lv_extraUnits, true);
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1925));
AISetGroupScriptControlled(lv_extraUnits, false);
AIAttackWaveSetTargetPoint(gv_p2_ZERG, PointFromId(724));
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(1925));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2837
TriggerEnable(gt_AddZergSpeedBumpUnit, false);
if ((UnitGroupCount(gv_zergSpeedBumpUnits, c_unitCountAlive) > 0)) {
AISetGroupScriptControlled(gv_zergSpeedBumpUnits, false);
AIAttackWaveSetTargetPoint(gv_p2_ZERG, PointFromId(724));
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(1922));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2map — MapScript.galaxy:3885
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup(null, gv_p02_ZERG, RegionFromId(66), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_gROUP_ZERG_SITE1_SHARKS);
AISetGroupScriptControlled(gv_gROUP_ZERG_SITE1_SHARKS, true);
UnitGroupIssueOrder(gv_gROUP_ZERG_SITE1_SHARKS, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(10))), c_orderQueueAddToEnd);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:4720
UnitSetOwner(auto98FF846B_var, gv_p05_ZERG_ORANGE_NW, false);
}
AISetGroupScriptControlled(gv_zergRushGroup03, false);
AISetGroupSuicide(gv_zergRushGroup03, true);
Wait(12.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:4732
UnitSetOwner(auto0B0EBEB3_var, gv_p05_ZERG_ORANGE_NW, false);
}
AISetGroupScriptControlled(gv_zergRushGroup01, false);
AISetGroupSuicide(gv_zergRushGroup01, true);
Wait(5.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:4744
UnitSetOwner(autoBF8B0FFA_var, gv_p05_ZERG_ORANGE_NW, false);
}
AISetGroupScriptControlled(gv_zergRushGroup02, false);
AISetGroupSuicide(gv_zergRushGroup02, true);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:2517
libNtve_gf_UnitCreateFacingPoint(libNtve_gf_DifficultyValueInt(0, 1, 1, 1), "Hydralisk", 0, gv_pLAYER_ZERG_SPECIAL, RegionRandomPoint(RegionFromId(11)), PlayerStartLocation(gv_pLAYER_USER));
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_dropPodGroup);
AISetGroupScriptControlled(lv_dropPodGroup, true);
if ((gf_ArtifactChargePercent() >= 95.0)) {
if ((libNtve_gf_RandomPercent() <= 20.0)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:2541
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, lv_dropPodSpot, lv_dropPodGroup, true);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "CreepTumorBurrowed", c_unitCreateConstruct, gv_pLAYER_ZERG_MAIN, lv_dropPodSpot);
AISetGroupScriptControlled(lv_dropPodGroup, false);
AISetGroupSuicide(lv_dropPodGroup, true);
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionzergling.sc2map/MapScript.galaxy:408
UnitGroupLoopEnd();
libSwaC_gf_EnableCampaignTechUnit(true, "ZerglingA", gv_pLAYER_01_USER);
AISetGroupScriptControlled(gv_swarmlingMassWave, true);
AISetUnitScriptControlled(UnitFromId(74), true);
AISetUnitScriptControlled(UnitFromId(854), true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:5351
UnitIssueOrder(gv_zagara, OrderTargetingPoint(AbilityCommand("move", 4), PointFromId(2)), c_orderQueueAddToEnd);
libNtve_gf_CreateUnitsAtPoint2(2, "Zergling", 0, gv_pLAYER_02_ZERG, PointFromId(621));
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(2, "Zergling", 0, gv_pLAYER_02_ZERG, PointFromId(625));
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:5353
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(2, "Zergling", 0, gv_pLAYER_02_ZERG, PointFromId(625));
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(2, "Zergling", 0, gv_pLAYER_02_ZERG, PointFromId(630));
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:5355
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(2, "Zergling", 0, gv_pLAYER_02_ZERG, PointFromId(630));
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(2, "Zergling", 0, gv_pLAYER_02_ZERG, PointFromId(86));
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:5357
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(2, "Zergling", 0, gv_pLAYER_02_ZERG, PointFromId(86));
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
libNtve_gf_SendActorMessageToUnit(gv_zagara, "Signal CollectStop");
libNtve_gf_KillModel(gv_introCorruptionEffect);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:453
// Implementation
libSwaC_gf_CreateDropPod(libSwaC_ge_DropPodRace_Terran, lp_lZ, lp_dROPGROUP, true, lp_pLAYER);
AISetGroupScriptControlled(lp_dROPGROUP, false);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:625
}
UnitGroupIssueOrder(lv_aTTACK_GROUP, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupUnit(UnitGroup(null, gv_pLAYER_01_USER, lp_tRIGGERING_REGION, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), 1))), c_orderQueueReplace);
AISetGroupScriptControlled(lv_aTTACK_GROUP, false);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:542
// Implementation
lv_attackingUnitGroup = UnitGroupAlliance(gv_pLAYER_01_USER, c_unitAllianceEnemy, lp_fORCE_REGION, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
AISetGroupScriptControlled(lv_attackingUnitGroup, true);
while (!((gv_gameOver == false) && (gv_inCinematic == false) && (UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, lp_tRIGGERING_REGION, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) >= 1))) {
Wait(0.3, c_timeReal);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:4726
while ((UnitOrder(EventUnit(), 0) == OrderTargetingPoint(AbilityCommand("TacNukeStrike", 0), EventUnitTargetPoint()))) {
UnitGroupAddUnitGroup(lv_fleeingunits, UnitGroup(null, gv_pLAYER_02_DOMINION, RegionCircle(EventUnitTargetPoint(), 9.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AISetGroupScriptControlled(lv_fleeingunits, true);
auto8C575019_g = lv_fleeingunits;
auto8C575019_u = UnitGroupCount(auto8C575019_g, c_unitCountAll);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:4738
Wait(2.0, c_timeGame);
UnitGroupIssueOrder(lv_fleeingunits, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
AISetGroupScriptControlled(lv_fleeingunits, false);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:4265
}
libNtve_gf_ClearAnimationOnDoodadsInRegion(RegionFromId(18), null, c_animNameDefault);
AISetGroupScriptControlled(lv_rockAttackGroup, false);
AIAttackWaveSetTargetUnitPoint(gv_pLAYER_03_YAGDRA, gv_chrysalis);
AIAttackWaveUseGroup(gv_pLAYER_03_YAGDRA, lv_rockAttackGroup);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map/MapScript.galaxy:2102
if ((libNtve_gf_UnitInRegion(EventUnit(), RegionFromId(3)) == true)) {
gv_bonusObjectiveAIControlled[1] = true;
AISetGroupScriptControlled(UnitGroup("Sentry", gv_pLAYER_02_TALDARIM, RegionFromId(3), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), false);
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map/MapScript.galaxy:2107
if ((libNtve_gf_UnitInRegion(EventUnit(), RegionFromId(5)) == true)) {
gv_bonusObjectiveAIControlled[2] = true;
AISetGroupScriptControlled(UnitGroup("Sentry", gv_pLAYER_02_TALDARIM, RegionFromId(5), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), false);
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map/MapScript.galaxy:2112
if ((libNtve_gf_UnitInRegion(EventUnit(), RegionFromId(7)) == true)) {
gv_bonusObjectiveAIControlled[3] = true;
AISetGroupScriptControlled(UnitGroup("Sentry", gv_pLAYER_02_TALDARIM, RegionFromId(7), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), false);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionzergling.sc2map — MapScript.galaxy:408
UnitGroupLoopEnd();
libSwaC_gf_EnableCampaignTechUnit(true, "ZerglingA", gv_pLAYER_01_USER);
AISetGroupScriptControlled(gv_swarmlingMassWave, true);
AISetUnitScriptControlled(UnitFromId(74), true);
AISetUnitScriptControlled(UnitFromId(854), true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:5351
UnitIssueOrder(gv_zagara, OrderTargetingPoint(AbilityCommand("move", 4), PointFromId(2)), c_orderQueueAddToEnd);
libNtve_gf_CreateUnitsAtPoint2(2, "Zergling", 0, gv_pLAYER_02_ZERG, PointFromId(621));
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(2, "Zergling", 0, gv_pLAYER_02_ZERG, PointFromId(625));
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:5353
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(2, "Zergling", 0, gv_pLAYER_02_ZERG, PointFromId(625));
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(2, "Zergling", 0, gv_pLAYER_02_ZERG, PointFromId(630));
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:5355
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(2, "Zergling", 0, gv_pLAYER_02_ZERG, PointFromId(630));
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(2, "Zergling", 0, gv_pLAYER_02_ZERG, PointFromId(86));
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:5357
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(2, "Zergling", 0, gv_pLAYER_02_ZERG, PointFromId(86));
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
libNtve_gf_SendActorMessageToUnit(gv_zagara, "Signal CollectStop");
libNtve_gf_KillModel(gv_introCorruptionEffect);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:453
// Implementation
libSwaC_gf_CreateDropPod(libSwaC_ge_DropPodRace_Terran, lp_lZ, lp_dROPGROUP, true, lp_pLAYER);
AISetGroupScriptControlled(lp_dROPGROUP, false);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map — MapScript.galaxy:625
}
UnitGroupIssueOrder(lv_aTTACK_GROUP, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupUnit(UnitGroup(null, gv_pLAYER_01_USER, lp_tRIGGERING_REGION, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), 1))), c_orderQueueReplace);
AISetGroupScriptControlled(lv_aTTACK_GROUP, false);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:542
// Implementation
lv_attackingUnitGroup = UnitGroupAlliance(gv_pLAYER_01_USER, c_unitAllianceEnemy, lp_fORCE_REGION, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
AISetGroupScriptControlled(lv_attackingUnitGroup, true);
while (!((gv_gameOver == false) && (gv_inCinematic == false) && (UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, lp_tRIGGERING_REGION, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) >= 1))) {
Wait(0.3, c_timeReal);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:4726
while ((UnitOrder(EventUnit(), 0) == OrderTargetingPoint(AbilityCommand("TacNukeStrike", 0), EventUnitTargetPoint()))) {
UnitGroupAddUnitGroup(lv_fleeingunits, UnitGroup(null, gv_pLAYER_02_DOMINION, RegionCircle(EventUnitTargetPoint(), 9.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AISetGroupScriptControlled(lv_fleeingunits, true);
auto8C575019_g = lv_fleeingunits;
auto8C575019_u = UnitGroupCount(auto8C575019_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:4738
Wait(2.0, c_timeGame);
UnitGroupIssueOrder(lv_fleeingunits, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
AISetGroupScriptControlled(lv_fleeingunits, false);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus02.sc2map — MapScript.galaxy:4265
}
libNtve_gf_ClearAnimationOnDoodadsInRegion(RegionFromId(18), null, c_animNameDefault);
AISetGroupScriptControlled(lv_rockAttackGroup, false);
AIAttackWaveSetTargetUnitPoint(gv_pLAYER_03_YAGDRA, gv_chrysalis);
AIAttackWaveUseGroup(gv_pLAYER_03_YAGDRA, lv_rockAttackGroup);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map — MapScript.galaxy:2102
if ((libNtve_gf_UnitInRegion(EventUnit(), RegionFromId(3)) == true)) {
gv_bonusObjectiveAIControlled[1] = true;
AISetGroupScriptControlled(UnitGroup("Sentry", gv_pLAYER_02_TALDARIM, RegionFromId(3), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), false);
}
else {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map — MapScript.galaxy:2107
if ((libNtve_gf_UnitInRegion(EventUnit(), RegionFromId(5)) == true)) {
gv_bonusObjectiveAIControlled[2] = true;
AISetGroupScriptControlled(UnitGroup("Sentry", gv_pLAYER_02_TALDARIM, RegionFromId(5), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), false);
}
else {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map — MapScript.galaxy:2112
if ((libNtve_gf_UnitInRegion(EventUnit(), RegionFromId(7)) == true)) {
gv_bonusObjectiveAIControlled[3] = true;
AISetGroupScriptControlled(UnitGroup("Sentry", gv_pLAYER_02_TALDARIM, RegionFromId(7), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), false);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur01.sc2map/MapScript.galaxy:1059
UnitGroupAdd(gv_smartZerglings, autoB39B461A_var);
}
AISetGroupScriptControlled(gv_smartZerglings, true);
autoF6ACF8E6_g = UnitGroup(null, gv_pLAYER_05_ZERG_TOP, RegionFromId(50), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoF6ACF8E6_u = UnitGroupCount(autoF6ACF8E6_g, c_unitCountAll);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur01.sc2map/MapScript.galaxy:1067
UnitGroupAdd(gv_smartHydras, autoF6ACF8E6_var);
}
AISetGroupScriptControlled(gv_smartHydras, true);
auto88AEDE90_g = UnitGroup(null, gv_pLAYER_05_ZERG_TOP, RegionFromId(48), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto88AEDE90_u = UnitGroupCount(auto88AEDE90_g, c_unitCountAll);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur01.sc2map/MapScript.galaxy:1075
UnitGroupAdd(gv_smartMutas, auto88AEDE90_var);
}
AISetGroupScriptControlled(gv_smartMutas, true);
auto4C5CF3B6_g = UnitGroup("AiurLightBridgeNE10Out", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
auto4C5CF3B6_u = UnitGroupCount(auto4C5CF3B6_g, c_unitCountAll);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:1225
libNtve_gf_CreateUnitsWithDefaultFacing(lp_count, lp_unitType, 0, gv_pLAYER_02_MOEBIUS, lp_location);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
UnitGroupAddUnitGroup(gv_nextAttackWave, UnitLastCreatedGroup());
libVCMI_gf_CreateDropPod(libVCMI_ge_DropPodRace_Terran, lp_location, UnitLastCreatedGroup(), false, gv_pLAYER_02_MOEBIUS);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:1319
libNtve_gf_UnitCreateFacingPoint(lp_count2, lp_unitType2, 0, gv_pLAYER_02_MOEBIUS, gv_reinforcements[lp_index].lv_spawn, gv_reinforcements[lp_index].lv_goto);
UnitGroupAddUnitGroup(lv_dropPodUnits, UnitLastCreatedGroup());
AISetGroupScriptControlled(lv_dropPodUnits, true);
libVCMI_gf_CreateDropPod(libVCMI_ge_DropPodRace_Terran, gv_reinforcements[lp_index].lv_spawn, lv_dropPodUnits, true, gv_pLAYER_02_MOEBIUS);
auto7B4F91D4_g = lv_dropPodUnits;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:3569
gf_SpawnUnitsforNextAttackWave("Marauder", libLotv_gf_DifficultyValueInt2(0, 0, 1, 2), PointFromId(29));
Wait(5.0, c_timeAI);
AISetGroupScriptControlled(gv_nextAttackWave, false);
AIAttackWaveSetTargetPlayer(gv_pLAYER_02_MOEBIUS, PlayerGroupSingle(gv_pLAYER_01_USER));
AIAttackWaveAddWaypoint(gv_pLAYER_02_MOEBIUS, PointFromId(2765), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:3582
gf_SpawnUnitsforNextAttackWave("Spectre", libLotv_gf_DifficultyValueInt2(1, 1, 2, 3), PointFromId(32));
Wait(5.0, c_timeAI);
AISetGroupScriptControlled(gv_nextAttackWave, false);
AIAttackWaveSetTargetPlayer(gv_pLAYER_02_MOEBIUS, PlayerGroupSingle(gv_pLAYER_01_USER));
AIAttackWaveAddWaypoint(gv_pLAYER_02_MOEBIUS, PointFromId(2767), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:3596
gf_SpawnUnitsforNextAttackWave("Raven", libLotv_gf_DifficultyValueInt2(0, 0, 1, 1), PointFromId(2791));
Wait(5.0, c_timeAI);
AISetGroupScriptControlled(gv_nextAttackWave, false);
AIAttackWaveSetTargetPlayer(gv_pLAYER_02_MOEBIUS, PlayerGroupSingle(gv_pLAYER_01_USER));
AIAttackWaveAddWaypoint(gv_pLAYER_02_MOEBIUS, PointFromId(2765), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:3609
gf_SpawnUnitsforNextAttackWave("Raven", libLotv_gf_DifficultyValueInt2(0, 0, 1, 1), PointFromId(2792));
Wait(5.0, c_timeAI);
AISetGroupScriptControlled(gv_nextAttackWave, false);
AIAttackWaveSetTargetPlayer(gv_pLAYER_02_MOEBIUS, PlayerGroupSingle(gv_pLAYER_01_USER));
AIAttackWaveAddWaypoint(gv_pLAYER_02_MOEBIUS, PointFromId(2767), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:3624
gf_SpawnUnitsforNextAttackWave("Battlecruiser", libLotv_gf_DifficultyValueInt2(0, 0, 1, 1), PointFromId(2791));
Wait(5.0, c_timeAI);
AISetGroupScriptControlled(gv_nextAttackWave, false);
AIAttackWaveSetTargetPlayer(gv_pLAYER_02_MOEBIUS, PlayerGroupSingle(gv_pLAYER_01_USER));
AIAttackWaveAddWaypoint(gv_pLAYER_02_MOEBIUS, PointFromId(2765), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:3637
gf_SpawnUnitsforNextAttackWave("Raven", libLotv_gf_DifficultyValueInt2(0, 0, 1, 1), PointFromId(2792));
Wait(5.0, c_timeAI);
AISetGroupScriptControlled(gv_nextAttackWave, false);
AIAttackWaveSetTargetPlayer(gv_pLAYER_02_MOEBIUS, PlayerGroupSingle(gv_pLAYER_01_USER));
AIAttackWaveAddWaypoint(gv_pLAYER_02_MOEBIUS, PointFromId(2767), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal02.sc2map/MapScript.galaxy:3503
Wait(1.0, c_timeAI);
}
AISetGroupScriptControlled(lv_battlecruisers, false);
AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION2, RegionFromId(24), true);
gv_valerianWaveBoost = true;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier01.sc2map/MapScript.galaxy:2223
VisRevealArea(gv_pLAYER_01_USER, RegionFromId(3), 10.0, false);
UnitRemove(lv_invisiblePylon);
AISetGroupScriptControlled(gv_sentryIntroAttackWaveGroup, false);
AISetGroupSuicide(gv_sentryIntroAttackWaveGroup, true);
if ((gv_sentryIntroWarpedIn == false)) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:727
libNtve_gf_MakeUnitInvulnerable(UnitLastCreated(), true);
lv_escortUnit = UnitLastCreated();
AISetGroupScriptControlled(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup, false);
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION7, UnitGetPosition(lv_escortUnit));
AIAttackWaveSetTargetEscort(gv_pLAYER_02_DOMINION7, libNtve_gf_ConvertUnitToUnitGroup(lv_escortUnit), 0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:2318
gv_mothershipEngaged[1] = true;
UnitGroupIssueOrder(gv_mothershipEscort[1], OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(auto5ECBF805_var)), c_orderQueueReplace);
AISetGroupScriptControlled(gv_mothershipEscort[1], false);
break;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:2334
gv_mothershipEngaged[2] = true;
UnitGroupIssueOrder(gv_mothershipEscort[2], OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(autoEF864942_var)), c_orderQueueReplace);
AISetGroupScriptControlled(gv_mothershipEscort[2], false);
break;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar03.sc2map/MapScript.galaxy:3055
}
Wait(2.0, c_timeAI);
AISetGroupScriptControlled(lv_waveGroup, false);
gf_ZergStreamWave(lv_waveGroup);
libNtve_gf_WaitForTimer(gv_zergStreamWaveTimer, 0.0, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:928
libNtve_gf_CreateUnitsWithDefaultFacing(3, "MutaliskBroodlord", 0, gv_pLAYER_09_KERRIGANEXPANSIONS, PointWithOffset(lp_point, -1.0, 1.0));
lv_mutaGroup1 = UnitLastCreatedGroup();
AISetGroupScriptControlled(lv_mutaGroup1, true);
autoF2BA45A4_g = lv_mutaGroup1;
autoF2BA45A4_u = UnitGroupCount(autoF2BA45A4_g, c_unitCountAll);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:939
libNtve_gf_CreateUnitsWithDefaultFacing(3, "MutaliskBroodlord", 0, gv_pLAYER_09_KERRIGANEXPANSIONS, PointWithOffset(lp_point, 1.0, -1.0));
lv_mutaGroup2 = UnitLastCreatedGroup();
AISetGroupScriptControlled(lv_mutaGroup2, true);
auto642B0A54_g = lv_mutaGroup2;
auto642B0A54_u = UnitGroupCount(auto642B0A54_g, c_unitCountAll);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:952
libVCMI_gf_CreateDropPod(libVCMI_ge_DropPodRace_Zerg, lp_point, lv_dropPodUnits01, false, gv_pLAYER_09_KERRIGANEXPANSIONS);
Wait(4.0, c_timeAI);
AISetGroupScriptControlled(lv_mutaGroup1, false);
AISetGroupScriptControlled(lv_mutaGroup2, false);
AIAttackWaveSetTargetPoint(gv_pLAYER_09_KERRIGANEXPANSIONS, PointFromId(678));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:953
Wait(4.0, c_timeAI);
AISetGroupScriptControlled(lv_mutaGroup1, false);
AISetGroupScriptControlled(lv_mutaGroup2, false);
AIAttackWaveSetTargetPoint(gv_pLAYER_09_KERRIGANEXPANSIONS, PointFromId(678));
AIAttackWaveSetGatherPoint(gv_pLAYER_09_KERRIGANEXPANSIONS, PointFromId(41));
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur01.sc2map — MapScript.galaxy:1059
UnitGroupAdd(gv_smartZerglings, autoB39B461A_var);
}
AISetGroupScriptControlled(gv_smartZerglings, true);
autoF6ACF8E6_g = UnitGroup(null, gv_pLAYER_05_ZERG_TOP, RegionFromId(50), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoF6ACF8E6_u = UnitGroupCount(autoF6ACF8E6_g, c_unitCountAll);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur01.sc2map — MapScript.galaxy:1067
UnitGroupAdd(gv_smartHydras, autoF6ACF8E6_var);
}
AISetGroupScriptControlled(gv_smartHydras, true);
auto88AEDE90_g = UnitGroup(null, gv_pLAYER_05_ZERG_TOP, RegionFromId(48), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto88AEDE90_u = UnitGroupCount(auto88AEDE90_g, c_unitCountAll);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur01.sc2map — MapScript.galaxy:1075
UnitGroupAdd(gv_smartMutas, auto88AEDE90_var);
}
AISetGroupScriptControlled(gv_smartMutas, true);
auto4C5CF3B6_g = UnitGroup("AiurLightBridgeNE10Out", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
auto4C5CF3B6_u = UnitGroupCount(auto4C5CF3B6_g, c_unitCountAll);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:1225
libNtve_gf_CreateUnitsWithDefaultFacing(lp_count, lp_unitType, 0, gv_pLAYER_02_MOEBIUS, lp_location);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
AISetGroupScriptControlled(UnitLastCreatedGroup(), true);
UnitGroupAddUnitGroup(gv_nextAttackWave, UnitLastCreatedGroup());
libVCMI_gf_CreateDropPod(libVCMI_ge_DropPodRace_Terran, lp_location, UnitLastCreatedGroup(), false, gv_pLAYER_02_MOEBIUS);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:1319
libNtve_gf_UnitCreateFacingPoint(lp_count2, lp_unitType2, 0, gv_pLAYER_02_MOEBIUS, gv_reinforcements[lp_index].lv_spawn, gv_reinforcements[lp_index].lv_goto);
UnitGroupAddUnitGroup(lv_dropPodUnits, UnitLastCreatedGroup());
AISetGroupScriptControlled(lv_dropPodUnits, true);
libVCMI_gf_CreateDropPod(libVCMI_ge_DropPodRace_Terran, gv_reinforcements[lp_index].lv_spawn, lv_dropPodUnits, true, gv_pLAYER_02_MOEBIUS);
auto7B4F91D4_g = lv_dropPodUnits;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:3569
gf_SpawnUnitsforNextAttackWave("Marauder", libLotv_gf_DifficultyValueInt2(0, 0, 1, 2), PointFromId(29));
Wait(5.0, c_timeAI);
AISetGroupScriptControlled(gv_nextAttackWave, false);
AIAttackWaveSetTargetPlayer(gv_pLAYER_02_MOEBIUS, PlayerGroupSingle(gv_pLAYER_01_USER));
AIAttackWaveAddWaypoint(gv_pLAYER_02_MOEBIUS, PointFromId(2765), false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:3582
gf_SpawnUnitsforNextAttackWave("Spectre", libLotv_gf_DifficultyValueInt2(1, 1, 2, 3), PointFromId(32));
Wait(5.0, c_timeAI);
AISetGroupScriptControlled(gv_nextAttackWave, false);
AIAttackWaveSetTargetPlayer(gv_pLAYER_02_MOEBIUS, PlayerGroupSingle(gv_pLAYER_01_USER));
AIAttackWaveAddWaypoint(gv_pLAYER_02_MOEBIUS, PointFromId(2767), false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:3596
gf_SpawnUnitsforNextAttackWave("Raven", libLotv_gf_DifficultyValueInt2(0, 0, 1, 1), PointFromId(2791));
Wait(5.0, c_timeAI);
AISetGroupScriptControlled(gv_nextAttackWave, false);
AIAttackWaveSetTargetPlayer(gv_pLAYER_02_MOEBIUS, PlayerGroupSingle(gv_pLAYER_01_USER));
AIAttackWaveAddWaypoint(gv_pLAYER_02_MOEBIUS, PointFromId(2765), false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:3609
gf_SpawnUnitsforNextAttackWave("Raven", libLotv_gf_DifficultyValueInt2(0, 0, 1, 1), PointFromId(2792));
Wait(5.0, c_timeAI);
AISetGroupScriptControlled(gv_nextAttackWave, false);
AIAttackWaveSetTargetPlayer(gv_pLAYER_02_MOEBIUS, PlayerGroupSingle(gv_pLAYER_01_USER));
AIAttackWaveAddWaypoint(gv_pLAYER_02_MOEBIUS, PointFromId(2767), false);