Skip to main content

ReceivedLoadout

Gets called when the player has received a loadout.

Start a script section

!-- OnEvent ReceivedLoadout
-- require @evPlayer &evItems &evAmmo $evInventoryReset

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: No
  • Event data: PlayerReceivedLoadoutEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the gets player which received this loadout.
&evItemscollection of ItemType enum valueGets the items which player received.
&evAmmocollection of reference to KeyValuePair<ItemType, UInt16> objectGets ammo which player received.
$evInventoryResetbool valueGets whether the player's inventory did reset before getting loadout.