1
playSound
sZLukas1607 edited this page 2020-05-29 08:54:09 +02:00
playSound(cueName, *opts) → {Object|undefined} (SoundJS AbstractAudioInstance) Plays the sound cue of the provided cueName in the current bundle. Does nothing if the cue doesn't exist or if the cue has no assigned file to play. #Parameters Name Type Attributes Description cueName String opts Object #Opts Name Type Attributes Default Description updateVolume boolean true Whether or not to let NodeCG automatically update this instance's volume when the user changes it on the dashboard.