User Tools

Site Tools


play_music

This is an old revision of the document!


Play Music


Plays the specified music file.

Signature:

play_music(music_name)
ArgumentDescriptionTypeRequired
music_nameName of the music file to play.StringYes

Example:

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.


Editor Node:

play_music.1581819128.txt.gz · Last modified: 2020/02/15 18:12 by justin