# Unit Count For Player
Grammar — unitType count for player player, counting countType
Flags —Native
|Function
Returns the number of units, of a specific unit type determined by the Unit parameter, owned by the chosen player. The Count Type will determine what state the units must be in to be considered for this function.
# Arguments
int
— Playerstring
<gamelink::Unit> — Unitint
<preset::TechTreeCountType> — Count Type
Returns — int
native int TechTreeUnitCount(
int player,
string unitType,
int countType,
);
# Related
Category: Tech Tree / Counts
- Behavior Count For Player —
int
— TechTreeBehaviorCount - Ability Count For Player —
int
— TechTreeAbilityCount - Unit Count For Player —
int
— TechTreeUnitCount - Unit Alias Count For Player —
int
— TechTreeUnitAliasCount - Upgrade Count For Player —
int
— TechTreeUpgradeCount - Tech Tree Behavior Count For Unit —
int
— UnitTechTreeBehaviorCount - Tech Tree Unit Count For Unit —
int
— UnitTechTreeUnitCount - Tech Tree Upgrade Count For Unit —
int
— UnitTechTreeUpgradeCount
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:810
// Implementation
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedAbomination", c_techCountQueuedOrBetter);
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedCivilian", c_techCountQueuedOrBetter);
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedTerranCampaign", c_techCountQueuedOrBetter);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:811
// Implementation
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedAbomination", c_techCountQueuedOrBetter);
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedCivilian", c_techCountQueuedOrBetter);
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedTerranCampaign", c_techCountQueuedOrBetter);
if ((lv_number <= PlayerGetPropertyInt(gv_p07_ZERG_INFESTED, c_playerPropSuppliesLimit))) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:812
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedAbomination", c_techCountQueuedOrBetter);
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedCivilian", c_techCountQueuedOrBetter);
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedTerranCampaign", c_techCountQueuedOrBetter);
if ((lv_number <= PlayerGetPropertyInt(gv_p07_ZERG_INFESTED, c_playerPropSuppliesLimit))) {
return false;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:602
}
if ((TechTreeUnitCount(lp_player, "Barracks", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "BarracksFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Factory", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "FactoryFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Starport", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "StarportFlying", c_techCountQueuedOrBetter) == 0)) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:602
}
if ((TechTreeUnitCount(lp_player, "Barracks", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "BarracksFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Factory", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "FactoryFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Starport", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "StarportFlying", c_techCountQueuedOrBetter) == 0)) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:602
}
if ((TechTreeUnitCount(lp_player, "Barracks", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "BarracksFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Factory", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "FactoryFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Starport", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "StarportFlying", c_techCountQueuedOrBetter) == 0)) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:602
}
if ((TechTreeUnitCount(lp_player, "Barracks", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "BarracksFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Factory", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "FactoryFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Starport", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "StarportFlying", c_techCountQueuedOrBetter) == 0)) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:602
}
if ((TechTreeUnitCount(lp_player, "Barracks", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "BarracksFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Factory", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "FactoryFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Starport", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "StarportFlying", c_techCountQueuedOrBetter) == 0)) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:602
}
if ((TechTreeUnitCount(lp_player, "Barracks", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "BarracksFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Factory", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "FactoryFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Starport", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "StarportFlying", c_techCountQueuedOrBetter) == 0)) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1006
}
if (!((((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0))))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1006
}
if (!((((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0))))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1006
}
if (!((((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0))))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1006
}
if (!((((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0))))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1018
TriggerEnable(TriggerGetCurrent(), false);
Wait(60.0, c_timeGame);
if ((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed) == PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)) && (((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0)))) {
TriggerExecute(gt_SupplySafetyCreateDrop, true, false);
TriggerEnable(gt_SupplySafetyTXT, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1018
TriggerEnable(TriggerGetCurrent(), false);
Wait(60.0, c_timeGame);
if ((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed) == PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)) && (((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0)))) {
TriggerExecute(gt_SupplySafetyCreateDrop, true, false);
TriggerEnable(gt_SupplySafetyTXT, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1018
TriggerEnable(TriggerGetCurrent(), false);
Wait(60.0, c_timeGame);
if ((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed) == PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)) && (((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0)))) {
TriggerExecute(gt_SupplySafetyCreateDrop, true, false);
TriggerEnable(gt_SupplySafetyTXT, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1018
TriggerEnable(TriggerGetCurrent(), false);
Wait(60.0, c_timeGame);
if ((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed) == PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)) && (((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0)))) {
TriggerExecute(gt_SupplySafetyCreateDrop, true, false);
TriggerEnable(gt_SupplySafetyTXT, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1197
}
if (!((TechTreeUnitCount(gv_pLAYER_01_USER, "SCV", c_techCountQueuedOrBetter) <= 3))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3758
// Conditions
if (testConds) {
if (!((TechTreeUnitCount(gv_pLAYER_02_DOMINION, "SupplyDepot", c_techCountQueuedOrBetter) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3763
}
if (!((TechTreeUnitCount(gv_p5_DOMINION_GREY, "SCV", c_techCountQueuedOrBetter) < libNtve_gf_DifficultyValueInt(0, 0, 1, 1)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3804
}
if (!((TechTreeUnitCount(gv_p4_DOMINION_PURPLE, "SCV", c_techCountQueuedOrBetter) < libNtve_gf_DifficultyValueInt(1, 1, 2, 2)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3845
}
if (!((TechTreeUnitCount(gv_p3_DOMINION_RED, "SCV", c_techCountQueuedOrBetter) < libNtve_gf_DifficultyValueInt(1, 1, 2, 2)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3886
}
if (!((TechTreeUnitCount(gv_p6_DOMINION_ORANGE, "SCV", c_techCountQueuedOrBetter) < libNtve_gf_DifficultyValueInt(1, 1, 2, 2)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:2895
}
if (!((TechTreeUnitCount(gv_pLAYER01_USER, "Raven", c_techCountCompleteOnly) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:2975
}
if (!((TechTreeUnitCount(gv_pLAYER01_USER, "Reaper", c_techCountCompleteOnly) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:5052
}
if (!((TechTreeUnitCount(gv_pLAYER01_USER, "Raven", c_techCountCompleteOnly) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:5056
}
if (!((TechTreeUnitCount(gv_pLAYER01_USER, "Reaper", c_techCountCompleteOnly) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1860
}
if (!(((TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Nexus", c_techCountQueuedOrBetter) == 0) || (TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Gateway", c_techCountQueuedOrBetter) == 0) || (TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Pylon", c_techCountQueuedOrBetter) == 0)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1860
}
if (!(((TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Nexus", c_techCountQueuedOrBetter) == 0) || (TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Gateway", c_techCountQueuedOrBetter) == 0) || (TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Pylon", c_techCountQueuedOrBetter) == 0)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1860
}
if (!(((TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Nexus", c_techCountQueuedOrBetter) == 0) || (TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Gateway", c_techCountQueuedOrBetter) == 0) || (TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Pylon", c_techCountQueuedOrBetter) == 0)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:536
}
if ((TechTreeUnitCount(lp_player, "Hatchery", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "Lair", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "Hive", c_techCountCompleteOnly) == 0)) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:536
}
if ((TechTreeUnitCount(lp_player, "Hatchery", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "Lair", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "Hive", c_techCountCompleteOnly) == 0)) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:536
}
if ((TechTreeUnitCount(lp_player, "Hatchery", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "Lair", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "Hive", c_techCountCompleteOnly) == 0)) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:540
}
if ((TechTreeUnitCount(lp_player, "RoachWarren", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "UltraliskCavern", c_techCountCompleteOnly) == 0) && (lp_player == gv_pLAYER_P05_ZERG_TL)) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:540
}
if ((TechTreeUnitCount(lp_player, "RoachWarren", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "UltraliskCavern", c_techCountCompleteOnly) == 0) && (lp_player == gv_pLAYER_P05_ZERG_TL)) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:544
}
if ((TechTreeUnitCount(lp_player, "Spire", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "GreaterSpire", c_techCountCompleteOnly) == 0) && ((lp_player == gv_pLAYER_P03_ZERG_BR) || (lp_player == gv_pLAYER_P04_ZERG_BL) || (lp_player == gv_pLAYER_P06_ZERG_TR))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:544
}
if ((TechTreeUnitCount(lp_player, "Spire", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "GreaterSpire", c_techCountCompleteOnly) == 0) && ((lp_player == gv_pLAYER_P03_ZERG_BR) || (lp_player == gv_pLAYER_P04_ZERG_BL) || (lp_player == gv_pLAYER_P06_ZERG_TR))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1076
// Conditions
if (testConds) {
if (!((TechTreeUnitCount(gv_p4_PROTOSS_ENEMY, "Gateway", c_techCountQueuedOrBetter) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1080
}
if (!((TechTreeUnitCount(gv_p4_PROTOSS_ENEMY, "Stargate", c_techCountQueuedOrBetter) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1084
}
if (!((TechTreeUnitCount(gv_p6_PROTOSS_ENEMY, "Gateway", c_techCountQueuedOrBetter) == 0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1088
}
if (!((TechTreeUnitCount(gv_p6_PROTOSS_ENEMY, "Stargate", c_techCountQueuedOrBetter) == 0))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2map — MapScript.galaxy:810
// Implementation
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedAbomination", c_techCountQueuedOrBetter);
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedCivilian", c_techCountQueuedOrBetter);
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedTerranCampaign", c_techCountQueuedOrBetter);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2map — MapScript.galaxy:811
// Implementation
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedAbomination", c_techCountQueuedOrBetter);
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedCivilian", c_techCountQueuedOrBetter);
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedTerranCampaign", c_techCountQueuedOrBetter);
if ((lv_number <= PlayerGetPropertyInt(gv_p07_ZERG_INFESTED, c_playerPropSuppliesLimit))) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2map — MapScript.galaxy:812
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedAbomination", c_techCountQueuedOrBetter);
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedCivilian", c_techCountQueuedOrBetter);
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedTerranCampaign", c_techCountQueuedOrBetter);
if ((lv_number <= PlayerGetPropertyInt(gv_p07_ZERG_INFESTED, c_playerPropSuppliesLimit))) {
return false;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:602
}
if ((TechTreeUnitCount(lp_player, "Barracks", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "BarracksFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Factory", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "FactoryFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Starport", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "StarportFlying", c_techCountQueuedOrBetter) == 0)) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:602
}
if ((TechTreeUnitCount(lp_player, "Barracks", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "BarracksFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Factory", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "FactoryFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Starport", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "StarportFlying", c_techCountQueuedOrBetter) == 0)) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:602
}
if ((TechTreeUnitCount(lp_player, "Barracks", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "BarracksFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Factory", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "FactoryFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Starport", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "StarportFlying", c_techCountQueuedOrBetter) == 0)) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:602
}
if ((TechTreeUnitCount(lp_player, "Barracks", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "BarracksFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Factory", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "FactoryFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Starport", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "StarportFlying", c_techCountQueuedOrBetter) == 0)) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:602
}
if ((TechTreeUnitCount(lp_player, "Barracks", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "BarracksFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Factory", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "FactoryFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Starport", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "StarportFlying", c_techCountQueuedOrBetter) == 0)) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:602
}
if ((TechTreeUnitCount(lp_player, "Barracks", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "BarracksFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Factory", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "FactoryFlying", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "Starport", c_techCountQueuedOrBetter) == 0) && (TechTreeUnitCount(lp_player, "StarportFlying", c_techCountQueuedOrBetter) == 0)) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:1006
}
if (!((((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0))))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:1006
}
if (!((((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0))))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:1006
}
if (!((((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0))))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:1006
}
if (!((((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0))))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:1018
TriggerEnable(TriggerGetCurrent(), false);
Wait(60.0, c_timeGame);
if ((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed) == PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)) && (((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0)))) {
TriggerExecute(gt_SupplySafetyCreateDrop, true, false);
TriggerEnable(gt_SupplySafetyTXT, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:1018
TriggerEnable(TriggerGetCurrent(), false);
Wait(60.0, c_timeGame);
if ((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed) == PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)) && (((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0)))) {
TriggerExecute(gt_SupplySafetyCreateDrop, true, false);
TriggerEnable(gt_SupplySafetyTXT, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:1018
TriggerEnable(TriggerGetCurrent(), false);
Wait(60.0, c_timeGame);
if ((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed) == PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)) && (((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0)))) {
TriggerExecute(gt_SupplySafetyCreateDrop, true, false);
TriggerEnable(gt_SupplySafetyTXT, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:1018
TriggerEnable(TriggerGetCurrent(), false);
Wait(60.0, c_timeGame);
if ((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed) == PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)) && (((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0)))) {
TriggerExecute(gt_SupplySafetyCreateDrop, true, false);
TriggerEnable(gt_SupplySafetyTXT, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:1197
}
if (!((TechTreeUnitCount(gv_pLAYER_01_USER, "SCV", c_techCountQueuedOrBetter) <= 3))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:3758
// Conditions
if (testConds) {
if (!((TechTreeUnitCount(gv_pLAYER_02_DOMINION, "SupplyDepot", c_techCountQueuedOrBetter) == 0))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:3763
}
if (!((TechTreeUnitCount(gv_p5_DOMINION_GREY, "SCV", c_techCountQueuedOrBetter) < libNtve_gf_DifficultyValueInt(0, 0, 1, 1)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:3804
}
if (!((TechTreeUnitCount(gv_p4_DOMINION_PURPLE, "SCV", c_techCountQueuedOrBetter) < libNtve_gf_DifficultyValueInt(1, 1, 2, 2)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:3845
}
if (!((TechTreeUnitCount(gv_p3_DOMINION_RED, "SCV", c_techCountQueuedOrBetter) < libNtve_gf_DifficultyValueInt(1, 1, 2, 2)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:3886
}
if (!((TechTreeUnitCount(gv_p6_DOMINION_ORANGE, "SCV", c_techCountQueuedOrBetter) < libNtve_gf_DifficultyValueInt(1, 1, 2, 2)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:2895
}
if (!((TechTreeUnitCount(gv_pLAYER01_USER, "Raven", c_techCountCompleteOnly) == 0))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:2975
}
if (!((TechTreeUnitCount(gv_pLAYER01_USER, "Reaper", c_techCountCompleteOnly) == 0))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:5052
}
if (!((TechTreeUnitCount(gv_pLAYER01_USER, "Raven", c_techCountCompleteOnly) == 0))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:5056
}
if (!((TechTreeUnitCount(gv_pLAYER01_USER, "Reaper", c_techCountCompleteOnly) == 0))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2map — MapScript.galaxy:1860
}
if (!(((TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Nexus", c_techCountQueuedOrBetter) == 0) || (TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Gateway", c_techCountQueuedOrBetter) == 0) || (TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Pylon", c_techCountQueuedOrBetter) == 0)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2map — MapScript.galaxy:1860
}
if (!(((TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Nexus", c_techCountQueuedOrBetter) == 0) || (TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Gateway", c_techCountQueuedOrBetter) == 0) || (TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Pylon", c_techCountQueuedOrBetter) == 0)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2map — MapScript.galaxy:1860
}
if (!(((TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Nexus", c_techCountQueuedOrBetter) == 0) || (TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Gateway", c_techCountQueuedOrBetter) == 0) || (TechTreeUnitCount(gv_pLAYER04_PROTOSS, "Pylon", c_techCountQueuedOrBetter) == 0)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:536
}
if ((TechTreeUnitCount(lp_player, "Hatchery", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "Lair", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "Hive", c_techCountCompleteOnly) == 0)) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:536
}
if ((TechTreeUnitCount(lp_player, "Hatchery", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "Lair", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "Hive", c_techCountCompleteOnly) == 0)) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:536
}
if ((TechTreeUnitCount(lp_player, "Hatchery", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "Lair", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "Hive", c_techCountCompleteOnly) == 0)) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:540
}
if ((TechTreeUnitCount(lp_player, "RoachWarren", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "UltraliskCavern", c_techCountCompleteOnly) == 0) && (lp_player == gv_pLAYER_P05_ZERG_TL)) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:540
}
if ((TechTreeUnitCount(lp_player, "RoachWarren", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "UltraliskCavern", c_techCountCompleteOnly) == 0) && (lp_player == gv_pLAYER_P05_ZERG_TL)) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:544
}
if ((TechTreeUnitCount(lp_player, "Spire", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "GreaterSpire", c_techCountCompleteOnly) == 0) && ((lp_player == gv_pLAYER_P03_ZERG_BR) || (lp_player == gv_pLAYER_P04_ZERG_BL) || (lp_player == gv_pLAYER_P06_ZERG_TR))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:544
}
if ((TechTreeUnitCount(lp_player, "Spire", c_techCountCompleteOnly) == 0) && (TechTreeUnitCount(lp_player, "GreaterSpire", c_techCountCompleteOnly) == 0) && ((lp_player == gv_pLAYER_P03_ZERG_BR) || (lp_player == gv_pLAYER_P04_ZERG_BL) || (lp_player == gv_pLAYER_P06_ZERG_TR))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:1076
// Conditions
if (testConds) {
if (!((TechTreeUnitCount(gv_p4_PROTOSS_ENEMY, "Gateway", c_techCountQueuedOrBetter) == 0))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:1080
}
if (!((TechTreeUnitCount(gv_p4_PROTOSS_ENEMY, "Stargate", c_techCountQueuedOrBetter) == 0))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:1084
}
if (!((TechTreeUnitCount(gv_p6_PROTOSS_ENEMY, "Gateway", c_techCountQueuedOrBetter) == 0))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:1088
}
if (!((TechTreeUnitCount(gv_p6_PROTOSS_ENEMY, "Stargate", c_techCountQueuedOrBetter) == 0))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionzergling.sc2map/MapScript.galaxy:1247
TriggerQueueExit();
if ((gv_swarmlingFirstAttackSent == false)) {
while (!(((gv_swarmlingFirstAttackSent == true) || (TechTreeUnitCount(gv_pLAYER_01_USER, "HotSSwarmling", c_techCountQueuedOrBetter) > 0)))) {
Wait(1.0, c_timeAI);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:8944
}
lv_currentZerglings = TechTreeUnitCount(gv_pLAYER_01_USER, "Zergling", c_techCountCompleteOnly);
if ((lv_currentZerglings > gv_largestZerglingForce)) {
gv_largestZerglingForce = lv_currentZerglings;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:3077
}
while (!((gv_spawningPoolBuildingCompleted == true) && (TechTreeUnitCount(gv_pLAYER_01_USER, "Larva", c_techCountCompleteOnly) > 0))) {
Wait(1.0, c_timeGame);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:3948
}
if (!((TechTreeUnitCount(gv_pLAYER_01_USER, "Drone", c_techCountQueuedOrBetter) <= 10))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:1465
libNtve_gf_PauseUnit(lv_indexUnit, true);
}
gv_numberOfMineralClusters = (TechTreeUnitCount(0, "SJMineralFormation2", c_techCountQueuedOrBetter) + TechTreeUnitCount(0, "SJMineralFormation1", c_techCountQueuedOrBetter));
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:1465
libNtve_gf_PauseUnit(lv_indexUnit, true);
}
gv_numberOfMineralClusters = (TechTreeUnitCount(0, "SJMineralFormation2", c_techCountQueuedOrBetter) + TechTreeUnitCount(0, "SJMineralFormation1", c_techCountQueuedOrBetter));
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionzergling.sc2map — MapScript.galaxy:1247
TriggerQueueExit();
if ((gv_swarmlingFirstAttackSent == false)) {
while (!(((gv_swarmlingFirstAttackSent == true) || (TechTreeUnitCount(gv_pLAYER_01_USER, "HotSSwarmling", c_techCountQueuedOrBetter) > 0)))) {
Wait(1.0, c_timeAI);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:8944
}
lv_currentZerglings = TechTreeUnitCount(gv_pLAYER_01_USER, "Zergling", c_techCountCompleteOnly);
if ((lv_currentZerglings > gv_largestZerglingForce)) {
gv_largestZerglingForce = lv_currentZerglings;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:3077
}
while (!((gv_spawningPoolBuildingCompleted == true) && (TechTreeUnitCount(gv_pLAYER_01_USER, "Larva", c_techCountCompleteOnly) > 0))) {
Wait(1.0, c_timeGame);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:3948
}
if (!((TechTreeUnitCount(gv_pLAYER_01_USER, "Drone", c_techCountQueuedOrBetter) <= 10))) {
return false;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:1465
libNtve_gf_PauseUnit(lv_indexUnit, true);
}
gv_numberOfMineralClusters = (TechTreeUnitCount(0, "SJMineralFormation2", c_techCountQueuedOrBetter) + TechTreeUnitCount(0, "SJMineralFormation1", c_techCountQueuedOrBetter));
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:1465
libNtve_gf_PauseUnit(lv_indexUnit, true);
}
gv_numberOfMineralClusters = (TechTreeUnitCount(0, "SJMineralFormation2", c_techCountQueuedOrBetter) + TechTreeUnitCount(0, "SJMineralFormation1", c_techCountQueuedOrBetter));
return true;
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16492
}
if ((libSwaC_gv_zS_NeedOverlordEnabled == true) && (libNtve_gf_PlayerInCinematicMode(1) == false) && ((TechTreeUnitCount(1, "Hatchery", c_techCountQueuedOrBetter) > 0) || (TechTreeUnitCount(1, "Lair", c_techCountQueuedOrBetter) > 0) || (TechTreeUnitCount(1, "Hive", c_techCountQueuedOrBetter) > 0))) {
lv_made = PlayerGetPropertyFixed(1, c_playerPropSuppliesMade);
lv_used = PlayerGetPropertyFixed(1, c_playerPropSuppliesUsed);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16492
}
if ((libSwaC_gv_zS_NeedOverlordEnabled == true) && (libNtve_gf_PlayerInCinematicMode(1) == false) && ((TechTreeUnitCount(1, "Hatchery", c_techCountQueuedOrBetter) > 0) || (TechTreeUnitCount(1, "Lair", c_techCountQueuedOrBetter) > 0) || (TechTreeUnitCount(1, "Hive", c_techCountQueuedOrBetter) > 0))) {
lv_made = PlayerGetPropertyFixed(1, c_playerPropSuppliesMade);
lv_used = PlayerGetPropertyFixed(1, c_playerPropSuppliesUsed);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16492
}
if ((libSwaC_gv_zS_NeedOverlordEnabled == true) && (libNtve_gf_PlayerInCinematicMode(1) == false) && ((TechTreeUnitCount(1, "Hatchery", c_techCountQueuedOrBetter) > 0) || (TechTreeUnitCount(1, "Lair", c_techCountQueuedOrBetter) > 0) || (TechTreeUnitCount(1, "Hive", c_techCountQueuedOrBetter) > 0))) {
lv_made = PlayerGetPropertyFixed(1, c_playerPropSuppliesMade);
lv_used = PlayerGetPropertyFixed(1, c_playerPropSuppliesUsed);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16496
lv_used = PlayerGetPropertyFixed(1, c_playerPropSuppliesUsed);
lv_limit = PlayerGetPropertyFixed(1, c_playerPropSuppliesLimit);
if (((lv_made + (TechTreeUnitCount(1, "Overlord", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Overlord", "Food", 1)))) < lv_limit) && ((lv_made + (TechTreeUnitCount(1, "Overlord", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Overlord", "Food", 1)))) <= ((lv_used + libSwaC_gv_zS_NeedOverlordFoodRequired) - 0.1))) {
if ((libSwaC_gv_zS_NeedOverlordAbilityHighlightOn == false)) {
if ((libSwaC_gf_MissionStatusCheck("ZLab3", libSwaC_ge_MissionStatus_Completed) == true) && ((libSwaC_gf_CurrentMap() != "ZChar1") || (GameGetMissionTime() > 240.0)) && (lv_transmissionDelivered == false)) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16496
lv_used = PlayerGetPropertyFixed(1, c_playerPropSuppliesUsed);
lv_limit = PlayerGetPropertyFixed(1, c_playerPropSuppliesLimit);
if (((lv_made + (TechTreeUnitCount(1, "Overlord", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Overlord", "Food", 1)))) < lv_limit) && ((lv_made + (TechTreeUnitCount(1, "Overlord", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Overlord", "Food", 1)))) <= ((lv_used + libSwaC_gv_zS_NeedOverlordFoodRequired) - 0.1))) {
if ((libSwaC_gv_zS_NeedOverlordAbilityHighlightOn == false)) {
if ((libSwaC_gf_MissionStatusCheck("ZLab3", libSwaC_ge_MissionStatus_Completed) == true) && ((libSwaC_gf_CurrentMap() != "ZChar1") || (GameGetMissionTime() > 240.0)) && (lv_transmissionDelivered == false)) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16830
auto1589F6FF_val = libSwaC_gv_zS_FeaturedZergStructures[lv_index];
if (auto1589F6FF_val == "Lair") {
if (((TechTreeUnitCount(1, "Lair", c_techCountQueuedOrBetter) > 0) || (TechTreeUnitCount(1, "Hive", c_techCountQueuedOrBetter) > 0))) {
lv_existed = true;
}