# Last Created Loot Units

Grammar — Last created loot units
FlagsNative | Function

Returns the last group of units/items created via the “Drop Loot At Unit” or “Drop Loot At Point” actions. This function ignores units created by other triggers.

Returns — unitgroup

native unitgroup UnitLootLastCreatedGroup();

Category: Loot / Basic

# Examples

# mods/warcoop/warcoopdata.sc2mod

WarCoopData.galaxy

// L3809
UnitLootLastCreatedGroup()