# Add Ammo To Magazine
Grammar — Add count rounds of ammo to abilcmd|Ability Command magazine for u
Flags —Native
|Action
Adds rounds of ammo to a magazine. (Example: Adds x Interceptors to a Carrier’s bay.)
# Arguments
unit
— Unitabilcmd
— Abilityint
— Count
Returns — void
native void UnitMagazineArm(
unit inUnit,
abilcmd inAbilCmd,
int inCount,
);
# Related
Category: Unit / Weapons
- Remove Weapon From Unit —
void
— UnitWeaponRemove - Add Weapon To Unit —
void
— UnitWeaponAdd - Number Of Weapons On Unit —
int
— UnitWeaponCount - Unit Weapon —
string
<gamelink::Weapon> — UnitWeaponGet - Weapon Is Enabled —
bool
— UnitWeaponIsEnabled - Weapon Target Check —
bool
— UnitWeaponCheck - Weapon Cooldown —
fixed
— UnitWeaponPeriod - Weapon Range —
fixed
— UnitWeaponRange - Weapon Cooldown Remaining —
fixed
— UnitWeaponPeriodRemaining - Add Ammo To Magazine —
void
— UnitMagazineArm - Last Created Magazine Ammo Unit —
unit
— UnitMagazineLastCreated - Last Created Magazine Ammo Units —
unitgroup
— UnitMagazineLastCreatedGroup - Magazine Count Of Unit —
int
— UnitMagazineCount - Magazine Owner Of Unit —
unit
— UnitGetMagazine - Unit Can Attack Unit Old —
bool
— libNtve_gf_UnitCanAttackUnit - Unit Can Attack Unit Type —
bool
— UnitCanAttackTarget - Unit In Range And Able To Attack Target —
bool
— UnitInRangeAndAbleToAttackTarget - Weapon Damage —
fixed
— UnitWeaponDamage - Weapon Speed Multiplier —
fixed
— UnitWeaponSpeedMultiplier - Set Weapon Cooldown Remaining —
void
— UnitWeaponSetPeriodRemaining
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:872
autoE1EF7D94_var = UnitGroupUnitFromEnd(autoE1EF7D94_g, autoE1EF7D94_u);
if (autoE1EF7D94_var == null) { break; }
UnitMagazineArm(autoE1EF7D94_var, AbilityCommand("CarrierHangar", 0), libNtve_gf_DifficultyValueInt(0, 0, 2, 4));
}
gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "Charge");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2851
AISetUnitScriptControlled(EventUnitProgressUnit(), true);
UnitSetOwner(EventUnitProgressUnit(), gv_pLAYER06_TERRORFLEET, true);
UnitMagazineArm(EventUnitProgressUnit(), AbilityCommand("CarrierHangar", 0), libNtve_gf_DifficultyValueInt(0, 0, 2, 4));
UnitIssueOrder(EventUnitProgressUnit(), OrderSetAutoCast(AbilityCommand("CarrierHangar", 0), true), c_orderQueueReplace);
UnitSetCustomValue(EventUnitProgressUnit(), 1, 1.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6782
libNtve_gf_CreateUnitsAtPoint2(1, "Selendis", 0, gv_pLAYER02_PROTOSS, PointFromId(853));
lv_selendis = UnitLastCreated();
UnitMagazineArm(lv_selendis, AbilityCommand("SelendisHangar", 0), 8);
UnitSetTeamColorIndex(lv_selendis, 6);
UnitSetPropertyFixed(lv_selendis, c_unitPropLifeMax, 8000.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:357
// Implementation
if ((UnitIsAlive(UnitFromId(1226)) == true)) {
UnitMagazineArm(gv_ghostNukeSilo, AbilityCommand("ArmSiloWithNuke", 0), 1);
UnitIssueOrder(lp_nuker, Order(AbilityCommand("GhostCloak", 0)), c_orderQueueReplace);
Wait(5.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:1977
UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("HeroNuclearStrike", 0), true);
gv_flashNuke = true;
UnitMagazineArm(gv_shadowOps, AbilityCommand("HeroArmNuke", 0), libNtve_gf_DifficultyValueInt(5, 5, 4, 4));
SoundPlay(SoundLink("Alert_TerranNukeReady", -1), PlayerGroupAll(), 100.0, 0.0);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:388
libNtve_gf_PauseUnit(lp_silo, false);
if ((UnitGetType(lp_silo) == "NukeSiloNova")) {
UnitMagazineArm(lp_silo, AbilityCommand("HeroArmNuke", 0), 1);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:391
}
else {
UnitMagazineArm(lp_silo, AbilityCommand("SpectreNukeSiloArmMagazine", 1), 1);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:407
gv_superWarpGateP03 = UnitFromId(256);
gv_superWarpGateP04 = UnitFromId(257);
UnitMagazineArm(UnitFromId(539), AbilityCommand("CarrierHangar", 0), 4);
libNtve_gf_PauseUnit(UnitFromId(24), true);
autoF7B43037_g = UnitGroup("ProtossRelic", c_playerAny, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:616
gv_preserverPrison03 = UnitFromId(119);
gv_superWarpGate_Neutral = UnitFromId(896);
UnitMagazineArm(UnitFromId(647), AbilityCommand("CarrierHangar", 0), 4);
UnitGroupAdd(gv_prisonGroup, gv_preserverPrison01);
UnitGroupAdd(gv_prisonGroup, gv_preserverPrison02);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1249
if ((UnitGetType(EventUnitProgressUnit()) == "Carrier")) {
UnitMagazineArm(EventUnitProgressUnit(), AbilityCommand("CarrierHangar", 0), 4);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1276
gv_heroCarrier = EventUnitProgressUnit();
UnitFlashSelection(EventUnitProgressUnit(), 1.0);
UnitMagazineArm(EventUnitProgressUnit(), AbilityCommand("SelendisHangar", 0), 4);
MinimapPing(PlayerGroupAll(), UnitGetPosition(EventUnitProgressUnit()), 6.0, Color(0.00, 100.00, 0.00));
UnitSetOwner(EventUnitProgressUnit(), gv_p01_PLAYER, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:373
UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
if ((UnitGetType(UnitLastCreated()) == "Carrier")) {
UnitMagazineArm(UnitLastCreated(), AbilityCommand("CarrierHangar", 0), 4);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:715
UnitGroupLoopBegin(UnitGroup("GhostAcademy", gv_pLAYER_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
UnitMagazineArm(UnitGroupLoopCurrent(), AbilityCommand("ArmSiloWithNuke", 0), 1);
}
UnitGroupLoopEnd();
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:279
UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
if ((UnitGetType(UnitLastCreated()) == "Carrier")) {
UnitMagazineArm(UnitLastCreated(), AbilityCommand("CarrierHangar", 0), 4);
}
else {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:872
autoE1EF7D94_var = UnitGroupUnitFromEnd(autoE1EF7D94_g, autoE1EF7D94_u);
if (autoE1EF7D94_var == null) { break; }
UnitMagazineArm(autoE1EF7D94_var, AbilityCommand("CarrierHangar", 0), libNtve_gf_DifficultyValueInt(0, 0, 2, 4));
}
gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "Charge");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:2851
AISetUnitScriptControlled(EventUnitProgressUnit(), true);
UnitSetOwner(EventUnitProgressUnit(), gv_pLAYER06_TERRORFLEET, true);
UnitMagazineArm(EventUnitProgressUnit(), AbilityCommand("CarrierHangar", 0), libNtve_gf_DifficultyValueInt(0, 0, 2, 4));
UnitIssueOrder(EventUnitProgressUnit(), OrderSetAutoCast(AbilityCommand("CarrierHangar", 0), true), c_orderQueueReplace);
UnitSetCustomValue(EventUnitProgressUnit(), 1, 1.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:6782
libNtve_gf_CreateUnitsAtPoint2(1, "Selendis", 0, gv_pLAYER02_PROTOSS, PointFromId(853));
lv_selendis = UnitLastCreated();
UnitMagazineArm(lv_selendis, AbilityCommand("SelendisHangar", 0), 8);
UnitSetTeamColorIndex(lv_selendis, 6);
UnitSetPropertyFixed(lv_selendis, c_unitPropLifeMax, 8000.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2map — MapScript.galaxy:357
// Implementation
if ((UnitIsAlive(UnitFromId(1226)) == true)) {
UnitMagazineArm(gv_ghostNukeSilo, AbilityCommand("ArmSiloWithNuke", 0), 1);
UnitIssueOrder(lp_nuker, Order(AbilityCommand("GhostCloak", 0)), c_orderQueueReplace);
Wait(5.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:1977
UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("HeroNuclearStrike", 0), true);
gv_flashNuke = true;
UnitMagazineArm(gv_shadowOps, AbilityCommand("HeroArmNuke", 0), libNtve_gf_DifficultyValueInt(5, 5, 4, 4));
SoundPlay(SoundLink("Alert_TerranNukeReady", -1), PlayerGroupAll(), 100.0, 0.0);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:388
libNtve_gf_PauseUnit(lp_silo, false);
if ((UnitGetType(lp_silo) == "NukeSiloNova")) {
UnitMagazineArm(lp_silo, AbilityCommand("HeroArmNuke", 0), 1);
}
else {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:391
}
else {
UnitMagazineArm(lp_silo, AbilityCommand("SpectreNukeSiloArmMagazine", 1), 1);
}
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2map — MapScript.galaxy:407
gv_superWarpGateP03 = UnitFromId(256);
gv_superWarpGateP04 = UnitFromId(257);
UnitMagazineArm(UnitFromId(539), AbilityCommand("CarrierHangar", 0), 4);
libNtve_gf_PauseUnit(UnitFromId(24), true);
autoF7B43037_g = UnitGroup("ProtossRelic", c_playerAny, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:616
gv_preserverPrison03 = UnitFromId(119);
gv_superWarpGate_Neutral = UnitFromId(896);
UnitMagazineArm(UnitFromId(647), AbilityCommand("CarrierHangar", 0), 4);
UnitGroupAdd(gv_prisonGroup, gv_preserverPrison01);
UnitGroupAdd(gv_prisonGroup, gv_preserverPrison02);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:1249
if ((UnitGetType(EventUnitProgressUnit()) == "Carrier")) {
UnitMagazineArm(EventUnitProgressUnit(), AbilityCommand("CarrierHangar", 0), 4);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:1276
gv_heroCarrier = EventUnitProgressUnit();
UnitFlashSelection(EventUnitProgressUnit(), 1.0);
UnitMagazineArm(EventUnitProgressUnit(), AbilityCommand("SelendisHangar", 0), 4);
MinimapPing(PlayerGroupAll(), UnitGetPosition(EventUnitProgressUnit()), 6.0, Color(0.00, 100.00, 0.00));
UnitSetOwner(EventUnitProgressUnit(), gv_p01_PLAYER, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosscombat.sc2map — MapScript.galaxy:373
UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
if ((UnitGetType(UnitLastCreated()) == "Carrier")) {
UnitMagazineArm(UnitLastCreated(), AbilityCommand("CarrierHangar", 0), 4);
}
else {
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2map — MapScript.galaxy:715
UnitGroupLoopBegin(UnitGroup("GhostAcademy", gv_pLAYER_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
UnitMagazineArm(UnitGroupLoopCurrent(), AbilityCommand("ArmSiloWithNuke", 0), 1);
}
UnitGroupLoopEnd();
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zergcombat.sc2map — MapScript.galaxy:279
UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
if ((UnitGetType(UnitLastCreated()) == "Carrier")) {
UnitMagazineArm(UnitLastCreated(), AbilityCommand("CarrierHangar", 0), 4);
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:1176
auto5AB55BFE_var = UnitGroupUnitFromEnd(auto5AB55BFE_g, auto5AB55BFE_u);
if (auto5AB55BFE_var == null) { break; }
UnitMagazineArm(auto5AB55BFE_var, AbilityCommand("ArmSiloWithNuke", 0), 1);
}
autoA0FA9D93_g = UnitGroupAlliance(gv_pLAYER_01_USER, c_unitAllianceEnemy, RegionPlayableMap(), UnitFilter(0, (1 << (c_targetFilterHasEnergy - 32)), (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:831
lv_escortHeight = UnitGetHeight(UnitLastCreated());
if ((lp_escortType == "Carrier")) {
UnitMagazineArm(UnitLastCreated(), AbilityCommand("CarrierHangar", 0), libHots_gf_DifficultyValueInt2(3, 3, 6));
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:1010
autoB089A23E_var = UnitGroupUnitFromEnd(autoB089A23E_g, autoB089A23E_u);
if (autoB089A23E_var == null) { break; }
UnitMagazineArm(autoB089A23E_var, AbilityCommand("ArmSiloWithNuke", 0), 1);
}
autoA37977C8_g = UnitGroupAlliance(gv_pLAYER_01_USER, c_unitAllianceEnemy, RegionEntireMap(), UnitFilter(0, (1 << (c_targetFilterHasEnergy - 32)), (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1499
}
if ((libHots_gf_DifficultyValueInt2(0, 0, 1) == 1)) {
UnitMagazineArm(UnitFromId(819), AbilityCommand("ArmSiloWithNuke", 0), 1);
auto043B0ACE_g = gv_enemyPlayers;
auto043B0ACE_var = -1;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:1296
UnitSetPropertyFixed(UnitFromId(5), c_unitPropLifeMax, 400.0);
UnitSetPropertyFixed(UnitFromId(5), c_unitPropLifePercent, 100.0);
UnitMagazineArm(UnitFromId(927), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
UnitMagazineArm(UnitFromId(418), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
gv_reinforcementsZergling = libHots_gf_DifficultyValueInt2(10, 10, 8);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:1297
UnitSetPropertyFixed(UnitFromId(5), c_unitPropLifePercent, 100.0);
UnitMagazineArm(UnitFromId(927), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
UnitMagazineArm(UnitFromId(418), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
gv_reinforcementsZergling = libHots_gf_DifficultyValueInt2(10, 10, 8);
gv_reinforcementsRoach = libHots_gf_DifficultyValueInt2(6, 6, 5);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map/MapScript.galaxy:880
UnitCargoCreate(autoF1E171DC_var, "MengskMarine", 4);
}
UnitMagazineArm(UnitFromId(941), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
UnitMagazineArm(UnitFromId(824), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
gv_hyperionVictims = UnitGroup(null, gv_PLAYER_03_DOMINION_BLUE, RegionFromId(24), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map/MapScript.galaxy:881
}
UnitMagazineArm(UnitFromId(941), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
UnitMagazineArm(UnitFromId(824), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
gv_hyperionVictims = UnitGroup(null, gv_PLAYER_03_DOMINION_BLUE, RegionFromId(24), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
libNtve_gf_ShowHideUnit(gv_hYPERION, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:1046
UnitSetTeamColorIndex(gv_kerrigan, 6);
libSwaC_gf_SetHeroPanelUnit(1, gv_kerrigan);
UnitMagazineArm(gv_kerrigan, AbilityCommand("RaynorLabMagazine", 0), 1);
autoC4ECCD0A_g = UnitGroup("RaynorLab", gv_pLAYER_01_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoC4ECCD0A_u = UnitGroupCount(autoC4ECCD0A_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:1176
auto5AB55BFE_var = UnitGroupUnitFromEnd(auto5AB55BFE_g, auto5AB55BFE_u);
if (auto5AB55BFE_var == null) { break; }
UnitMagazineArm(auto5AB55BFE_var, AbilityCommand("ArmSiloWithNuke", 0), 1);
}
autoA0FA9D93_g = UnitGroupAlliance(gv_pLAYER_01_USER, c_unitAllianceEnemy, RegionPlayableMap(), UnitFilter(0, (1 << (c_targetFilterHasEnergy - 32)), (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map — MapScript.galaxy:831
lv_escortHeight = UnitGetHeight(UnitLastCreated());
if ((lp_escortType == "Carrier")) {
UnitMagazineArm(UnitLastCreated(), AbilityCommand("CarrierHangar", 0), libHots_gf_DifficultyValueInt2(3, 3, 6));
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map — MapScript.galaxy:1010
autoB089A23E_var = UnitGroupUnitFromEnd(autoB089A23E_g, autoB089A23E_u);
if (autoB089A23E_var == null) { break; }
UnitMagazineArm(autoB089A23E_var, AbilityCommand("ArmSiloWithNuke", 0), 1);
}
autoA37977C8_g = UnitGroupAlliance(gv_pLAYER_01_USER, c_unitAllianceEnemy, RegionEntireMap(), UnitFilter(0, (1 << (c_targetFilterHasEnergy - 32)), (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map — MapScript.galaxy:1499
}
if ((libHots_gf_DifficultyValueInt2(0, 0, 1) == 1)) {
UnitMagazineArm(UnitFromId(819), AbilityCommand("ArmSiloWithNuke", 0), 1);
auto043B0ACE_g = gv_enemyPlayers;
auto043B0ACE_var = -1;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:1296
UnitSetPropertyFixed(UnitFromId(5), c_unitPropLifeMax, 400.0);
UnitSetPropertyFixed(UnitFromId(5), c_unitPropLifePercent, 100.0);
UnitMagazineArm(UnitFromId(927), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
UnitMagazineArm(UnitFromId(418), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
gv_reinforcementsZergling = libHots_gf_DifficultyValueInt2(10, 10, 8);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:1297
UnitSetPropertyFixed(UnitFromId(5), c_unitPropLifePercent, 100.0);
UnitMagazineArm(UnitFromId(927), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
UnitMagazineArm(UnitFromId(418), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
gv_reinforcementsZergling = libHots_gf_DifficultyValueInt2(10, 10, 8);
gv_reinforcementsRoach = libHots_gf_DifficultyValueInt2(6, 6, 5);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map — MapScript.galaxy:880
UnitCargoCreate(autoF1E171DC_var, "MengskMarine", 4);
}
UnitMagazineArm(UnitFromId(941), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
UnitMagazineArm(UnitFromId(824), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
gv_hyperionVictims = UnitGroup(null, gv_PLAYER_03_DOMINION_BLUE, RegionFromId(24), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map — MapScript.galaxy:881
}
UnitMagazineArm(UnitFromId(941), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
UnitMagazineArm(UnitFromId(824), AbilityCommand("ArmSiloWithNuke", 0), libHots_gf_DifficultyValueInt2(1, 1, 2));
gv_hyperionVictims = UnitGroup(null, gv_PLAYER_03_DOMINION_BLUE, RegionFromId(24), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
libNtve_gf_ShowHideUnit(gv_hYPERION, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:1046
UnitSetTeamColorIndex(gv_kerrigan, 6);
libSwaC_gf_SetHeroPanelUnit(1, gv_kerrigan);
UnitMagazineArm(gv_kerrigan, AbilityCommand("RaynorLabMagazine", 0), 1);
autoC4ECCD0A_g = UnitGroup("RaynorLab", gv_pLAYER_01_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoC4ECCD0A_u = UnitGroupCount(autoC4ECCD0A_g, c_unitCountAll);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:7315
if ((UnitGetType(auto5359FB81_var) == "Reaver")) {
UnitMagazineArm(auto5359FB81_var, AbilityCommand("ReaverHangar", 0), 5);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pmoebius01.sc2map/MapScript.galaxy:863
auto8AEDB5D8_var = UnitGroupUnitFromEnd(auto8AEDB5D8_g, auto8AEDB5D8_u);
if (auto8AEDB5D8_var == null) { break; }
UnitMagazineArm(auto8AEDB5D8_var, AbilityCommand("CarrierHangar", 0), 4);
}
auto8C916162_g = UnitGroup("Bunker", gv_pLAYER_02_DOMINION, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:1152
autoF86BB660_var = UnitGroupUnitFromEnd(autoF86BB660_g, autoF86BB660_u);
if (autoF86BB660_var == null) { break; }
UnitMagazineArm(autoF86BB660_var, AbilityCommand("CarrierHangar", 0), 8);
}
auto5D8FC6BE_g = UnitGroup(null, c_playerAny, RegionPlayableMap(), UnitFilter(0, (1 << (c_targetFilterHasEnergy - 32)), (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:7315
if ((UnitGetType(auto5359FB81_var) == "Reaver")) {
UnitMagazineArm(auto5359FB81_var, AbilityCommand("ReaverHangar", 0), 5);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pmoebius01.sc2map — MapScript.galaxy:863
auto8AEDB5D8_var = UnitGroupUnitFromEnd(auto8AEDB5D8_g, auto8AEDB5D8_u);
if (auto8AEDB5D8_var == null) { break; }
UnitMagazineArm(auto8AEDB5D8_var, AbilityCommand("CarrierHangar", 0), 4);
}
auto8C916162_g = UnitGroup("Bunker", gv_pLAYER_02_DOMINION, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:1152
autoF86BB660_var = UnitGroupUnitFromEnd(autoF86BB660_g, autoF86BB660_u);
if (autoF86BB660_var == null) { break; }
UnitMagazineArm(autoF86BB660_var, AbilityCommand("CarrierHangar", 0), 8);
}
auto5D8FC6BE_g = UnitGroup(null, c_playerAny, RegionPlayableMap(), UnitFilter(0, (1 << (c_targetFilterHasEnergy - 32)), (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:2221
Wait(3.0, c_timeReal);
libComC_gf_SetAllSoundChannelVolumesCampaign(libComC_ge_VolumeChannelModeCampaign_Speech);
UnitMagazineArm(UnitFromId(2822), AbilityCommand("HeroArmNuke", 0), 1);
libNCMI_gf_SendTransmissionCampaign(null, "Mission_Nova04|Line00037", c_transmissionDurationAdd, 0.0, true, libNCMI_ge_MissionTransmissionPortraitOptioins_HidePortraitAfter, libNCMI_ge_MissionTransmissionCueSoundOptions_DefaultCueSoundBehavior);
libNCMI_gf_SendTransmissionCampaign(null, "Mission_Nova04|Line00038", c_transmissionDurationAdd, 0.0, true, libNCMI_ge_MissionTransmissionPortraitOptioins_HidePortraitAfter, libNCMI_ge_MissionTransmissionCueSoundOptions_DefaultCueSoundBehavior);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova06.sc2map/MapScript.galaxy:5743
UnitSetState(gv_cinematicNova, c_unitStateInvulnerable, true);
libNtve_gf_PauseUnit(UnitFromId(3036), false);
UnitMagazineArm(UnitFromId(3036), AbilityCommand("HeroArmNuke", 0), 1);
TriggerExecute(gt_IntroZerg, true, false);
return true;
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:2221
Wait(3.0, c_timeReal);
libComC_gf_SetAllSoundChannelVolumesCampaign(libComC_ge_VolumeChannelModeCampaign_Speech);
UnitMagazineArm(UnitFromId(2822), AbilityCommand("HeroArmNuke", 0), 1);
libNCMI_gf_SendTransmissionCampaign(null, "Mission_Nova04|Line00037", c_transmissionDurationAdd, 0.0, true, libNCMI_ge_MissionTransmissionPortraitOptioins_HidePortraitAfter, libNCMI_ge_MissionTransmissionCueSoundOptions_DefaultCueSoundBehavior);
libNCMI_gf_SendTransmissionCampaign(null, "Mission_Nova04|Line00038", c_transmissionDurationAdd, 0.0, true, libNCMI_ge_MissionTransmissionPortraitOptioins_HidePortraitAfter, libNCMI_ge_MissionTransmissionCueSoundOptions_DefaultCueSoundBehavior);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova06.sc2map — MapScript.galaxy:5743
UnitSetState(gv_cinematicNova, c_unitStateInvulnerable, true);
libNtve_gf_PauseUnit(UnitFromId(3036), false);
UnitMagazineArm(UnitFromId(3036), AbilityCommand("HeroArmNuke", 0), 1);
TriggerExecute(gt_IntroZerg, true, false);
return true;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:19871
if ((libNtve_gf_TriggeringProgressUnitType() == "HHMercStarportCargo")) {
UnitMagazineArm(lv_unit, AbilityCommand("HHMercStarportHangar", 0), 6);
UnitBehaviorAdd(lv_unit, "HHMercStarportCargoInstalled", lv_unit, 1);
UnitBehaviorAdd(lv_unit, "HHArmyOOCRegenSpeed", lv_unit, 1);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:23876
}
UnitMagazineArm(lv_broodlord, AbilityCommand("BroodLordHangarStetmann", 0), 1);
return true;
}