Skip to content

ExplosionInfo

ExplosionInfo is a table that contains basic properties about an explosion.

Type: number

The base amount of damage to deal.

Type: number

The distance at which the damage falloff begins.

Type: number

The distance at which the damage falloff ends (and damage is now 0).

Type: number

The pressure of the explosion. This sets Explosion.Pressure.

Type: number

The visual radius of the explosion. This sets Explosion.BlastRadius.

Type: boolean?

If true, self-defense will not be applied to players caught in the explosion.

Type: boolean?

If true, the player who triggered the explosion will not have their karma affected, and damage will not be affected by karma.

Type: boolean?

If true, the player who triggered the explosion will not have their score affected. Currently non-functional.

NameTypeDefaultDescription
itemItemBeforeHitThe item.
roundRoundThe current round.
hitPartBasePartThe part that was hit.
paramsDamageParamsThe damage parameters.
NameTypeDefaultDescription
itemItemBeforeHitThe item.
roundRoundThe current round.
propPropThe prop that is being damaged.
paramsDamageParamsThe damage parameters.
NameTypeDefaultDescription
itemItemBeforeHitThe item.
roundRoundThe current round.
hitParticipantParticipantThe participant that was hit.
paramsDamageParamsThe damage parameters.