User Tools

Site Tools


play_music

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


Editor Node:

play_music.txt · Last modified: 2021/04/21 18:39 by justin