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
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who threw the throwable item. |
*evThrowableItem | reference to ThrowableItem object | Gets the original item that was thrown. |
*evProjectile | reference to Projectile object | Gets the projectile object. |
*evProjectileSettings | reference to ProjectileSettings object | Gets the projectile settings at which throwable was thrown. |
$evFullForce | bool value | Gets the value whenever the throwable was thrown at full force (overhand). |