— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Plays the specified sound effect once.
play_sound(sound_name)
Argument | Description | Type | Required |
---|---|---|---|
sound_name | Name of the sound effect to play. | String | Yes |
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.