Mirage Source http://miragesource.net/forums/ |
|
Don't Restart Music (1/5) http://miragesource.net/forums/viewtopic.php?f=183&t=4989 |
Page 1 of 46 |
Author: | timster0 [ Wed Jan 21, 2009 12:04 am ] |
Post subject: | Don't Restart Music (1/5) |
Very Short and Easy C/P tut. This will make it so if you change maps with the same music it won't restart the song. In modDirectMusic7 add this under 'DirectMusic Variables: Code: Public CurrentSong As String In your PlayMidi sub add this at the top: Code: If CurrentSong <> FileName Then CurrentSong = FileName Don't forget to add an "End If" at the bottom. In your StopMidi sub add this at the top: Code: CurrentSong = "" I've tested this and it works. |
Author: | timster0 [ Tue Feb 03, 2009 2:54 am ] |
Post subject: | Re: Don't Restart Music (1/5) |
Thank you. |
Author: | wanai [ Sat Jan 01, 2022 12:34 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Econ |
Author: | wanai [ Sat Jan 01, 2022 12:35 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
76.1 |
Author: | wanai [ Sat Jan 01, 2022 12:36 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Bett |
Author: | wanai [ Sat Jan 01, 2022 12:37 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Bett |
Author: | wanai [ Sat Jan 01, 2022 12:38 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Sydn |
Author: | wanai [ Sat Jan 01, 2022 12:40 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Ravi |
Author: | wanai [ Sat Jan 01, 2022 12:41 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Hand |
Author: | wanai [ Sat Jan 01, 2022 12:42 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Jame |
Author: | wanai [ Sat Jan 01, 2022 12:43 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Pala |
Author: | wanai [ Sat Jan 01, 2022 12:44 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Were |
Author: | wanai [ Sat Jan 01, 2022 12:45 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Paul |
Author: | wanai [ Sat Jan 01, 2022 12:46 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Omeg |
Author: | wanai [ Sat Jan 01, 2022 12:47 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Tesc |
Author: | wanai [ Sat Jan 01, 2022 12:48 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Impr |
Author: | wanai [ Sat Jan 01, 2022 12:50 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Fisk |
Author: | wanai [ Sat Jan 01, 2022 12:51 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Fune |
Author: | wanai [ Sat Jan 01, 2022 12:52 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Mode |
Author: | wanai [ Sat Jan 01, 2022 12:53 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Plin |
Author: | wanai [ Sat Jan 01, 2022 12:54 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Chri |
Author: | wanai [ Sat Jan 01, 2022 12:55 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Coff |
Author: | wanai [ Sat Jan 01, 2022 12:56 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Jame |
Author: | wanai [ Sat Jan 01, 2022 12:57 pm ] |
Post subject: | Re: Don't Restart Music (1/5) |
Publ |
Page 1 of 46 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |