ProjectileExploding
Gets called when the server will explode projectile.
Start a script section
!-- OnEvent ProjectileExploding
-- require *evTimedGrenade @evPlayer *evPosition $evIsAllowed
# Add your instructions here
- Group: ServerEvents
- Cancellable: Yes
- Event data:
ProjectileExplodingEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
*evTimedGrenade | reference to TimedGrenadeProjectile object | Gets grenade which caused this explosion. |
@evPlayer | player value | Gets who threw this grenade. |
*evPosition | reference to Vector3 object | Gets or sets position of explosion. |
$evIsAllowed | bool value | Whether the event is allowed to run. |