Skip to main content

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

VariableTypeDescription
@evPlayerplayer valueGets the player who threw the item.
*evPickupreference to Pickup objectGets the Pickup that was thrown.
*evRigidbodyreference to Rigidbody objectGets the rigidbody of the item.