selene.sounds
Provides functions for playing sounds.
| Function |
|---|
PlaySound(player: Player, sound: Sound, options: { volume: number; pitch: number }) |
Plays a sound to a specific player. |
PlaySoundAt(coordinate: Coordinate, sound: Sound, dimension: Dimension, options: { volume: number; pitch: number }) |
Plays a positional sound at a coordinate to all nearby players in the dimension. |
PlayGlobalSound(sound: Sound, dimension: Dimension, options: { volume: number; pitch: number }) |
Plays a sound to all players in a dimension. |