# Last Created Cargo Unit
Grammar — Last created cargo unit
Flags —Native
|Function
Returns the last unit created via the “Create Cargo Units” action. This function ignores units created by other triggers.
Returns — unit
native unit UnitCargoLastCreated();
# Related
Category: Unit / Cargo
- Put Unit InTransport —
void
— UnitPutInTransport - Create Cargo Units —
void
— UnitCargoCreate - Last Created Cargo Unit —
unit
— UnitCargoLastCreated - Last Created Cargo Units —
unitgroup
— UnitCargoLastCreatedGroup - Unit Is Cargo —
bool
— libNtve_gf_UnitIsInsideTransport - Unit Is Inside Unit Transport —
bool
— libNtve_gf_UnitIsInsideUnitTransport - Unit Is Inside Player Transport —
bool
— libNtve_gf_UnitIsInsidePlayerTransport - Cargo Unit In Transport —
unit
— UnitCargo - Cargo Units In Transport —
unitgroup
— UnitCargoGroup - Transport Property Of Unit —
int
— UnitCargoValue - Transport Of Unit —
unit
— UnitTransport - Unit Loads/Unloads Cargo —
void
— TriggerAddEventUnitCargo - Triggering Cargo Unit —
unit
— EventUnitCargo
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:324
UnitCargoCreate(lv_randomHut, "CivilianFemale", 1);
}
AISetUnitForceMover(UnitCargoLastCreated(),true);
UnitBehaviorAdd(UnitCargoLastCreated(), "Hustle", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:325
}
AISetUnitForceMover(UnitCargoLastCreated(),true);
UnitBehaviorAdd(UnitCargoLastCreated(), "Hustle", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, true);
if ((UnitIsAlive(gv_tHEONETRUCK) == true)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:325
}
AISetUnitForceMover(UnitCargoLastCreated(),true);
UnitBehaviorAdd(UnitCargoLastCreated(), "Hustle", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, true);
if ((UnitIsAlive(gv_tHEONETRUCK) == true)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:326
AISetUnitForceMover(UnitCargoLastCreated(),true);
UnitBehaviorAdd(UnitCargoLastCreated(), "Hustle", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, true);
if ((UnitIsAlive(gv_tHEONETRUCK) == true)) {
UnitIssueOrder(lv_randomHut, OrderTargetingPoint(null, PointFromId(856)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:632
UnitCargoCreate(lv_overlord, "Drone", 1);
UnitSetCustomValue(UnitCargoLastCreated(), 1, IntToFixed(lp_colonyIndex));
lv_drone = UnitCargoLastCreated();
gf_DropCargoAndWait(lv_overlord, lv_drone, 2.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:633
UnitCargoCreate(lv_overlord, "Drone", 1);
UnitSetCustomValue(UnitCargoLastCreated(), 1, IntToFixed(lp_colonyIndex));
lv_drone = UnitCargoLastCreated();
gf_DropCargoAndWait(lv_overlord, lv_drone, 2.0);
if ((UnitIsAlive(lv_drone) == true)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:4946
libNtve_gf_MakeUnitUncommandable(UnitLastCreated(), true);
UnitCargoCreate(gv_introDropship, "Raynor01", 1);
gv_raynor = UnitCargoLastCreated();
UnitGroupAdd(gv_introUnitCargoStart, UnitCargoLastCreated());
UnitCargoCreate(gv_introDropship, "Marine", 5);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:4947
UnitCargoCreate(gv_introDropship, "Raynor01", 1);
gv_raynor = UnitCargoLastCreated();
UnitGroupAdd(gv_introUnitCargoStart, UnitCargoLastCreated());
UnitCargoCreate(gv_introDropship, "Marine", 5);
libNtve_gf_AddUnitGroupToUnitGroup(UnitCargoLastCreatedGroup(), gv_introUnitCargoStart);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1064
UnitSetState(gv_supplyDropship, c_unitStateUsingSupply, false);
UnitCargoCreate(gv_supplyDropship, "SCV", 1);
gv_supplySCV = UnitCargoLastCreated();
gf_CreateInfoText(UnitCargoLastCreated());
UnitIssueOrder(gv_supplyDropship, OrderTargetingPoint(AbilityCommand("SpecOpsDropshipTransport", 2), PointFromId(32)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1065
UnitCargoCreate(gv_supplyDropship, "SCV", 1);
gv_supplySCV = UnitCargoLastCreated();
gf_CreateInfoText(UnitCargoLastCreated());
UnitIssueOrder(gv_supplyDropship, OrderTargetingPoint(AbilityCommand("SpecOpsDropshipTransport", 2), PointFromId(32)), c_orderQueueReplace);
UnitIssueOrder(gv_supplyDropship, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(31))), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:480
UnitSetState(UnitFromId(685), c_unitStateTargetable, false);
UnitCargoCreate(UnitFromId(685), "Zeratul", 1);
gv_zeratul = UnitCargoLastCreated();
libNtve_gf_ShowHideUnit(UnitFromId(552), false);
libNtve_gf_ShowHideUnit(UnitFromId(455), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1557
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Bunker", 0, gv_pLAYER_USER, RegionGetCenter(RegionFromId(3)));
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1559
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1561
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1563
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SupplyDepot", 0, gv_pLAYER_USER, RegionGetCenter(RegionFromId(1)));
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SupplyDepot", 0, gv_pLAYER_USER, RegionGetCenter(RegionFromId(2)));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:324
UnitCargoCreate(lv_randomHut, "CivilianFemale", 1);
}
AISetUnitForceMover(UnitCargoLastCreated(),true);
UnitBehaviorAdd(UnitCargoLastCreated(), "Hustle", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:325
}
AISetUnitForceMover(UnitCargoLastCreated(),true);
UnitBehaviorAdd(UnitCargoLastCreated(), "Hustle", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, true);
if ((UnitIsAlive(gv_tHEONETRUCK) == true)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:325
}
AISetUnitForceMover(UnitCargoLastCreated(),true);
UnitBehaviorAdd(UnitCargoLastCreated(), "Hustle", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, true);
if ((UnitIsAlive(gv_tHEONETRUCK) == true)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:326
AISetUnitForceMover(UnitCargoLastCreated(),true);
UnitBehaviorAdd(UnitCargoLastCreated(), "Hustle", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, true);
if ((UnitIsAlive(gv_tHEONETRUCK) == true)) {
UnitIssueOrder(lv_randomHut, OrderTargetingPoint(null, PointFromId(856)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2map — MapScript.galaxy:632
UnitCargoCreate(lv_overlord, "Drone", 1);
UnitSetCustomValue(UnitCargoLastCreated(), 1, IntToFixed(lp_colonyIndex));
lv_drone = UnitCargoLastCreated();
gf_DropCargoAndWait(lv_overlord, lv_drone, 2.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2map — MapScript.galaxy:633
UnitCargoCreate(lv_overlord, "Drone", 1);
UnitSetCustomValue(UnitCargoLastCreated(), 1, IntToFixed(lp_colonyIndex));
lv_drone = UnitCargoLastCreated();
gf_DropCargoAndWait(lv_overlord, lv_drone, 2.0);
if ((UnitIsAlive(lv_drone) == true)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:4946
libNtve_gf_MakeUnitUncommandable(UnitLastCreated(), true);
UnitCargoCreate(gv_introDropship, "Raynor01", 1);
gv_raynor = UnitCargoLastCreated();
UnitGroupAdd(gv_introUnitCargoStart, UnitCargoLastCreated());
UnitCargoCreate(gv_introDropship, "Marine", 5);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:4947
UnitCargoCreate(gv_introDropship, "Raynor01", 1);
gv_raynor = UnitCargoLastCreated();
UnitGroupAdd(gv_introUnitCargoStart, UnitCargoLastCreated());
UnitCargoCreate(gv_introDropship, "Marine", 5);
libNtve_gf_AddUnitGroupToUnitGroup(UnitCargoLastCreatedGroup(), gv_introUnitCargoStart);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:1064
UnitSetState(gv_supplyDropship, c_unitStateUsingSupply, false);
UnitCargoCreate(gv_supplyDropship, "SCV", 1);
gv_supplySCV = UnitCargoLastCreated();
gf_CreateInfoText(UnitCargoLastCreated());
UnitIssueOrder(gv_supplyDropship, OrderTargetingPoint(AbilityCommand("SpecOpsDropshipTransport", 2), PointFromId(32)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:1065
UnitCargoCreate(gv_supplyDropship, "SCV", 1);
gv_supplySCV = UnitCargoLastCreated();
gf_CreateInfoText(UnitCargoLastCreated());
UnitIssueOrder(gv_supplyDropship, OrderTargetingPoint(AbilityCommand("SpecOpsDropshipTransport", 2), PointFromId(32)), c_orderQueueReplace);
UnitIssueOrder(gv_supplyDropship, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(31))), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:480
UnitSetState(UnitFromId(685), c_unitStateTargetable, false);
UnitCargoCreate(UnitFromId(685), "Zeratul", 1);
gv_zeratul = UnitCargoLastCreated();
libNtve_gf_ShowHideUnit(UnitFromId(552), false);
libNtve_gf_ShowHideUnit(UnitFromId(455), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2map — MapScript.galaxy:1557
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Bunker", 0, gv_pLAYER_USER, RegionGetCenter(RegionFromId(3)));
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2map — MapScript.galaxy:1559
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2map — MapScript.galaxy:1561
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2map — MapScript.galaxy:1563
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
UnitGroupAdd(gv_cINEPlayerUnits, UnitCargoLastCreated());
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SupplyDepot", 0, gv_pLAYER_USER, RegionGetCenter(RegionFromId(1)));
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SupplyDepot", 0, gv_pLAYER_USER, RegionGetCenter(RegionFromId(2)));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:5899
VisRevealArea(gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_nydus), 4.0), 90.0, false);
UnitCargoCreate(lv_nydus, "BroodMother", 1);
gv_naktul = UnitCargoLastCreated();
TriggerEnable(gt_NaktulDontDie, true);
UnitBehaviorAdd(UnitCargoLastCreated(), "ZaGaraDontDie", UnitCargoLastCreated(), 1);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:5901
gv_naktul = UnitCargoLastCreated();
TriggerEnable(gt_NaktulDontDie, true);
UnitBehaviorAdd(UnitCargoLastCreated(), "ZaGaraDontDie", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, false);
UnitGroupAddUnitGroup(lv_spawnedUnits, UnitCargoLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:5901
gv_naktul = UnitCargoLastCreated();
TriggerEnable(gt_NaktulDontDie, true);
UnitBehaviorAdd(UnitCargoLastCreated(), "ZaGaraDontDie", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, false);
UnitGroupAddUnitGroup(lv_spawnedUnits, UnitCargoLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:5902
TriggerEnable(gt_NaktulDontDie, true);
UnitBehaviorAdd(UnitCargoLastCreated(), "ZaGaraDontDie", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, false);
UnitGroupAddUnitGroup(lv_spawnedUnits, UnitCargoLastCreatedGroup());
UnitCargoCreate(lv_nydus, "Zergling", 15);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:5899
VisRevealArea(gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_nydus), 4.0), 90.0, false);
UnitCargoCreate(lv_nydus, "BroodMother", 1);
gv_naktul = UnitCargoLastCreated();
TriggerEnable(gt_NaktulDontDie, true);
UnitBehaviorAdd(UnitCargoLastCreated(), "ZaGaraDontDie", UnitCargoLastCreated(), 1);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:5901
gv_naktul = UnitCargoLastCreated();
TriggerEnable(gt_NaktulDontDie, true);
UnitBehaviorAdd(UnitCargoLastCreated(), "ZaGaraDontDie", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, false);
UnitGroupAddUnitGroup(lv_spawnedUnits, UnitCargoLastCreatedGroup());
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:5901
gv_naktul = UnitCargoLastCreated();
TriggerEnable(gt_NaktulDontDie, true);
UnitBehaviorAdd(UnitCargoLastCreated(), "ZaGaraDontDie", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, false);
UnitGroupAddUnitGroup(lv_spawnedUnits, UnitCargoLastCreatedGroup());
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:5902
TriggerEnable(gt_NaktulDontDie, true);
UnitBehaviorAdd(UnitCargoLastCreated(), "ZaGaraDontDie", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, false);
UnitGroupAddUnitGroup(lv_spawnedUnits, UnitCargoLastCreatedGroup());
UnitCargoCreate(lv_nydus, "Zergling", 15);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:5873
UnitIssueOrder(gv_terranCommandCenter, OrderTargetingPoint(AbilityCommand("RallyCommand", 0), lv_unloadArray[lv_i]), c_orderQueueReplace);
UnitCargoCreate(gv_terranCommandCenter, "SCV", 1);
UnitGroupAdd(gv_terranStartingWorkers, UnitCargoLastCreated());
UnitIssueOrder(gv_terranCommandCenter, Order(AbilityCommand("CommandCenterTransport", 1)), c_orderQueueReplace);
libNtve_gf_SendActorMessageToUnit(UnitCargoLastCreated(), "HaloStart");
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:5875
UnitGroupAdd(gv_terranStartingWorkers, UnitCargoLastCreated());
UnitIssueOrder(gv_terranCommandCenter, Order(AbilityCommand("CommandCenterTransport", 1)), c_orderQueueReplace);
libNtve_gf_SendActorMessageToUnit(UnitCargoLastCreated(), "HaloStart");
libNtve_gf_SendActorMessageToUnit(UnitCargoLastCreated(), "SetTintColor {255,255,255 2.000000}");
Wait(0.5, c_timeGame);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:5876
UnitIssueOrder(gv_terranCommandCenter, Order(AbilityCommand("CommandCenterTransport", 1)), c_orderQueueReplace);
libNtve_gf_SendActorMessageToUnit(UnitCargoLastCreated(), "HaloStart");
libNtve_gf_SendActorMessageToUnit(UnitCargoLastCreated(), "SetTintColor {255,255,255 2.000000}");
Wait(0.5, c_timeGame);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:5873
UnitIssueOrder(gv_terranCommandCenter, OrderTargetingPoint(AbilityCommand("RallyCommand", 0), lv_unloadArray[lv_i]), c_orderQueueReplace);
UnitCargoCreate(gv_terranCommandCenter, "SCV", 1);
UnitGroupAdd(gv_terranStartingWorkers, UnitCargoLastCreated());
UnitIssueOrder(gv_terranCommandCenter, Order(AbilityCommand("CommandCenterTransport", 1)), c_orderQueueReplace);
libNtve_gf_SendActorMessageToUnit(UnitCargoLastCreated(), "HaloStart");
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:5875
UnitGroupAdd(gv_terranStartingWorkers, UnitCargoLastCreated());
UnitIssueOrder(gv_terranCommandCenter, Order(AbilityCommand("CommandCenterTransport", 1)), c_orderQueueReplace);
libNtve_gf_SendActorMessageToUnit(UnitCargoLastCreated(), "HaloStart");
libNtve_gf_SendActorMessageToUnit(UnitCargoLastCreated(), "SetTintColor {255,255,255 2.000000}");
Wait(0.5, c_timeGame);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:5876
UnitIssueOrder(gv_terranCommandCenter, Order(AbilityCommand("CommandCenterTransport", 1)), c_orderQueueReplace);
libNtve_gf_SendActorMessageToUnit(UnitCargoLastCreated(), "HaloStart");
libNtve_gf_SendActorMessageToUnit(UnitCargoLastCreated(), "SetTintColor {255,255,255 2.000000}");
Wait(0.5, c_timeGame);
}
mods/heromods/dva.stormmod — base.stormdata/LibHDVA.galaxy:196
lv_dVaMechUnit = UnitLastCreated();
UnitCargoCreate(UnitLastCreated(), "HeroDVaPilot", 1);
lv_dVaPilotUnit = UnitCargoLastCreated();
libGame_gv_players[lp_player].lv_heroUnit = lv_dVaPilotUnit;
libAIAI_gv_aIHeroes[lp_player].lv_currentHeroUnit = lv_dVaMechUnit;
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:7565
libNtve_gf_UnitCreateFacingPoint(1, "Medivac", 0, gv_pLAYER_04_DEFENDERS, PointFromId(5118), PointFromId(5115));
UnitCargoCreate(UnitLastCreated(), "HellionTank", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:7566
UnitCargoCreate(UnitLastCreated(), "HellionTank", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:7568
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:7569
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:7571
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:7572
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:7574
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:7575
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:7577
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("MedivacTransport", 2), PointFromId(5115)), c_orderQueueReplace);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:7578
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("MedivacTransport", 2), PointFromId(5115)), c_orderQueueReplace);
libNtve_gf_UnitCreateFacingPoint(1, "Medivac", 0, gv_pLAYER_04_DEFENDERS, PointFromId(5119), PointFromId(5116));
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:2247
lv_overlord = UnitLastCreated();
UnitCargoCreate(lv_overlord, "NovaInfestedSiegeTankUprooted", 1);
lv_infestedSiegeTank = UnitCargoLastCreated();
while ((libNCMI_gf_GameIsOver() == false) && (libNCMI_gf_PlayerInCinematicModeCampaign() == false) && (UnitIsAlive(lv_overlord) == true) && (libNtve_gf_UnitIsInsideTransport(lv_infestedSiegeTank) == true)) {
UnitIssueOrder(lv_overlord, OrderTargetingPoint(AbilityCommand("OverlordTransport", 2), lp_dropPoint), c_orderQueueReplace);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:7565
libNtve_gf_UnitCreateFacingPoint(1, "Medivac", 0, gv_pLAYER_04_DEFENDERS, PointFromId(5118), PointFromId(5115));
UnitCargoCreate(UnitLastCreated(), "HellionTank", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:7566
UnitCargoCreate(UnitLastCreated(), "HellionTank", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:7568
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:7569
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:7571
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:7572
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:7574
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:7575
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:7577
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("MedivacTransport", 2), PointFromId(5115)), c_orderQueueReplace);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:7578
UnitCargoCreate(UnitLastCreated(), "Marine", 1);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Deal, libNtve_ge_UnitDamageChangeOption_Mega2);
libNtve_gf_ChangeUnitDamage(UnitCargoLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("MedivacTransport", 2), PointFromId(5115)), c_orderQueueReplace);
libNtve_gf_UnitCreateFacingPoint(1, "Medivac", 0, gv_pLAYER_04_DEFENDERS, PointFromId(5119), PointFromId(5116));
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2map — MapScript.galaxy:2247
lv_overlord = UnitLastCreated();
UnitCargoCreate(lv_overlord, "NovaInfestedSiegeTankUprooted", 1);
lv_infestedSiegeTank = UnitCargoLastCreated();
while ((libNCMI_gf_GameIsOver() == false) && (libNCMI_gf_PlayerInCinematicModeCampaign() == false) && (UnitIsAlive(lv_overlord) == true) && (libNtve_gf_UnitIsInsideTransport(lv_infestedSiegeTank) == true)) {
UnitIssueOrder(lv_overlord, OrderTargetingPoint(AbilityCommand("OverlordTransport", 2), lp_dropPoint), c_orderQueueReplace);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:2169
UnitCargoCreate(lv_transportCurrent[lv_playerIter], lv_unitTypeToCreate, 1);
lv_unitCreated = UnitCargoLastCreated();
}
else {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:24822
if ((lv_bunkersize > 0) && (UnitCargoValue(lv_bunker, c_unitCargoSpaceFree) > 0)) {
UnitCargoCreate(lv_bunker, "SIInfestedTrooper", 1);
lv_newUnit = UnitCargoLastCreated();
}
else {