Speaker - iimurpyh/pilot-lua GitHub Wiki
A part which can play custom sounds.
Table of contents
Methods
void Speaker:PlaySound(int soundId)
Plays a sound with the given
soundId
.
void Speaker:ClearSounds()
Stops and clears all sounds the speaker is currently playing.
void Speaker:Chat(string message)
Displays the
message
in a chat bubble just like if a player said it.