# Unit Has Behavior
Grammar — unit has behavior
Flags —Native
|Function
Returns true if the specified unit has the specified behavior.
# Arguments
unit
— Unitstring
<gamelink::Behavior> — Behavior
Returns — bool
native bool UnitHasBehavior2(
unit inUnit,
string inBehavior,
);
# Related
Category: Behavior / Basic
- Remove Behaviors By Category —
void
— UnitBehaviorRemoveCategory - Remove Behavior (Player) —
void
— UnitBehaviorRemovePlayer - Remove Behavior —
void
— UnitBehaviorRemove - Add Behavior (Player) —
void
— UnitBehaviorAddPlayer - Add Behavior —
void
— UnitBehaviorAdd - Set Behavior Count —
void
— libNtve_gf_SetBehaviorCount - Number Of Behaviors On Unit —
int
— UnitBehaviorCountAll - Unit Behavior —
string
<gamelink::Behavior> — UnitBehaviorGet - Unit Has Behavior —
bool
— UnitHasBehavior2 - Unit Has Behavior (Enabled) —
bool
— UnitHasBehavior - Unit Behavior Enabled —
bool
— UnitBehaviorEnabled - Stack Count Of Behavior On Unit —
int
— UnitBehaviorCount - Behavior Has Flag —
bool
— UnitBehaviorHasFlag - Transfer Behavior —
void
— UnitBehaviorTransfer - Set Unit Behavior Duration —
void
— UnitBehaviorSetDuration - Set Unit Behavior Duration Remaining —
void
— UnitBehaviorSetDurationRemaining - Duration Remaining Of Behavior On Unit —
fixed
— UnitBehaviorDuration - Duration Of Behavior On Unit —
fixed
— UnitBehaviorDurationTotal - Set Unit Behavior Spawn Count —
void
— UnitBehaviorSpawn - Unit Behavior Effect Player —
int
— UnitBehaviorEffectPlayer - Unit Behavior Effect Unit —
unit
— UnitBehaviorEffectUnit - Set Unit Behavior User Data —
void
— UnitBehaviorEffectTreeSetUserData - User Data Of Behavior On Unit —
fixed
— UnitBehaviorEffectTreeUserData - User Data Of Behavior On Unit Exists —
bool
— UnitBehaviorEffectTreeUserDataExists - Unit Behavior Changes —
void
— TriggerAddEventUnitBehaviorChange - Unit Behavior Changes From Category —
void
— TriggerAddEventUnitBehaviorChangeFromCategory - Triggering Behavior —
string
<gamelink::Behavior> — EventUnitBehavior - Triggering Behavior Change —
int
<preset::BehaviorChange> — EventUnitBehaviorChange - Unit Behavior Damage Modify Remaining —
fixed
— UnitBehaviorDamageModifyRemaining - Unit Behavior Damage Modify Limit —
fixed
— UnitBehaviorDamageModifyLimit - For Each Behavior On Unit — macro
# Examples
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:7006
}
if (!((UnitHasBehavior2(libNtve_gf_KillingUnit(), "NPSwarm") == true))) {
return false;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:7006
}
if (!((UnitHasBehavior2(libNtve_gf_KillingUnit(), "NPSwarm") == true))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:3547
UnitGroupLoopBegin(UnitGroup(lv_workerType, gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == lv_gatherAbil) && (UnitGetType(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) == lv_geyserType)) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == lv_gatherReturnAbil) && (UnitHasBehavior2(UnitGroupLoopCurrent(), lv_carryBehavior) == true)))) {
}
else {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:3689
}
if (((UnitGetType(OrderGetTargetUnit(UnitOrder(OrderGetTargetUnit(EventUnitOrder()), 0))) == "MineralField") || (UnitHasBehavior2(OrderGetTargetUnit(EventUnitOrder()), "CarryMineralFieldMinerals") == true))) {
auto0B001210_val = PlayerRace(EventPlayer());
if (auto0B001210_val == "Terr") {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:9728
UnitGroupLoopBegin(UnitGroup(null, gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, 0, 0), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitHasBehavior2(UnitGroupLoopCurrent(), "ZergBuildingDies6") == true)) {
UnitBehaviorRemove(UnitGroupLoopCurrent(), "ZergBuildingDies6", 1);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:9733
else {
}
if ((UnitHasBehavior2(UnitGroupLoopCurrent(), "ZergBuildingDies9") == true)) {
UnitBehaviorRemove(UnitGroupLoopCurrent(), "ZergBuildingDies9", 1);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:12831
UnitGroupLoopBegin(UnitGroup("Drone", gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 0)) && (UnitGetType(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) == "Extractor")) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 1)) && (UnitHasBehavior2(UnitGroupLoopCurrent(), "CarryHarvestableVespeneGeyserGasZerg") == true)))) {
lv_dronesOnGas += 1;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:12877
UnitGroupLoopBegin(UnitGroup("Drone", gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((!((((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 0)) && (UnitGetType(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) == "Extractor")) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 1)) && (UnitHasBehavior2(UnitGroupLoopCurrent(), "CarryHarvestableVespeneGeyserGasZerg") == true)))))) {
UnitGroupAdd(lv_validDrones, UnitGroupLoopCurrent());
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:12955
UnitGroupLoopBegin(UnitGroup("Drone", gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 0)) && (UnitGetType(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) == "Extractor")) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 1)) && (UnitHasBehavior2(UnitGroupLoopCurrent(), "CarryHarvestableVespeneGeyserGasZerg") == true)))) {
lv_dronesOnGas += 1;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:13344
UnitGroupLoopBegin(UnitGroup("Drone", gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((!((((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 0)) && (UnitGetType(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) == "Extractor")) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 1)) && (UnitHasBehavior2(UnitGroupLoopCurrent(), "CarryHarvestableVespeneGeyserGasZerg") == true)))))) {
UnitGroupAdd(lv_validDrones, UnitGroupLoopCurrent());
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:15557
UnitGroupLoopBegin(UnitGroup(null, gv_p02_ENEMY, RegionEntireMap(), UnitFilter(0, 0, 0, 0), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitHasBehavior2(UnitGroupLoopCurrent(), "ZergBuildingDies6") == true)) {
UnitBehaviorRemove(UnitGroupLoopCurrent(), "ZergBuildingDies6", 1);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:15562
else {
}
if ((UnitHasBehavior2(UnitGroupLoopCurrent(), "ZergBuildingDies9") == true)) {
UnitBehaviorRemove(UnitGroupLoopCurrent(), "ZergBuildingDies9", 1);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:3332
auto220BF287_var = UnitGroupUnitFromEnd(auto220BF287_g, auto220BF287_u);
if (auto220BF287_var == null) { break; }
if ((!((((OrderGetAbilityCommand(UnitOrder(auto220BF287_var, 0)) == AbilityCommand("ProbeHarvest", 0)) && (UnitGetType(OrderGetTargetUnit(UnitOrder(auto220BF287_var, 0))) == "Assimilator")) || ((OrderGetAbilityCommand(UnitOrder(auto220BF287_var, 0)) == AbilityCommand("ProbeHarvest", 1)) && (UnitHasBehavior2(auto220BF287_var, "CarryHarvestableVespeneGeyserGasProtoss") == true)))))) {
UnitGroupAdd(lv_validProbes, auto220BF287_var);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:3453
auto70400E0A_var = UnitGroupUnitFromEnd(auto70400E0A_g, auto70400E0A_u);
if (auto70400E0A_var == null) { break; }
if ((((OrderGetAbilityCommand(UnitOrder(auto70400E0A_var, 0)) == AbilityCommand("ProbeHarvest", 0)) && (UnitGetType(OrderGetTargetUnit(UnitOrder(auto70400E0A_var, 0))) == "Assimilator")) || ((OrderGetAbilityCommand(UnitOrder(auto70400E0A_var, 0)) == AbilityCommand("ProbeHarvest", 1)) && (UnitHasBehavior2(auto70400E0A_var, "CarryHarvestableVespeneGeyserGasProtoss") == true)))) {
lv_probesOnGas += 1;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:3811
auto4D4BD4E5_var = UnitGroupUnitFromEnd(auto4D4BD4E5_g, auto4D4BD4E5_u);
if (auto4D4BD4E5_var == null) { break; }
if ((((OrderGetAbilityCommand(UnitOrder(auto4D4BD4E5_var, 0)) == AbilityCommand("ProbeHarvest", 0)) && (UnitGetType(OrderGetTargetUnit(UnitOrder(auto4D4BD4E5_var, 0))) == "Assimilator")) || ((OrderGetAbilityCommand(UnitOrder(auto4D4BD4E5_var, 0)) == AbilityCommand("ProbeHarvest", 1)) && (UnitHasBehavior2(auto4D4BD4E5_var, "CarryHarvestableVespeneGeyserGasProtoss") == true)))) {
lv_probesOnGas += 1;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:7231
if (auto19E3EDD0_var == null) { break; }
if ((UnitGetCustomValue(auto19E3EDD0_var, 0) < 1)) {
if ((UnitHasBehavior2(auto19E3EDD0_var, "UnstableEnergyDamage") == true)) {
UnitSetCustomValue(auto19E3EDD0_var, 0, (UnitGetCustomValue(auto19E3EDD0_var, 0) + 2.0));
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:7237
}
else {
if ((UnitHasBehavior2(auto19E3EDD0_var, "UnstableEnergyDamage") == true)) {
if ((UnitGetCustomValue(auto19E3EDD0_var, 0) < 10.0)) {
UnitSetCustomValue(auto19E3EDD0_var, 0, (UnitGetCustomValue(auto19E3EDD0_var, 0) + 1.0));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:575
autoC20E9EDC_var = UnitGroupUnitFromEnd(autoC20E9EDC_g, autoC20E9EDC_u);
if (autoC20E9EDC_var == null) { break; }
if (((UnitGetType(autoC20E9EDC_var) == "Interceptor") || (UnitGetType(autoC20E9EDC_var) == "InterceptorAiur") || (UnitGetType(autoC20E9EDC_var) == "CarrierRepairDrone") || (UnitGetType(autoC20E9EDC_var) == "FenixSOA") || (UnitGetType(autoC20E9EDC_var) == "Flagship") || (UnitHasBehavior2(autoC20E9EDC_var, "VoidTendrilDeathGripStun") == true) || (UnitHasBehavior2(autoC20E9EDC_var, "VoidTendrilDeathGripWarningDebuff") == true))) {
UnitGroupRemove(lv_enemyGroup, autoC20E9EDC_var);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:575
autoC20E9EDC_var = UnitGroupUnitFromEnd(autoC20E9EDC_g, autoC20E9EDC_u);
if (autoC20E9EDC_var == null) { break; }
if (((UnitGetType(autoC20E9EDC_var) == "Interceptor") || (UnitGetType(autoC20E9EDC_var) == "InterceptorAiur") || (UnitGetType(autoC20E9EDC_var) == "CarrierRepairDrone") || (UnitGetType(autoC20E9EDC_var) == "FenixSOA") || (UnitGetType(autoC20E9EDC_var) == "Flagship") || (UnitHasBehavior2(autoC20E9EDC_var, "VoidTendrilDeathGripStun") == true) || (UnitHasBehavior2(autoC20E9EDC_var, "VoidTendrilDeathGripWarningDebuff") == true))) {
UnitGroupRemove(lv_enemyGroup, autoC20E9EDC_var);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:1015
UnitCreateEffectUnit(UnitFromId(1267), "VoidRiftTrainLM", UnitLastCreated());
autoDE86D87B_at = 0;
while (!((UnitHasBehavior2(UnitLastCreated(), "VoidRiftTrainPrecursor") == false)) && autoDE86D87B_at <= 4.0) {
Wait(0.0625, c_timeGame);
autoDE86D87B_at = autoDE86D87B_at + 0.0625;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:885
}
if ((UnitGroupCount(lv_enemyGroup8, c_unitCountAlive) > 0)) {
if ((UnitHasBehavior2(lp_alarak, "AlarakDeadlyCharging") == false) && (UnitCheckAbilCmdState(lp_alarak, AbilityCommand("AlarakKnockback", 0), c_cmdStateCooldown) == false)) {
if ((DistanceBetweenPoints(UnitGetPosition(lp_alarak), UnitGetPosition(UnitGroupClosestToPoint(lv_enemyGroup8, UnitGetPosition(lp_alarak)))) <= 4.0)) {
lv_targetPoint = UnitGetPosition(UnitGroupClosestToPoint(lv_enemyGroup8, UnitGetPosition(lp_alarak)));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier02.sc2map/MapScript.galaxy:512
gv_trackPaused = true;
gv_megalithUnlocking = true;
while ((UnitHasBehavior2(gv_megalithUnit, "MegalithCutterDockHide") == false)) {
UnitIssueOrder(gv_megalithUnit, OrderTargetingUnit(AbilityCommand("MegalithCutterDock", 0), gv_stasisLocks[gv_objectiveStasisLocksCurrent]), c_orderQueueReplace);
Wait(0.0625, c_timeGame);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier02.sc2map/MapScript.galaxy:6312
auto00DB70CB_var = UnitGroupUnitFromEnd(auto00DB70CB_g, auto00DB70CB_u);
if (auto00DB70CB_var == null) { break; }
if ((UnitHasBehavior2(auto00DB70CB_var, "QueenMPEnsnare") == true)) {
UnitBehaviorRemove(auto00DB70CB_var, "QueenMPEnsnare", 1);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:1045
auto641DF5B9_var = UnitGroupUnitFromEnd(auto641DF5B9_g, auto641DF5B9_u);
if (auto641DF5B9_var == null) { break; }
if (((UnitHasBehavior2(auto641DF5B9_var, "HybridGeneralPhaseShift") == true) || (UnitHasBehavior2(auto641DF5B9_var, "HybridNemesisStasisPrevention") == true))) {
UnitGroupRemove(lv_enemyGroup9, auto641DF5B9_var);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:1045
auto641DF5B9_var = UnitGroupUnitFromEnd(auto641DF5B9_g, auto641DF5B9_u);
if (auto641DF5B9_var == null) { break; }
if (((UnitHasBehavior2(auto641DF5B9_var, "HybridGeneralPhaseShift") == true) || (UnitHasBehavior2(auto641DF5B9_var, "HybridNemesisStasisPrevention") == true))) {
UnitGroupRemove(lv_enemyGroup9, auto641DF5B9_var);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pshakuras01.sc2map/MapScript.galaxy:607
while ((libVCMI_gf_GameIsOver() == false) && (UnitIsAlive(gv_voidThrashers.lv_thrasher[lp_index]) == true)) {
UnitIssueOrder(gv_voidThrashers.lv_thrasher[lp_index], OrderTargetingUnit(AbilityCommand("KaiserWormScourgeMissile", 0), gv_warpConduit), c_orderQueueReplace);
if ((UnitHasBehavior2(gv_voidThrashers.lv_thrasher[lp_index], "ArtanisTemporalField") == true)) {
Wait(6.0, c_timeAI);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pshakuras02.sc2map/MapScript.galaxy:778
lv_currentUnit = UnitGroupUnitFromEnd(auto673F34C5_g, auto673F34C5_u);
if (lv_currentUnit == null) { break; }
if (((UnitHasBehavior2(lv_currentUnit, "HybridGeneralPhaseShift") == true) || (UnitHasBehavior2(lv_currentUnit, "HybridNemesisStasisPrevention") == true) || ((libLotv_gf_DifficultyValueInt2(1, 1, 1, 0) == 1) && (UnitGetType(lv_currentUnit) == "Pylon")))) {
UnitGroupRemove(lv_enemyGroup7, lv_currentUnit);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pshakuras02.sc2map/MapScript.galaxy:778
lv_currentUnit = UnitGroupUnitFromEnd(auto673F34C5_g, auto673F34C5_u);
if (lv_currentUnit == null) { break; }
if (((UnitHasBehavior2(lv_currentUnit, "HybridGeneralPhaseShift") == true) || (UnitHasBehavior2(lv_currentUnit, "HybridNemesisStasisPrevention") == true) || ((libLotv_gf_DifficultyValueInt2(1, 1, 1, 0) == 1) && (UnitGetType(lv_currentUnit) == "Pylon")))) {
UnitGroupRemove(lv_enemyGroup7, lv_currentUnit);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:555
}
Wait(3.0, c_timeGame);
if ((gv_terrazineActive == false) && (UnitHasBehavior2(lp_cHOSEN_UNIT, "SolarCombustion") == false)) {
UnitBehaviorAddPlayer(lp_cHOSEN_UNIT, "SolarCombustion", UnitGetOwner(lp_cHOSEN_UNIT), 1);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:1773
auto6EEAE39A_var = UnitGroupUnitFromEnd(auto6EEAE39A_g, auto6EEAE39A_u);
if (auto6EEAE39A_var == null) { break; }
if (((UnitHasBehavior2(auto6EEAE39A_var, "TerrazineShadow") == true) || (UnitHasBehavior2(auto6EEAE39A_var, "ShadowManifestation") == true))) {
UnitBehaviorAddPlayer(auto6EEAE39A_var, "SolarCombustion", auto9BEC73BB_var, 1);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:1773
auto6EEAE39A_var = UnitGroupUnitFromEnd(auto6EEAE39A_g, auto6EEAE39A_u);
if (auto6EEAE39A_var == null) { break; }
if (((UnitHasBehavior2(auto6EEAE39A_var, "TerrazineShadow") == true) || (UnitHasBehavior2(auto6EEAE39A_var, "ShadowManifestation") == true))) {
UnitBehaviorAddPlayer(auto6EEAE39A_var, "SolarCombustion", auto9BEC73BB_var, 1);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim02.sc2map/MapScript.galaxy:615
auto28BBCA79_var = UnitGroupUnitFromEnd(auto28BBCA79_g, auto28BBCA79_u);
if (auto28BBCA79_var == null) { break; }
if ((auto28BBCA79_var != gv_alarak) && (UnitHasBehavior2(auto28BBCA79_var, "PitAlarakShieldRegen") == true)) {
UnitGroupAdd(lv_friendlyUnitsNearTugOfWar, auto28BBCA79_var);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim02.sc2map/MapScript.galaxy:641
auto2856A257_var = UnitGroupUnitFromEnd(auto2856A257_g, auto2856A257_u);
if (auto2856A257_var == null) { break; }
if ((auto2856A257_var != gv_malash) && (UnitGetType(auto2856A257_var) != "Observer") && (UnitHasBehavior2(auto2856A257_var, "PitMalashShieldRegen") == true)) {
UnitGroupAdd(lv_enemyUnitsNearTugOfWar, auto2856A257_var);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim02.sc2map/MapScript.galaxy:723
auto1AEC9506_var = UnitGroupUnitFromEnd(auto1AEC9506_g, auto1AEC9506_u);
if (auto1AEC9506_var == null) { break; }
if ((UnitHasBehavior2(auto1AEC9506_var, "SlaynElementalGrabStun") == true)) {
lv_faceSuckedUnits += 1;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim02.sc2map/MapScript.galaxy:735
autoDDD5729F_var = UnitGroupUnitFromEnd(autoDDD5729F_g, autoDDD5729F_u);
if (autoDDD5729F_var == null) { break; }
if ((UnitHasBehavior2(autoDDD5729F_var, "SlaynElementalGrabStun") == true)) {
lv_faceSuckedUnits += 1;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:1081
}
if ((libNtve_gf_UnitInRegion(gv_narud, lv_attackPathLeashRegion) == true)) {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 10.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
gf_ThrasherAttackEnemies(gv_voidThrasher, libLotv_gf_DifficultyValueInt2(1, 1, 3, 3));
Wait(6.0, c_timeGame);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:1081
}
if ((libNtve_gf_UnitInRegion(gv_narud, lv_attackPathLeashRegion) == true)) {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 10.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
gf_ThrasherAttackEnemies(gv_voidThrasher, libLotv_gf_DifficultyValueInt2(1, 1, 3, 3));
Wait(6.0, c_timeGame);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:1086
}
else {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 12.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
UnitIssueOrder(gv_voidThrasher, OrderTargetingUnit(AbilityCommand("KaiserWormScourgeMissile", 0), UnitGroupClosestToPoint(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 15.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), UnitGetPosition(gv_voidThrasher))), c_orderQueueReplace);
Wait(4.0, c_timeGame);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:1086
}
else {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 12.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
UnitIssueOrder(gv_voidThrasher, OrderTargetingUnit(AbilityCommand("KaiserWormScourgeMissile", 0), UnitGroupClosestToPoint(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 15.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), UnitGetPosition(gv_voidThrasher))), c_orderQueueReplace);
Wait(4.0, c_timeGame);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:1187
}
if ((libNtve_gf_UnitInRegion(gv_narud, lv_attackPathLeashRegion) == true)) {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 10.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
gf_ThrasherAttackEnemies(gv_voidThrasher, libLotv_gf_DifficultyValueInt2(1, 1, 3, 3));
Wait(6.0, c_timeGame);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:1187
}
if ((libNtve_gf_UnitInRegion(gv_narud, lv_attackPathLeashRegion) == true)) {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 10.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
gf_ThrasherAttackEnemies(gv_voidThrasher, libLotv_gf_DifficultyValueInt2(1, 1, 3, 3));
Wait(6.0, c_timeGame);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:1192
}
else {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 12.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
UnitIssueOrder(gv_voidThrasher, OrderTargetingUnit(AbilityCommand("KaiserWormScourgeMissile", 0), UnitGroupClosestToPoint(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 15.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), UnitGetPosition(gv_voidThrasher))), c_orderQueueReplace);
Wait(4.0, c_timeGame);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:1192
}
else {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 12.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
UnitIssueOrder(gv_voidThrasher, OrderTargetingUnit(AbilityCommand("KaiserWormScourgeMissile", 0), UnitGroupClosestToPoint(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 15.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), UnitGetPosition(gv_voidThrasher))), c_orderQueueReplace);
Wait(4.0, c_timeGame);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:1453
autoA9D69185_val = lp_toggleOnOff;
if (autoA9D69185_val == ge_PRESETToggleOnOff_Off) {
while ((UnitIsAlive(gv_voidThrasher) == true) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == true)) {
UnitIssueOrder(gv_voidThrasher, Order(AbilityCommand("NarudEpilogueSpawnMode", 1)), c_orderQueueReplace);
Wait(0.1, c_timeAI);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:1464
}
while ((UnitIsAlive(gv_voidThrasher) == true) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false)) {
UnitIssueOrder(gv_voidThrasher, Order(AbilityCommand("NarudEpilogueSpawnMode", 0)), c_orderQueueReplace);
Wait(0.1, c_timeAI);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:1512
autoD5CF45EC_var = UnitGroupUnitFromEnd(autoD5CF45EC_g, autoD5CF45EC_u);
if (autoD5CF45EC_var == null) { break; }
if ((UnitHasBehavior2(autoD5CF45EC_var, "VoidShade") == false) && (UnitGetType(autoD5CF45EC_var) != "VoidThrasher")) {
UnitBehaviorAddPlayer(autoD5CF45EC_var, "VoidShade", UnitGetOwner(autoD5CF45EC_var), 1);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:1522
autoAC013987_var = UnitGroupUnitFromEnd(autoAC013987_g, autoAC013987_u);
if (autoAC013987_var == null) { break; }
if ((UnitHasBehavior2(autoAC013987_var, "VoidShade") == false) && (UnitGetType(autoAC013987_var) != "VoidThrasher")) {
UnitBehaviorAddPlayer(autoAC013987_var, "VoidShade", UnitGetOwner(autoAC013987_var), 1);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue03.sc2map/MapScript.galaxy:678
}
if ((UnitHasBehavior2(gv_voidCrystals[lp_index].lv_unit, "AmonCrystalDarkInertia") == false)) {
UnitBehaviorAdd(gv_voidCrystals[lp_index].lv_unit, "AmonCrystalDarkInertia", gv_voidCrystals[lp_index].lv_unit, 1);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue03.sc2map/MapScript.galaxy:682
}
if ((UnitHasBehavior2(gv_voidCrystals[lp_index].lv_unit, "InfiniteCrystalisRepulsorBehavior") == false)) {
UnitBehaviorAdd(gv_voidCrystals[lp_index].lv_unit, "InfiniteCrystalisRepulsorBehavior", gv_voidCrystals[lp_index].lv_unit, 1);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:3547
UnitGroupLoopBegin(UnitGroup(lv_workerType, gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == lv_gatherAbil) && (UnitGetType(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) == lv_geyserType)) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == lv_gatherReturnAbil) && (UnitHasBehavior2(UnitGroupLoopCurrent(), lv_carryBehavior) == true)))) {
}
else {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:3689
}
if (((UnitGetType(OrderGetTargetUnit(UnitOrder(OrderGetTargetUnit(EventUnitOrder()), 0))) == "MineralField") || (UnitHasBehavior2(OrderGetTargetUnit(EventUnitOrder()), "CarryMineralFieldMinerals") == true))) {
auto0B001210_val = PlayerRace(EventPlayer());
if (auto0B001210_val == "Terr") {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:9728
UnitGroupLoopBegin(UnitGroup(null, gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, 0, 0), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitHasBehavior2(UnitGroupLoopCurrent(), "ZergBuildingDies6") == true)) {
UnitBehaviorRemove(UnitGroupLoopCurrent(), "ZergBuildingDies6", 1);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:9733
else {
}
if ((UnitHasBehavior2(UnitGroupLoopCurrent(), "ZergBuildingDies9") == true)) {
UnitBehaviorRemove(UnitGroupLoopCurrent(), "ZergBuildingDies9", 1);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:12831
UnitGroupLoopBegin(UnitGroup("Drone", gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 0)) && (UnitGetType(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) == "Extractor")) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 1)) && (UnitHasBehavior2(UnitGroupLoopCurrent(), "CarryHarvestableVespeneGeyserGasZerg") == true)))) {
lv_dronesOnGas += 1;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:12877
UnitGroupLoopBegin(UnitGroup("Drone", gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((!((((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 0)) && (UnitGetType(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) == "Extractor")) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 1)) && (UnitHasBehavior2(UnitGroupLoopCurrent(), "CarryHarvestableVespeneGeyserGasZerg") == true)))))) {
UnitGroupAdd(lv_validDrones, UnitGroupLoopCurrent());
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:12955
UnitGroupLoopBegin(UnitGroup("Drone", gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 0)) && (UnitGetType(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) == "Extractor")) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 1)) && (UnitHasBehavior2(UnitGroupLoopCurrent(), "CarryHarvestableVespeneGeyserGasZerg") == true)))) {
lv_dronesOnGas += 1;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:13344
UnitGroupLoopBegin(UnitGroup("Drone", gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((!((((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 0)) && (UnitGetType(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) == "Extractor")) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("DroneHarvest", 1)) && (UnitHasBehavior2(UnitGroupLoopCurrent(), "CarryHarvestableVespeneGeyserGasZerg") == true)))))) {
UnitGroupAdd(lv_validDrones, UnitGroupLoopCurrent());
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:15557
UnitGroupLoopBegin(UnitGroup(null, gv_p02_ENEMY, RegionEntireMap(), UnitFilter(0, 0, 0, 0), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitHasBehavior2(UnitGroupLoopCurrent(), "ZergBuildingDies6") == true)) {
UnitBehaviorRemove(UnitGroupLoopCurrent(), "ZergBuildingDies6", 1);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:15562
else {
}
if ((UnitHasBehavior2(UnitGroupLoopCurrent(), "ZergBuildingDies9") == true)) {
UnitBehaviorRemove(UnitGroupLoopCurrent(), "ZergBuildingDies9", 1);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur02.sc2map — MapScript.galaxy:3332
auto220BF287_var = UnitGroupUnitFromEnd(auto220BF287_g, auto220BF287_u);
if (auto220BF287_var == null) { break; }
if ((!((((OrderGetAbilityCommand(UnitOrder(auto220BF287_var, 0)) == AbilityCommand("ProbeHarvest", 0)) && (UnitGetType(OrderGetTargetUnit(UnitOrder(auto220BF287_var, 0))) == "Assimilator")) || ((OrderGetAbilityCommand(UnitOrder(auto220BF287_var, 0)) == AbilityCommand("ProbeHarvest", 1)) && (UnitHasBehavior2(auto220BF287_var, "CarryHarvestableVespeneGeyserGasProtoss") == true)))))) {
UnitGroupAdd(lv_validProbes, auto220BF287_var);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur02.sc2map — MapScript.galaxy:3453
auto70400E0A_var = UnitGroupUnitFromEnd(auto70400E0A_g, auto70400E0A_u);
if (auto70400E0A_var == null) { break; }
if ((((OrderGetAbilityCommand(UnitOrder(auto70400E0A_var, 0)) == AbilityCommand("ProbeHarvest", 0)) && (UnitGetType(OrderGetTargetUnit(UnitOrder(auto70400E0A_var, 0))) == "Assimilator")) || ((OrderGetAbilityCommand(UnitOrder(auto70400E0A_var, 0)) == AbilityCommand("ProbeHarvest", 1)) && (UnitHasBehavior2(auto70400E0A_var, "CarryHarvestableVespeneGeyserGasProtoss") == true)))) {
lv_probesOnGas += 1;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur02.sc2map — MapScript.galaxy:3811
auto4D4BD4E5_var = UnitGroupUnitFromEnd(auto4D4BD4E5_g, auto4D4BD4E5_u);
if (auto4D4BD4E5_var == null) { break; }
if ((((OrderGetAbilityCommand(UnitOrder(auto4D4BD4E5_var, 0)) == AbilityCommand("ProbeHarvest", 0)) && (UnitGetType(OrderGetTargetUnit(UnitOrder(auto4D4BD4E5_var, 0))) == "Assimilator")) || ((OrderGetAbilityCommand(UnitOrder(auto4D4BD4E5_var, 0)) == AbilityCommand("ProbeHarvest", 1)) && (UnitHasBehavior2(auto4D4BD4E5_var, "CarryHarvestableVespeneGeyserGasProtoss") == true)))) {
lv_probesOnGas += 1;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:7231
if (auto19E3EDD0_var == null) { break; }
if ((UnitGetCustomValue(auto19E3EDD0_var, 0) < 1)) {
if ((UnitHasBehavior2(auto19E3EDD0_var, "UnstableEnergyDamage") == true)) {
UnitSetCustomValue(auto19E3EDD0_var, 0, (UnitGetCustomValue(auto19E3EDD0_var, 0) + 2.0));
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:7237
}
else {
if ((UnitHasBehavior2(auto19E3EDD0_var, "UnstableEnergyDamage") == true)) {
if ((UnitGetCustomValue(auto19E3EDD0_var, 0) < 10.0)) {
UnitSetCustomValue(auto19E3EDD0_var, 0, (UnitGetCustomValue(auto19E3EDD0_var, 0) + 1.0));
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2map — MapScript.galaxy:575
autoC20E9EDC_var = UnitGroupUnitFromEnd(autoC20E9EDC_g, autoC20E9EDC_u);
if (autoC20E9EDC_var == null) { break; }
if (((UnitGetType(autoC20E9EDC_var) == "Interceptor") || (UnitGetType(autoC20E9EDC_var) == "InterceptorAiur") || (UnitGetType(autoC20E9EDC_var) == "CarrierRepairDrone") || (UnitGetType(autoC20E9EDC_var) == "FenixSOA") || (UnitGetType(autoC20E9EDC_var) == "Flagship") || (UnitHasBehavior2(autoC20E9EDC_var, "VoidTendrilDeathGripStun") == true) || (UnitHasBehavior2(autoC20E9EDC_var, "VoidTendrilDeathGripWarningDebuff") == true))) {
UnitGroupRemove(lv_enemyGroup, autoC20E9EDC_var);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2map — MapScript.galaxy:575
autoC20E9EDC_var = UnitGroupUnitFromEnd(autoC20E9EDC_g, autoC20E9EDC_u);
if (autoC20E9EDC_var == null) { break; }
if (((UnitGetType(autoC20E9EDC_var) == "Interceptor") || (UnitGetType(autoC20E9EDC_var) == "InterceptorAiur") || (UnitGetType(autoC20E9EDC_var) == "CarrierRepairDrone") || (UnitGetType(autoC20E9EDC_var) == "FenixSOA") || (UnitGetType(autoC20E9EDC_var) == "Flagship") || (UnitHasBehavior2(autoC20E9EDC_var, "VoidTendrilDeathGripStun") == true) || (UnitHasBehavior2(autoC20E9EDC_var, "VoidTendrilDeathGripWarningDebuff") == true))) {
UnitGroupRemove(lv_enemyGroup, autoC20E9EDC_var);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2map — MapScript.galaxy:1015
UnitCreateEffectUnit(UnitFromId(1267), "VoidRiftTrainLM", UnitLastCreated());
autoDE86D87B_at = 0;
while (!((UnitHasBehavior2(UnitLastCreated(), "VoidRiftTrainPrecursor") == false)) && autoDE86D87B_at <= 4.0) {
Wait(0.0625, c_timeGame);
autoDE86D87B_at = autoDE86D87B_at + 0.0625;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2map — MapScript.galaxy:885
}
if ((UnitGroupCount(lv_enemyGroup8, c_unitCountAlive) > 0)) {
if ((UnitHasBehavior2(lp_alarak, "AlarakDeadlyCharging") == false) && (UnitCheckAbilCmdState(lp_alarak, AbilityCommand("AlarakKnockback", 0), c_cmdStateCooldown) == false)) {
if ((DistanceBetweenPoints(UnitGetPosition(lp_alarak), UnitGetPosition(UnitGroupClosestToPoint(lv_enemyGroup8, UnitGetPosition(lp_alarak)))) <= 4.0)) {
lv_targetPoint = UnitGetPosition(UnitGroupClosestToPoint(lv_enemyGroup8, UnitGetPosition(lp_alarak)));
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier02.sc2map — MapScript.galaxy:512
gv_trackPaused = true;
gv_megalithUnlocking = true;
while ((UnitHasBehavior2(gv_megalithUnit, "MegalithCutterDockHide") == false)) {
UnitIssueOrder(gv_megalithUnit, OrderTargetingUnit(AbilityCommand("MegalithCutterDock", 0), gv_stasisLocks[gv_objectiveStasisLocksCurrent]), c_orderQueueReplace);
Wait(0.0625, c_timeGame);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier02.sc2map — MapScript.galaxy:6312
auto00DB70CB_var = UnitGroupUnitFromEnd(auto00DB70CB_g, auto00DB70CB_u);
if (auto00DB70CB_var == null) { break; }
if ((UnitHasBehavior2(auto00DB70CB_var, "QueenMPEnsnare") == true)) {
UnitBehaviorRemove(auto00DB70CB_var, "QueenMPEnsnare", 1);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:1045
auto641DF5B9_var = UnitGroupUnitFromEnd(auto641DF5B9_g, auto641DF5B9_u);
if (auto641DF5B9_var == null) { break; }
if (((UnitHasBehavior2(auto641DF5B9_var, "HybridGeneralPhaseShift") == true) || (UnitHasBehavior2(auto641DF5B9_var, "HybridNemesisStasisPrevention") == true))) {
UnitGroupRemove(lv_enemyGroup9, auto641DF5B9_var);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:1045
auto641DF5B9_var = UnitGroupUnitFromEnd(auto641DF5B9_g, auto641DF5B9_u);
if (auto641DF5B9_var == null) { break; }
if (((UnitHasBehavior2(auto641DF5B9_var, "HybridGeneralPhaseShift") == true) || (UnitHasBehavior2(auto641DF5B9_var, "HybridNemesisStasisPrevention") == true))) {
UnitGroupRemove(lv_enemyGroup9, auto641DF5B9_var);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras01.sc2map — MapScript.galaxy:607
while ((libVCMI_gf_GameIsOver() == false) && (UnitIsAlive(gv_voidThrashers.lv_thrasher[lp_index]) == true)) {
UnitIssueOrder(gv_voidThrashers.lv_thrasher[lp_index], OrderTargetingUnit(AbilityCommand("KaiserWormScourgeMissile", 0), gv_warpConduit), c_orderQueueReplace);
if ((UnitHasBehavior2(gv_voidThrashers.lv_thrasher[lp_index], "ArtanisTemporalField") == true)) {
Wait(6.0, c_timeAI);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras02.sc2map — MapScript.galaxy:778
lv_currentUnit = UnitGroupUnitFromEnd(auto673F34C5_g, auto673F34C5_u);
if (lv_currentUnit == null) { break; }
if (((UnitHasBehavior2(lv_currentUnit, "HybridGeneralPhaseShift") == true) || (UnitHasBehavior2(lv_currentUnit, "HybridNemesisStasisPrevention") == true) || ((libLotv_gf_DifficultyValueInt2(1, 1, 1, 0) == 1) && (UnitGetType(lv_currentUnit) == "Pylon")))) {
UnitGroupRemove(lv_enemyGroup7, lv_currentUnit);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras02.sc2map — MapScript.galaxy:778
lv_currentUnit = UnitGroupUnitFromEnd(auto673F34C5_g, auto673F34C5_u);
if (lv_currentUnit == null) { break; }
if (((UnitHasBehavior2(lv_currentUnit, "HybridGeneralPhaseShift") == true) || (UnitHasBehavior2(lv_currentUnit, "HybridNemesisStasisPrevention") == true) || ((libLotv_gf_DifficultyValueInt2(1, 1, 1, 0) == 1) && (UnitGetType(lv_currentUnit) == "Pylon")))) {
UnitGroupRemove(lv_enemyGroup7, lv_currentUnit);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2map — MapScript.galaxy:555
}
Wait(3.0, c_timeGame);
if ((gv_terrazineActive == false) && (UnitHasBehavior2(lp_cHOSEN_UNIT, "SolarCombustion") == false)) {
UnitBehaviorAddPlayer(lp_cHOSEN_UNIT, "SolarCombustion", UnitGetOwner(lp_cHOSEN_UNIT), 1);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2map — MapScript.galaxy:1773
auto6EEAE39A_var = UnitGroupUnitFromEnd(auto6EEAE39A_g, auto6EEAE39A_u);
if (auto6EEAE39A_var == null) { break; }
if (((UnitHasBehavior2(auto6EEAE39A_var, "TerrazineShadow") == true) || (UnitHasBehavior2(auto6EEAE39A_var, "ShadowManifestation") == true))) {
UnitBehaviorAddPlayer(auto6EEAE39A_var, "SolarCombustion", auto9BEC73BB_var, 1);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2map — MapScript.galaxy:1773
auto6EEAE39A_var = UnitGroupUnitFromEnd(auto6EEAE39A_g, auto6EEAE39A_u);
if (auto6EEAE39A_var == null) { break; }
if (((UnitHasBehavior2(auto6EEAE39A_var, "TerrazineShadow") == true) || (UnitHasBehavior2(auto6EEAE39A_var, "ShadowManifestation") == true))) {
UnitBehaviorAddPlayer(auto6EEAE39A_var, "SolarCombustion", auto9BEC73BB_var, 1);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim02.sc2map — MapScript.galaxy:615
auto28BBCA79_var = UnitGroupUnitFromEnd(auto28BBCA79_g, auto28BBCA79_u);
if (auto28BBCA79_var == null) { break; }
if ((auto28BBCA79_var != gv_alarak) && (UnitHasBehavior2(auto28BBCA79_var, "PitAlarakShieldRegen") == true)) {
UnitGroupAdd(lv_friendlyUnitsNearTugOfWar, auto28BBCA79_var);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim02.sc2map — MapScript.galaxy:641
auto2856A257_var = UnitGroupUnitFromEnd(auto2856A257_g, auto2856A257_u);
if (auto2856A257_var == null) { break; }
if ((auto2856A257_var != gv_malash) && (UnitGetType(auto2856A257_var) != "Observer") && (UnitHasBehavior2(auto2856A257_var, "PitMalashShieldRegen") == true)) {
UnitGroupAdd(lv_enemyUnitsNearTugOfWar, auto2856A257_var);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim02.sc2map — MapScript.galaxy:723
auto1AEC9506_var = UnitGroupUnitFromEnd(auto1AEC9506_g, auto1AEC9506_u);
if (auto1AEC9506_var == null) { break; }
if ((UnitHasBehavior2(auto1AEC9506_var, "SlaynElementalGrabStun") == true)) {
lv_faceSuckedUnits += 1;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim02.sc2map — MapScript.galaxy:735
autoDDD5729F_var = UnitGroupUnitFromEnd(autoDDD5729F_g, autoDDD5729F_u);
if (autoDDD5729F_var == null) { break; }
if ((UnitHasBehavior2(autoDDD5729F_var, "SlaynElementalGrabStun") == true)) {
lv_faceSuckedUnits += 1;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:1081
}
if ((libNtve_gf_UnitInRegion(gv_narud, lv_attackPathLeashRegion) == true)) {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 10.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
gf_ThrasherAttackEnemies(gv_voidThrasher, libLotv_gf_DifficultyValueInt2(1, 1, 3, 3));
Wait(6.0, c_timeGame);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:1081
}
if ((libNtve_gf_UnitInRegion(gv_narud, lv_attackPathLeashRegion) == true)) {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 10.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
gf_ThrasherAttackEnemies(gv_voidThrasher, libLotv_gf_DifficultyValueInt2(1, 1, 3, 3));
Wait(6.0, c_timeGame);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:1086
}
else {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 12.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
UnitIssueOrder(gv_voidThrasher, OrderTargetingUnit(AbilityCommand("KaiserWormScourgeMissile", 0), UnitGroupClosestToPoint(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 15.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), UnitGetPosition(gv_voidThrasher))), c_orderQueueReplace);
Wait(4.0, c_timeGame);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:1086
}
else {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 12.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
UnitIssueOrder(gv_voidThrasher, OrderTargetingUnit(AbilityCommand("KaiserWormScourgeMissile", 0), UnitGroupClosestToPoint(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 15.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), UnitGetPosition(gv_voidThrasher))), c_orderQueueReplace);
Wait(4.0, c_timeGame);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:1187
}
if ((libNtve_gf_UnitInRegion(gv_narud, lv_attackPathLeashRegion) == true)) {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 10.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
gf_ThrasherAttackEnemies(gv_voidThrasher, libLotv_gf_DifficultyValueInt2(1, 1, 3, 3));
Wait(6.0, c_timeGame);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:1187
}
if ((libNtve_gf_UnitInRegion(gv_narud, lv_attackPathLeashRegion) == true)) {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 10.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
gf_ThrasherAttackEnemies(gv_voidThrasher, libLotv_gf_DifficultyValueInt2(1, 1, 3, 3));
Wait(6.0, c_timeGame);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:1192
}
else {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 12.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
UnitIssueOrder(gv_voidThrasher, OrderTargetingUnit(AbilityCommand("KaiserWormScourgeMissile", 0), UnitGroupClosestToPoint(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 15.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), UnitGetPosition(gv_voidThrasher))), c_orderQueueReplace);
Wait(4.0, c_timeGame);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:1192
}
else {
if ((UnitGroupCount(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 12.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnModeEnd") == false)) {
UnitIssueOrder(gv_voidThrasher, OrderTargetingUnit(AbilityCommand("KaiserWormScourgeMissile", 0), UnitGroupClosestToPoint(UnitGroupAlliance(UnitGetOwner(gv_voidThrasher), c_unitAllianceEnemy, RegionCircle(UnitGetPosition(gv_voidThrasher), 15.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), UnitGetPosition(gv_voidThrasher))), c_orderQueueReplace);
Wait(4.0, c_timeGame);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:1453
autoA9D69185_val = lp_toggleOnOff;
if (autoA9D69185_val == ge_PRESETToggleOnOff_Off) {
while ((UnitIsAlive(gv_voidThrasher) == true) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == true)) {
UnitIssueOrder(gv_voidThrasher, Order(AbilityCommand("NarudEpilogueSpawnMode", 1)), c_orderQueueReplace);
Wait(0.1, c_timeAI);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:1464
}
while ((UnitIsAlive(gv_voidThrasher) == true) && (UnitHasBehavior2(gv_voidThrasher, "NarudEpilogueSpawnMode") == false)) {
UnitIssueOrder(gv_voidThrasher, Order(AbilityCommand("NarudEpilogueSpawnMode", 0)), c_orderQueueReplace);
Wait(0.1, c_timeAI);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:1512
autoD5CF45EC_var = UnitGroupUnitFromEnd(autoD5CF45EC_g, autoD5CF45EC_u);
if (autoD5CF45EC_var == null) { break; }
if ((UnitHasBehavior2(autoD5CF45EC_var, "VoidShade") == false) && (UnitGetType(autoD5CF45EC_var) != "VoidThrasher")) {
UnitBehaviorAddPlayer(autoD5CF45EC_var, "VoidShade", UnitGetOwner(autoD5CF45EC_var), 1);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:1522
autoAC013987_var = UnitGroupUnitFromEnd(autoAC013987_g, autoAC013987_u);
if (autoAC013987_var == null) { break; }
if ((UnitHasBehavior2(autoAC013987_var, "VoidShade") == false) && (UnitGetType(autoAC013987_var) != "VoidThrasher")) {
UnitBehaviorAddPlayer(autoAC013987_var, "VoidShade", UnitGetOwner(autoAC013987_var), 1);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue03.sc2map — MapScript.galaxy:678
}
if ((UnitHasBehavior2(gv_voidCrystals[lp_index].lv_unit, "AmonCrystalDarkInertia") == false)) {
UnitBehaviorAdd(gv_voidCrystals[lp_index].lv_unit, "AmonCrystalDarkInertia", gv_voidCrystals[lp_index].lv_unit, 1);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue03.sc2map — MapScript.galaxy:682
}
if ((UnitHasBehavior2(gv_voidCrystals[lp_index].lv_unit, "InfiniteCrystalisRepulsorBehavior") == false)) {
UnitBehaviorAdd(gv_voidCrystals[lp_index].lv_unit, "InfiniteCrystalisRepulsorBehavior", gv_voidCrystals[lp_index].lv_unit, 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:107
lv_currentUnit = UnitGroupUnitFromEnd(auto07EB9AE6_g, auto07EB9AE6_u);
if (lv_currentUnit == null) { break; }
if (((UnitHasBehavior2(lv_currentUnit, "Frenzy") == true) || (UnitGetPropertyFixed(lv_currentUnit, c_unitPropLifeMax, c_unitPropCurrent) < 120.0))) {
UnitGroupRemove(lv_enemyGroup7, lv_currentUnit);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:138
lv_currentUnit = UnitGroupUnitFromEnd(autoC5AF83C6_g, autoC5AF83C6_u);
if (lv_currentUnit == null) { break; }
if (((UnitHasBehavior2(lv_currentUnit, "Frenzy") == true) || (UnitGetType(lv_currentUnit) == "Medivac") || (UnitGetType(lv_currentUnit) == "Overlord") || (UnitGetType(lv_currentUnit) == "WarpPrism") || (UnitGetType(lv_currentUnit) == "WarpPrismPhasing") || (UnitGetType(lv_currentUnit) == "Zergling") || (UnitGetType(lv_currentUnit) == "Carrier"))) {
UnitGroupRemove(lv_enemyGroup7, lv_currentUnit);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1968
if ((lp_pauseUnpause == true)) {
libVCMI_gv_pM_SoAPaused = true;
if ((UnitHasBehavior2(libVCMI_gv_pM_SoAUnit, "SOAAbilityDisable") == false)) {
UnitBehaviorAdd(libVCMI_gv_pM_SoAUnit, "SOAAbilityDisable", libVCMI_gv_pM_SoAUnit, 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2462
lv_indexUnit = UnitGroupUnitFromEnd(autoED4DB1AA_g, autoED4DB1AA_u);
if (lv_indexUnit == null) { break; }
if ((UnitHasBehavior2(lv_indexUnit, "RecentlyCreated") == true)) {
UnitGroupRemove(lv_gateways, lv_indexUnit);
}