9
playSound.md
Normal file
9
playSound.md
Normal file
@ -0,0 +1,9 @@
|
||||
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 <optional>
|
||||
#Opts
|
||||
Name Type Attributes Default Description
|
||||
updateVolume boolean <optional> true Whether or not to let NodeCG automatically update this instance's volume when the user changes it on the dashboard.
|
||||
Reference in New Issue
Block a user