• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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