How to play more than one song in my own map?

The place to post your WML questions and answers.

Moderators: Forum Moderators, Developers

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
FrostBlade5
Posts: 2
Joined: January 3rd, 2020, 3:33 am

How to play more than one song in my own map?

Post by FrostBlade5 »

I created my own map/scenario, now while playing only ONE random song plays and after its done just silence.
How can i get the music to keep playing? I have to edit the map-textfile and what do i type and where ?

Id like to use all the built in songs and automatically play them randomly, that possible?

User avatar
GForce0
Posts: 20
Joined: May 17th, 2020, 5:58 pm

Re: How to play more than one song in my own map?

Post by GForce0 »

You can put in the scenario file inside the [multiplayer] tags the following macro:

{DEFAULT_MUSIC_PLAYLIST}

This plays all the songs, although not in random order

User avatar
Pentarctagon
Project Manager
Posts: 4422
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: How to play more than one song in my own map?

Post by Pentarctagon »

See here for an example and more information.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code

Post Reply