# Last Created Cargo Units
Grammar — Last created cargo units
Flags —Native
|Function
Returns the last group of units created via the “Create Cargo Units” action. This function ignores units created by other triggers.
Returns — unitgroup
native unitgroup UnitCargoLastCreatedGroup();
# Related
Category: Unit / Cargo
- [F] —
void
— Put Unit InTransport — ( UnitPutInTransport ) - [F] —
void
— Create Cargo Units — ( UnitCargoCreate ) - [F] —
unit
— Last Created Cargo Unit — ( UnitCargoLastCreated ) - [F] —
unitgroup
— Last Created Cargo Units — ( UnitCargoLastCreatedGroup ) - [F] —
bool
— Unit Is Cargo — ( libNtve_gf_UnitIsInsideTransport ) - [F] —
bool
— Unit Is Inside Unit Transport — ( libNtve_gf_UnitIsInsideUnitTransport ) - [F] —
bool
— Unit Is Inside Player Transport — ( libNtve_gf_UnitIsInsidePlayerTransport ) - [F] —
unit
— Cargo Unit In Transport — ( UnitCargo ) - [F] —
unitgroup
— Cargo Units In Transport — ( UnitCargoGroup ) - [F] —
int
— Transport Property Of Unit — ( UnitCargoValue ) - [F] —
unit
— Transport Of Unit — ( UnitTransport ) - [F] —
void
— Unit Loads/Unloads Cargo — ( TriggerAddEventUnitCargo ) - [F] —
unit
— Triggering Cargo Unit — ( EventUnitCargo )
# Examples
# campaigns/liberty.sc2campaign
// L998
UnitCargoLastCreatedGroup()
// L1000
UnitCargoLastCreatedGroup()
// L1007
UnitCargoLastCreatedGroup()
// L566
UnitCargoLastCreatedGroup()
// L5565
UnitCargoLastCreatedGroup()
// L11292
UnitCargoLastCreatedGroup()
// L11294
UnitCargoLastCreatedGroup()
// L4949
UnitCargoLastCreatedGroup()
// L1258
UnitCargoLastCreatedGroup()
// L2045
UnitCargoLastCreatedGroup()
// L1055
UnitCargoLastCreatedGroup()
// L1066
UnitCargoLastCreatedGroup()
// L3691
UnitCargoLastCreatedGroup()
// L3707
UnitCargoLastCreatedGroup()
// L3709
UnitCargoLastCreatedGroup()
// L5123
UnitCargoLastCreatedGroup()
// L5124
UnitCargoLastCreatedGroup()
// L3524
UnitCargoLastCreatedGroup()
// L3532
UnitCargoLastCreatedGroup()
// L998
UnitCargoLastCreatedGroup()
// L1000
UnitCargoLastCreatedGroup()
// L1007
UnitCargoLastCreatedGroup()
// L566
UnitCargoLastCreatedGroup()
// L5565
UnitCargoLastCreatedGroup()
// L11292
UnitCargoLastCreatedGroup()
// L11294
UnitCargoLastCreatedGroup()
// L4949
UnitCargoLastCreatedGroup()
// L1258
UnitCargoLastCreatedGroup()
// L2045
UnitCargoLastCreatedGroup()
// L1055
UnitCargoLastCreatedGroup()
// L1066
UnitCargoLastCreatedGroup()
// L3691
UnitCargoLastCreatedGroup()
// L3707
UnitCargoLastCreatedGroup()
// L3709
UnitCargoLastCreatedGroup()
// L5123
UnitCargoLastCreatedGroup()
// L5124
UnitCargoLastCreatedGroup()
// L3524
UnitCargoLastCreatedGroup()
// L3532
UnitCargoLastCreatedGroup()
// L4509
UnitCargoLastCreatedGroup()
// L4511
UnitCargoLastCreatedGroup()
// L4589
UnitCargoLastCreatedGroup()
// L4591
UnitCargoLastCreatedGroup()
// L4593
UnitCargoLastCreatedGroup()
// L749
UnitCargoLastCreatedGroup()
// L750
UnitCargoLastCreatedGroup()
// L752
UnitCargoLastCreatedGroup()
// L753
UnitCargoLastCreatedGroup()
// L13035
UnitCargoLastCreatedGroup()
// L13042
UnitCargoLastCreatedGroup()
// L13044
UnitCargoLastCreatedGroup()
// L5688
UnitCargoLastCreatedGroup()
// L5696
UnitCargoLastCreatedGroup()
// L5698
UnitCargoLastCreatedGroup()
// L5705
UnitCargoLastCreatedGroup()
// L5801
UnitCargoLastCreatedGroup()
// L5808
UnitCargoLastCreatedGroup()
// L5810
UnitCargoLastCreatedGroup()
// L5818
UnitCargoLastCreatedGroup()
// L5820
UnitCargoLastCreatedGroup()
// L5828
UnitCargoLastCreatedGroup()
// L406
UnitCargoLastCreatedGroup()
// L862
UnitCargoLastCreatedGroup()
// L863
UnitCargoLastCreatedGroup()
// L883
UnitCargoLastCreatedGroup()
// L884
UnitCargoLastCreatedGroup()
// L904
UnitCargoLastCreatedGroup()
// L905
UnitCargoLastCreatedGroup()
// L2294
UnitCargoLastCreatedGroup()
// L2708
UnitCargoLastCreatedGroup()
// L2714
UnitCargoLastCreatedGroup()
// L4030
UnitCargoLastCreatedGroup()
// L4038
UnitCargoLastCreatedGroup()
// L581
UnitCargoLastCreatedGroup()
// L583
UnitCargoLastCreatedGroup()
// L406
UnitCargoLastCreatedGroup()
// L862
UnitCargoLastCreatedGroup()
// L863
UnitCargoLastCreatedGroup()
// L883
UnitCargoLastCreatedGroup()
// L884
UnitCargoLastCreatedGroup()
// L904
UnitCargoLastCreatedGroup()
// L905
UnitCargoLastCreatedGroup()
// L2294
UnitCargoLastCreatedGroup()
// L2708
UnitCargoLastCreatedGroup()
// L2714
UnitCargoLastCreatedGroup()
// L4030
UnitCargoLastCreatedGroup()
// L4038
UnitCargoLastCreatedGroup()
// L581
UnitCargoLastCreatedGroup()
// L583
UnitCargoLastCreatedGroup()
// L749
UnitCargoLastCreatedGroup()
// L750
UnitCargoLastCreatedGroup()
// L752
UnitCargoLastCreatedGroup()
// L753
UnitCargoLastCreatedGroup()
// L13035
UnitCargoLastCreatedGroup()
// L13042
UnitCargoLastCreatedGroup()
// L13044
UnitCargoLastCreatedGroup()
// L5688
UnitCargoLastCreatedGroup()
// L5696
UnitCargoLastCreatedGroup()
// L5698
UnitCargoLastCreatedGroup()
// L5705
UnitCargoLastCreatedGroup()
// L5801
UnitCargoLastCreatedGroup()