— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Plays the specified music file.
play_music(music_name)
Argument | Description | Type | Required |
---|---|---|---|
music_name | Name of the music file to play. | String | Yes |
play_music("Victory.ogg")
Results: Plays the music file named “Victory.ogg”.
Use the Play Music function to trigger a sound effect when the player opens a door or a treasure chest, or an event occurs that you'd like the player to hear regardless of their location.