Audio
Last updated
Was this helpful?
Last updated
Was this helpful?
You can find bank/sound names by , and speech list by .
To find some other banks/events you can check it by .
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.
Audio.StopSound(name: string)
name
string
Name of the sound
Stops the playing sound by name.
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.
Audio.StopSpeech(character: SimCharacter)
character
SimCharacter
SimCharacter object that will stop speaking
Stops the speaking of the character.