The documentation for AACS and the CodeEditor.
Plays a music track.
Name | Type | Description | Required | Default Value |
---|---|---|---|---|
Name | String | The name of the music track. | ✓ | - |
1: PlayMusic:["Prelude"];
Before playing a song, make sure the previous song was stopped with the StopMusic instruction.
If you do not, it will most likely freeze the whole game for multiple seconds before playing the track. Why? Heck if I know.