ExplosionParams
ExplosionParams contains the specific info about an explosion that is about to occur.
Properties
Section titled “Properties”Type: "ExplosionParams"
Always set to “ExplosionParams”. Used to differentiate between classes.
Definition
Section titled “Definition”Type: ExplosionInfo
The definition of the explosion.
Attacker
Section titled “Attacker”Type: Participant?
The participant that caused the explosion.
Position
Section titled “Position”Type: Vector3
The position of the explosion.
Methods
Section titled “Methods”RunBeforeHit
Section titled “RunBeforeHit”Runs all relevant before hit hooks. Returns a boolean, which is true if the hit should proceed.
Parameters
Section titled “Parameters”| Name | Type | Default | Description |
|---|---|---|---|
item | ItemBeforeHit | The item. | |
round | Round | The current round. | |
hitPart | BasePart | The part that was hit. | |
params | DamageParams | The damage parameters. |
Returns
Section titled “Returns”boolean