Mirage Source
music question - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49)
+---- Thread: music question (/showthread.php?tid=2596)



music question - chagen - 04-03-2009

Since Maps aren't very big I was wondering if there is a way to keep the song playing if the next map has the same song... so
MAP1=Music1 then when it changes to map2 and it has the same Music1 then have it continue where it left off on map1. If map3 has a different song then stop and play new song.


Re: music question - Tony - 04-03-2009

I believe this tutorial should work,

viewtopic.php?f=128&t=4989


Re: music question - Matt - 04-03-2009

music = map.music

-change maps-

if map.music music then
music = map.music
end if


Re: music question - chagen - 06-03-2009

lol figured it out but thanks both of you if i wouldn't have thought of that it would have helped