You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no way to have this coded similarly to how the Speak script class creates a wrapper around the play command.
speak [goblin_ouch]
It would be nice, if the Speak class could handle this as well and the goblin_ouch sound would be wrapped by the Audio class. Something like this:
constsound=newAudio({filename: "[goblin_ouch]",type: "speech"// currently only exact matches to speech subfolders exist, like "speech/english"})constsoundScript=newSound(sound,SoundFlags.VaryPitch)// note that the whole audio instance is passed, not just the filename// ...soundScript.play()// generates "speak [goblin_ouch]"
The text was updated successfully, but these errors were encountered:
There's no way to have this coded similarly to how the Speak script class creates a wrapper around the
play
command.It would be nice, if the Speak class could handle this as well and the goblin_ouch sound would be wrapped by the Audio class. Something like this:
The text was updated successfully, but these errors were encountered: