DroppedItem
Gets called when the player has dropped an item.
Start a script section
!-- OnEvent DroppedItem
-- require @evPlayer *evPickup $evThrow
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerDroppedItemEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who dropped the item. |
*evPickup | reference to Pickup object | Gets the item pickup. |
$evThrow | bool value | Gets or sets whether the Pickup will be thrown by the Player. |