Audio
You can find bank/sound names by clicking here, and speech list by clicking here.
To find some other banks/events you can check it by clicking here.
Static Functions:
.PlaySound
Audio.PlaySound(bank: string, name: string)
: boolean
bank
string
Name of the bank
name
string
Name of the sound
Returns true if sound was successfully played.
.StopSound
Audio.StopSound(name: string)
name
string
Name of the sound
Stops the playing sound by name.
.PlaySpeech
Audio.PlaySpeech(character: SimCharacter, event: string, name: string)
: boolean
character
SimCharacter
SimCharacter object that will speak
event
string
Event of the sound
event
string
Name of the sound
Returns true if speech was sucessfully played.
.StopSpeech
Audio.StopSpeech(character: SimCharacter)
character
SimCharacter
SimCharacter object that will stop speaking
Stops the speaking of the character.
Last updated