Skip to content

ExplosionParams

ExplosionParams contains the specific info about an explosion that is about to occur.

Type: "ExplosionParams"

Always set to “ExplosionParams”. Used to differentiate between classes.

Type: ExplosionInfo

The definition of the explosion.

Type: Participant?

The participant that caused the explosion.

Type: Vector3

The position of the explosion.

Runs all relevant before hit hooks. Returns a boolean, which is true if the hit should proceed.

NameTypeDefaultDescription
itemItemBeforeHitThe item.
roundRoundThe current round.
hitPartBasePartThe part that was hit.
paramsDamageParamsThe damage parameters.

boolean