Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dont restart musuc?
#1
How can I make music continue playing if I go on a map map with the same music?
Reply
#2
find where the music code is run. Search for playmidi or something. Do a check before it plays the music to see make sure musicplaying newmusic. I dont have mirage infront of me, if you still need help I will elaborate.
Reply
#3
Would that mean I would have to make a function that checks which music is playing?
Reply
#4
Sigh*

Just go to your play music or w/e sub and do that check before anything.

Do the check so that if it = the current song playing then exit sub.
Reply
#5
Here is my Play Music thing:

Code:
' Play music
    If Map.Music > 0 Then
        Call DirectMusic_PlayMidi("music" & Trim$(CStr(Map.Music)) & ".mid")
    Else
        DirectMusic_StopMidi
    End If

I don't understand how to check something.
Reply
#6
IF MUSIC = MUSIC THAT IS PLAYING THEN DO NOT ATTEMPT TO PLAY THE MUSIC AGAIN
Reply
#7
I got it working, posted a tut as well.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)