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 new song during a cutscene or to signal the start of a special event in your game.


Editor Node:

play_music.1581821227.txt.gz · Last modified: 2020/02/15 18:47 by justin