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
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the gets player which received this loadout. |
&evItems | collection of ItemType enum value | Gets the items which player received. |
&evAmmo | collection of reference to KeyValuePair<ItemType, UInt16> object | Gets ammo which player received. |
$evInventoryReset | bool value | Gets whether the player's inventory did reset before getting loadout. |