Description
Releases a spherical shockwave from a world position that applies an outward impulse to all players within the blast radius. Impulse strength falls off linearly with distance from the origin. Can optionally deal damage scaled to the impulse applied to each player.
Snippet
Emit Shockwave(Position Of(Event Player), 8, 60, True, 40);
Properties
Returns: Void
Parameters: Position, Radius, Max Impulse, Deal Damage, Max Damage
Position
Type: Vector, Default: Vector(0, 0, 0)
The world position from which the shockwave originates.Radius
Type: Number, Default: 6
The maximum distance in meters at which players are affected.Max Impulse
Type: Number, Default: 50
The impulse force applied to a player at the epicenter. Falls off linearly to zero at the edge of the radius.Deal Damage
Type: Boolean, Default: False
If True, each affected player also receives damage proportional to the impulse they were dealt.Max Damage
Type: Number, Default: 50
The maximum damage dealt to a player at the epicenter. Only used when Deal Damage is True.