Workshop.codes
Create

Broadcast Sound Last updated April 11, 2026

Description

Plays a sound effect at a specified world position audible to a defined audience, with controllable volume and falloff radius. Unlike Play Effect, this action supports distance-based attenuation and an optional looping mode, making it suitable for ambient or persistent audio cues.

Snippet

Broadcast Sound(All Players, Vector(0, 0, 0), Sound(Payload Moving), 100, 20, False);

Properties

Returns: Void
Parameters: Visible To, Position, Sound, Volume, Falloff Radius, Loop

Visible To
Type: Player, Default: All Players
The players who will hear the sound.

Position
Type: Vector, Default: Vector(0, 0, 0)
The world position from which the sound originates.

Sound
Type: Sound, Default: None
The sound asset to play.

Volume
Type: Number, Default: 100
The volume of the sound, from 0 to 100.

Falloff Radius
Type: Number, Default: 15
The distance in meters at which the sound reaches zero volume.

Loop
Type: Boolean, Default: False
If True, the sound loops until stopped with Stop Sound.

Workshop.codes