• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Playlist with start song

Status
Not open for further replies.
How can I play a music playlist starting with a specific song? I have tried the following but it plays a random song every time.

  • Intro Cinematic
    • Events
    • Conditions
    • Actions
      • Sound - Stop music After fading
      • Sound - Clear the music list
      • Set Playlist = war3mapImported\Dante1.mp3;war3mapImported\Dante2.mp3;war3mapImported\Dante3.mp3;war3mapImported\Dante4.mp3;war3mapImported\Dante5.mp3;war3mapImported\Dante6.mp3
      • Custom script: call SetMapMusic(udg_Playlist, true, 1)
 
Well on a second thought. You don't even need that. Just change your
  • Custom script: call SetMapMusic(udg_Playlist, true, 1)
to
  • Custom script: call SetMapMusic(udg_Playlist, false, 1)
Ooooh of course, that makes perfect sense.... Thanks :D

EDIT: After testing it didn't work, unfortunately. It still plays a random song, and doesn't start with song no. 1 in the playlist.

EDIT 2: Lol nvm, forgot that stuff was 0-indexed now so when I set it to 1 it actually played the second song in the playlist. Problem solved, thanks sir.
 
Last edited:
Status
Not open for further replies.
Top