/tg/ Station 13 - Modules - TypesVar Details - Proc Details

sound_player

Sound Player component

Component that will play a sound upon receiving some signal

Vars

soundsThe list of sounds played, picked randomly.
usesUses left before the sound player deletes itself. If set to a negative number that will mean infinite uses.
volumeVolume of the sound when played

Procs

play_soundAttempt 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.