Skip to main content

ThrewProjectile

Gets called when the player has thrown a projectile.

Start a script section

!-- OnEvent ThrewProjectile
-- require @evPlayer *evThrowableItem *evProjectile *evProjectileSettings $evFullForce

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: No
  • Event data: PlayerThrewProjectileEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who threw the throwable item.
*evThrowableItemreference to ThrowableItem objectGets the original item that was thrown.
*evProjectilereference to Projectile objectGets the projectile object.
*evProjectileSettingsreference to ProjectileSettings objectGets the projectile settings at which throwable was thrown.
$evFullForcebool valueGets the value whenever the throwable was thrown at full force (overhand).