# Enable/Disable Suicide For Unit Group
Grammar — controlled suicide for group|Unit Group
Flags —Native
|Action
If suicide is enabled for a unit group, the AI will immediately seek out and repeatedly attack the nearest enemy until the suiciding unit group is destroyed. Setting a bully to suicide it will tag it as missing and cause the AI to rebuilt it, since it should not be returning alive.
# Arguments
unitgroup
— Groupbool
<preset::Enable_Disable_Option> — Enable/Disable
Returns — void
native void AISetGroupSuicide(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/traynor03.sc2map/MapScript.galaxy:332
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumor", c_unitCreateConstruct, gv_pLAYER04_ZERG, lp_dropPodLandingPoint);
Wait(1.0, c_timeGame);
AISetGroupSuicide(lv_lastGroup, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:359
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumor", c_unitCreateConstruct, gv_pLAYER04_ZERG, lp_dropPodLandingPoint);
Wait(1.0, c_timeGame);
AISetGroupSuicide(lv_lastGroup, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:374
SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), gv_nydusWormP03, 0.0, 100.0, 0.0);
libNtve_gf_CreateUnitsAtPoint2(lp_quantity, lp_unitType, 0, gv_pLAYER03_ZERG, UnitGetPosition(gv_nydusWormP03));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
Wait(lp_waitTime, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:385
SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
UnitCreate(lp_qty, lp_unitType, 0, lp_player, UnitGetPosition(lp_nydus), libNtve_gf_RandomAngle());
AISetGroupSuicide(UnitLastCreatedGroup(), true);
Wait(lp_delay, c_timeAI);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:398
SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
UnitCreate(lp_qty, lp_unitType, 0, lp_player, UnitGetPosition(lp_nydus), libNtve_gf_RandomAngle());
AISetGroupSuicide(UnitLastCreatedGroup(), true);
Wait(lp_delay, c_timeAI);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2679
Wait(libNtve_gf_DifficultyValueFixed(50.0, 50.0, 30.0, 30.0), c_timeAI);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 5, 0, 0), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(4)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 4, 2), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(62)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2681
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 4, 2), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(62)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 0, 4), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(63)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2683
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 0, 4), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(63)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
Wait(libNtve_gf_DifficultyValueFixed(15.0, 15.0, 25.0, 25.0), c_timeAI);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 5, 4, 7), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(4)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2686
Wait(libNtve_gf_DifficultyValueFixed(15.0, 15.0, 25.0, 25.0), c_timeAI);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 5, 4, 7), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(4)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(62)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2688
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(62)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 3, 2), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(63)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:911
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_dropUnits);
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, lv_location, lv_dropUnits, true);
AISetGroupSuicide(lv_dropUnits, true);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:4721
}
AISetGroupScriptControlled(gv_zergRushGroup03, false);
AISetGroupSuicide(gv_zergRushGroup03, true);
Wait(12.0, c_timeGame);
auto0B0EBEB3_g = gv_zergRushGroup01;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:4733
}
AISetGroupScriptControlled(gv_zergRushGroup01, false);
AISetGroupSuicide(gv_zergRushGroup01, true);
Wait(5.0, c_timeGame);
autoBF8B0FFA_g = gv_zergRushGroup02;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:4745
}
AISetGroupScriptControlled(gv_zergRushGroup02, false);
AISetGroupSuicide(gv_zergRushGroup02, true);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:541
UnitSetTeamColorIndex(auto56D3AD49_var, gv_specialUnitColor);
}
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lp_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:2542
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/traynor03.sc2map — MapScript.galaxy:332
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumor", c_unitCreateConstruct, gv_pLAYER04_ZERG, lp_dropPodLandingPoint);
Wait(1.0, c_timeGame);
AISetGroupSuicide(lv_lastGroup, true);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:359
libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumor", c_unitCreateConstruct, gv_pLAYER04_ZERG, lp_dropPodLandingPoint);
Wait(1.0, c_timeGame);
AISetGroupSuicide(lv_lastGroup, true);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:374
SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), gv_nydusWormP03, 0.0, 100.0, 0.0);
libNtve_gf_CreateUnitsAtPoint2(lp_quantity, lp_unitType, 0, gv_pLAYER03_ZERG, UnitGetPosition(gv_nydusWormP03));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
Wait(lp_waitTime, c_timeGame);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:385
SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
UnitCreate(lp_qty, lp_unitType, 0, lp_player, UnitGetPosition(lp_nydus), libNtve_gf_RandomAngle());
AISetGroupSuicide(UnitLastCreatedGroup(), true);
Wait(lp_delay, c_timeAI);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:398
SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
UnitCreate(lp_qty, lp_unitType, 0, lp_player, UnitGetPosition(lp_nydus), libNtve_gf_RandomAngle());
AISetGroupSuicide(UnitLastCreatedGroup(), true);
Wait(lp_delay, c_timeAI);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:2679
Wait(libNtve_gf_DifficultyValueFixed(50.0, 50.0, 30.0, 30.0), c_timeAI);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 5, 0, 0), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(4)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 4, 2), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(62)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:2681
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 4, 2), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(62)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 0, 4), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(63)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:2683
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 0, 4), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(63)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
Wait(libNtve_gf_DifficultyValueFixed(15.0, 15.0, 25.0, 25.0), c_timeAI);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 5, 4, 7), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(4)));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:2686
Wait(libNtve_gf_DifficultyValueFixed(15.0, 15.0, 25.0, 25.0), c_timeAI);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 5, 4, 7), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(4)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(62)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:2688
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(62)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 3, 2), "Mutalisk", 0, gv_pLAYER03_ZERG, RegionGetCenter(RegionFromId(63)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2map — MapScript.galaxy:911
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_dropUnits);
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, lv_location, lv_dropUnits, true);
AISetGroupSuicide(lv_dropUnits, true);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:4721
}
AISetGroupScriptControlled(gv_zergRushGroup03, false);
AISetGroupSuicide(gv_zergRushGroup03, true);
Wait(12.0, c_timeGame);
auto0B0EBEB3_g = gv_zergRushGroup01;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:4733
}
AISetGroupScriptControlled(gv_zergRushGroup01, false);
AISetGroupSuicide(gv_zergRushGroup01, true);
Wait(5.0, c_timeGame);
autoBF8B0FFA_g = gv_zergRushGroup02;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:4745
}
AISetGroupScriptControlled(gv_zergRushGroup02, false);
AISetGroupSuicide(gv_zergRushGroup02, true);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:541
UnitSetTeamColorIndex(auto56D3AD49_var, gv_specialUnitColor);
}
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lp_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:2542
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/zhybrid01.sc2map/MapScript.galaxy:2995
if ((UnitGroupCount(UnitGroup(null, gv_pLAYER_06_INFESTED, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < libHots_gf_DifficultyValueInt2(200, 200, 150))) {
libNtve_gf_CreateUnitsWithDefaultFacing(libHots_gf_DifficultyValueInt2(1, 1, 0), "InfestedTerranCampaign", 0, gv_pLAYER_06_INFESTED, libNtve_gf_PointOffsetTowardsPoint(UnitGetPosition(auto6CB67634_var), 0.5, PointFromId(4)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsWithDefaultFacing(libHots_gf_DifficultyValueInt2(3, 3, 3), "InfestedCivilian", 0, gv_pLAYER_06_INFESTED, libNtve_gf_PointOffsetTowardsPoint(UnitGetPosition(auto6CB67634_var), 0.5, PointFromId(4)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:2997
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsWithDefaultFacing(libHots_gf_DifficultyValueInt2(3, 3, 3), "InfestedCivilian", 0, gv_pLAYER_06_INFESTED, libNtve_gf_PointOffsetTowardsPoint(UnitGetPosition(auto6CB67634_var), 0.5, PointFromId(4)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:547
}
UnitGroupIssueOrder(lv_attackingUnitGroup, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(lp_tRIGGERING_REGION)), c_orderQueueReplace);
AISetGroupSuicide(lv_attackingUnitGroup, true);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:5922
}
TriggerExecute(gt_TransmissionNaktulArrivesQ, true, false);
AISetGroupSuicide(lv_spawnedUnits, true);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map — MapScript.galaxy:2995
if ((UnitGroupCount(UnitGroup(null, gv_pLAYER_06_INFESTED, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < libHots_gf_DifficultyValueInt2(200, 200, 150))) {
libNtve_gf_CreateUnitsWithDefaultFacing(libHots_gf_DifficultyValueInt2(1, 1, 0), "InfestedTerranCampaign", 0, gv_pLAYER_06_INFESTED, libNtve_gf_PointOffsetTowardsPoint(UnitGetPosition(auto6CB67634_var), 0.5, PointFromId(4)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsWithDefaultFacing(libHots_gf_DifficultyValueInt2(3, 3, 3), "InfestedCivilian", 0, gv_pLAYER_06_INFESTED, libNtve_gf_PointOffsetTowardsPoint(UnitGetPosition(auto6CB67634_var), 0.5, PointFromId(4)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map — MapScript.galaxy:2997
AISetGroupSuicide(UnitLastCreatedGroup(), true);
libNtve_gf_CreateUnitsWithDefaultFacing(libHots_gf_DifficultyValueInt2(3, 3, 3), "InfestedCivilian", 0, gv_pLAYER_06_INFESTED, libNtve_gf_PointOffsetTowardsPoint(UnitGetPosition(auto6CB67634_var), 0.5, PointFromId(4)));
AISetGroupSuicide(UnitLastCreatedGroup(), true);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:547
}
UnitGroupIssueOrder(lv_attackingUnitGroup, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(lp_tRIGGERING_REGION)), c_orderQueueReplace);
AISetGroupSuicide(lv_attackingUnitGroup, true);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:5922
}
TriggerExecute(gt_TransmissionNaktulArrivesQ, true, false);
AISetGroupSuicide(lv_spawnedUnits, true);
return true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:942
libNtve_gf_AICast(auto0FB03E72_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(gv_keystone)));
}
AISetGroupSuicide(UnitLastCreatedGroup(), true);
Wait(lp_delay, c_timeAI);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier01.sc2map/MapScript.galaxy:2224
UnitRemove(lv_invisiblePylon);
AISetGroupScriptControlled(gv_sentryIntroAttackWaveGroup, false);
AISetGroupSuicide(gv_sentryIntroAttackWaveGroup, true);
if ((gv_sentryIntroWarpedIn == false)) {
TriggerEnable(gt_SentryUnlockedQ, true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier02.sc2map/MapScript.galaxy:587
SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
UnitCreate(lp_qty, lp_unitType, 0, lp_player, UnitGetPosition(lp_nydus), libNtve_gf_RandomAngle());
AISetGroupSuicide(UnitLastCreatedGroup(), true);
Wait(lp_delay, c_timeAI);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar03.sc2map/MapScript.galaxy:617
if ((libNtve_gf_UnitGroupIsDead(lv_localGroup) == false)) {
AIAttackWaveCancel(lv_localWave);
AISetGroupSuicide(lv_localGroup, true);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:7185
Wait(1.0, c_timeAI);
}
AISetGroupSuicide(lv_dropPodUnits01, true);
AISetGroupSuicide(lv_dropPodUnits02, true);
return true;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:7186
}
AISetGroupSuicide(lv_dropPodUnits01, true);
AISetGroupSuicide(lv_dropPodUnits02, true);
return true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:7739
Wait(1.0, c_timeAI);
}
AISetGroupSuicide(lv_dropPodUnits01, true);
autoE0AAFFA5_g = lv_dropPodUnits02;
autoE0AAFFA5_u = UnitGroupCount(autoE0AAFFA5_g, c_unitCountAll);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:7834
Wait(1.0, c_timeAI);
}
AISetGroupSuicide(lv_dropPodUnits01, true);
AISetGroupSuicide(lv_dropPodUnits02, true);
return true;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:7835
}
AISetGroupSuicide(lv_dropPodUnits01, true);
AISetGroupSuicide(lv_dropPodUnits02, true);
return true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2map — MapScript.galaxy:942
libNtve_gf_AICast(auto0FB03E72_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(gv_keystone)));
}
AISetGroupSuicide(UnitLastCreatedGroup(), true);
Wait(lp_delay, c_timeAI);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier01.sc2map — MapScript.galaxy:2224
UnitRemove(lv_invisiblePylon);
AISetGroupScriptControlled(gv_sentryIntroAttackWaveGroup, false);
AISetGroupSuicide(gv_sentryIntroAttackWaveGroup, true);
if ((gv_sentryIntroWarpedIn == false)) {
TriggerEnable(gt_SentryUnlockedQ, true);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier02.sc2map — MapScript.galaxy:587
SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
UnitCreate(lp_qty, lp_unitType, 0, lp_player, UnitGetPosition(lp_nydus), libNtve_gf_RandomAngle());
AISetGroupSuicide(UnitLastCreatedGroup(), true);
Wait(lp_delay, c_timeAI);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar03.sc2map — MapScript.galaxy:617
if ((libNtve_gf_UnitGroupIsDead(lv_localGroup) == false)) {
AIAttackWaveCancel(lv_localWave);
AISetGroupSuicide(lv_localGroup, true);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:7185
Wait(1.0, c_timeAI);
}
AISetGroupSuicide(lv_dropPodUnits01, true);
AISetGroupSuicide(lv_dropPodUnits02, true);
return true;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:7186
}
AISetGroupSuicide(lv_dropPodUnits01, true);
AISetGroupSuicide(lv_dropPodUnits02, true);
return true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:7739
Wait(1.0, c_timeAI);
}
AISetGroupSuicide(lv_dropPodUnits01, true);
autoE0AAFFA5_g = lv_dropPodUnits02;
autoE0AAFFA5_u = UnitGroupCount(autoE0AAFFA5_g, c_unitCountAll);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:7834
Wait(1.0, c_timeAI);
}
AISetGroupSuicide(lv_dropPodUnits01, true);
AISetGroupSuicide(lv_dropPodUnits02, true);
return true;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:7835
}
AISetGroupSuicide(lv_dropPodUnits01, true);
AISetGroupSuicide(lv_dropPodUnits02, true);
return true;
}
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:1301
libNtve_gf_AICast(auto29232900_var, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1750)));
}
AISetGroupSuicide(UnitLastCreatedGroup(), true);
Wait(lp_delay, c_timeAI);
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:2675
libNCMI_gf_CreateDropPod(libNCMI_ge_DropPodRace_Terran, lv_dropPoint, lv_podGroup, true, gv_pLAYER_06_DEFENDERSNORTH);
AISetGroupScriptControlled(lv_allReinforcements, false);
AISetGroupSuicide(lv_allReinforcements, true);
}
else {
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:2833
libNCMI_gf_CreateDropPod(libNCMI_ge_DropPodRace_Terran, lv_dropPoint, lv_podGroup, true, gv_pLAYER_06_DEFENDERSNORTH);
AISetGroupScriptControlled(lv_allReinforcements, false);
AISetGroupSuicide(lv_allReinforcements, true);
}
else {
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2map — MapScript.galaxy:1301
libNtve_gf_AICast(auto29232900_var, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1750)));
}
AISetGroupSuicide(UnitLastCreatedGroup(), true);
Wait(lp_delay, c_timeAI);
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:2675
libNCMI_gf_CreateDropPod(libNCMI_ge_DropPodRace_Terran, lv_dropPoint, lv_podGroup, true, gv_pLAYER_06_DEFENDERSNORTH);
AISetGroupScriptControlled(lv_allReinforcements, false);
AISetGroupSuicide(lv_allReinforcements, true);
}
else {
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:2833
libNCMI_gf_CreateDropPod(libNCMI_ge_DropPodRace_Terran, lv_dropPoint, lv_podGroup, true, gv_pLAYER_06_DEFENDERSNORTH);
AISetGroupScriptControlled(lv_allReinforcements, false);
AISetGroupSuicide(lv_allReinforcements, true);
}
else {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:511
libCOMU_gf_CT_RegisterSpawnedUnitGroup(UnitLastCreatedGroup());
AISetGroupScriptControlled(lv_broodlingGroup, false);
AISetGroupSuicide(lv_broodlingGroup, true);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:531
UnitGroupAddUnitGroup(libCOMU_gv_cT_OnDeathSpawns, UnitLastCreatedGroup());
libCOMU_gf_CT_RegisterSpawnedUnitGroup(UnitLastCreatedGroup());
AISetGroupSuicide(UnitLastCreatedGroup(), true);
}
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:1362
}
libCOMU_gf_CT_RegisterSpawnedUnitGroup(UnitLastCreatedGroup());
AISetGroupSuicide(UnitLastCreatedGroup(), true);
DialogControlSetVisible(libCOMU_gv_cT_FoodHuntAttackLabel, PlayerGroupAll(), true);
SoundPlayForPlayer(SoundLink("MutatorInfestedTurkeysSpawnWarning", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:1386
lv_theTurking = UnitLastCreated();
libCOMU_gf_CT_RegisterSpawnedUnitGroup(UnitLastCreatedGroup());
AISetGroupSuicide(UnitLastCreatedGroup(), true);
SoundPlayForPlayer(SoundLink("MutatorTurkeyKingSpawned", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
SoundPlayForPlayer(SoundLink("UI_PingAdvanced_Danger", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:2858
UnitKill(lp_gift);
if ((lv_attackingForce != null)) {
AISetGroupSuicide(lv_attackingForce, true);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:3177
Wait(3.0, c_timeGame);
AISetGroupScriptControlled(lv_bonusUnits, false);
AISetGroupSuicide(lv_bonusUnits, true);
}
else {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:3186
Wait(1.0, c_timeGame);
AISetGroupScriptControlled(lv_bonusUnits, false);
AISetGroupSuicide(lv_bonusUnits, true);
}
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:3218
}
AISetGroupScriptControlled(lv_bonusUnits, false);
AISetGroupSuicide(lv_bonusUnits, true);
}
else if (autoC35EF233_val == 5) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:11091
libCOMI_gf_PingMinimapCampaign(PlayerGroupAll(), lv_dropLocation, 2.0, Color(100.00, 0.00, 0.00));
AISetGroupScriptControlled(lv_attackGroup, false);
AISetGroupSuicide(lv_attackGroup, true);
TimerStart(lv_dropPodTimers[lv_indexPlayer], libCOMI_gf_DifficultyValueFixed2(libCOMI_gf_DifficultyLevelForPlayerCoop(lv_indexPlayer), 240.0, 220.0, 160.0, 120.0, 0.0, 0.0), false, c_timeAI);
}