ThrewItem
Gets called when the player has thrown an item.
Start a script section
!-- OnEvent ThrewItem
-- require @evPlayer *evPickup *evRigidbody
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerThrewItemEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who threw the item. |
*evPickup | reference to Pickup object | Gets the Pickup that was thrown. |
*evRigidbody | reference to Rigidbody object | Gets the rigidbody of the item. |