User Tools

Site Tools


play_sound

This is an old revision of the document!


Play Sound


Plays the specified sound effect once.

play_sound(sound_name)
ArgumentDescriptionTypeRequired
sound_nameName of the sound effect to play.StringYes

Example:

play_sound("door_open")

Results: Plays the sound effect named “door_open”.

Use the Play Sound function to trigger a sound effect when the player opens a door or a treasure chest, or some event occurs that you'd like the player to hear regardless of where they are.


Editor Node:

play_sound.1493243953.txt.gz · Last modified: 2017/04/26 14:59 by justin