sound_player

Sound Player component
Component that will play a sound upon recieving some signal
Vars | |
sounds | The list of sounds played, picked randomly. |
---|---|
uses | Uses left before the sound player deletes itself. If set to a negative number that will mean infinite uses. |
volume | Volume of the sound when played |
Procs | |
play_sound | Attempt to play the sound on parent |
Var Details
sounds

The list of sounds played, picked randomly.
uses

Uses left before the sound player deletes itself. If set to a negative number that will mean infinite uses.
volume

Volume of the sound when played
Proc Details
play_sound
Attempt to play the sound on parent
If out of uses, will qdel itself.