SoundBuilder

public class SoundBuilder

Constructors

Link copied to clipboard
public void SoundBuilder(Sound sound)
public void SoundBuilder(Sound sound, float pitch)
public void SoundBuilder(Sound sound, float pitch, float volume)

Functions

Link copied to clipboard
public void broadcast()
Broadcast a sound to all players
Link copied to clipboard
public SoundBuilder pitch(float pitch)
Link copied to clipboard
public void play(Location pos)
Play this sound effect at the specified location
public void play(Array<Player> players)
Play this sound effect for the specified player
Link copied to clipboard
public SoundBuilder sound(Sound sound)
Link copied to clipboard
public SoundBuilder volume(float volume)