PickedUpItem
Gets called when the player has picked up an item.
Start a script section
!-- OnEvent PickedUpItem
-- require @evPlayer *evItem
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerPickedUpItemEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who picked up the item. |
*evItem | reference to Item object | Gets the item that was picked up. |