ExplosionSpawned
Gets called when explosion has spawned.
Start a script section
!-- OnEvent ExplosionSpawned
-- require @evPlayer *evPosition *evSettings $evExplosionType $evDestroyDoors
# Add your instructions here
- Group: ServerEvents
- Cancellable: No
- Event data:
ExplosionSpawnedEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player which caused this explosion. |
*evPosition | reference to Vector3 object | Gets the position of explosion. |
*evSettings | reference to ExplosionGrenade object | Gets the projectile which will cause explosion. |
$evExplosionType | ExplosionType enum value | Gets the type of this explosion. |
$evDestroyDoors | bool value | Gets whether the explosion should destroy doors. |