# Create Loot At Point

Grammar — Drop loot from player dropPlayer at dropLocation, with killer player set to killerPlayer
FlagsNative | Action

# Arguments

  • int — Drop Player
  • point — Drop Location
  • string [ gamelink::Loot ] — Loot
  • int — Killer Player

Returns — void

native void UnitLootDropPoint(
	int dropPlayer,
	point dropLocation,
	string loot,
	int killerPlayer,
);

Category: Loot / Basic

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L3505
UnitLootDropPoint(lp_dropPlayer, lp_dropLocation, lv_generator, lp_killerPlayer)

# mods/warcoop/warcoopdata.sc2mod

WarCoopData.galaxy

// L3808
UnitLootDropPoint(lv_legendplayer, EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), UserDataGetGameLink("LootDropLevels", lv_lootlevelinstance, "LootDrop", 1), lv_legendplayer)