Combat
CombatAPIExplosionParams
Section titled “CombatAPIExplosionParams”export type CombatAPIExplosionParams = { Position: Vector3, Damage: number, FalloffBegin: number?, FalloffEnd: number, Attacker: Participant?, IgnoreKarma: boolean?, Pressure: number?, VisualRadius: number?, BeforeHitParticipant: BeforeHitParticipant?, Sound: Sound?,}Functions
Section titled “Functions”MakeExplosion
Section titled “MakeExplosion”Creates an explosion at the specified position with the specified damage, radius, and sound.
Parameters
Section titled “Parameters”| Name | Type | Default | Description |
|---|---|---|---|
params | CombatAPIExplosionParams | FalloffBegin = 0, Pressure = Damage * 50, IgnoreKarma = false, VisualRadius = FalloffEnd, Sound = default explosion sound | The parameters for the explosion. |
Returns
Section titled “Returns”()