http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/show_bug.cgi?id=299
------- Comment #6 from [EMAIL PROTECTED] 2007-02-09 16:05 ------- > What this will not do is > "pause" the music and resume where it left off. That functionality simply > isn't > available. (but the feature being requested in this bug couldn't provide that > functionality either) > Actually, that's not true. stopsong PAUSES the music, we don't even have a command to STOP the music! SUB wrappedsong (songnumber) IF songnumber <> presentsong THEN playsongnum songnumber presentsong = songnumber ELSE resumesong 'why is this here?? END IF END SUB SUB stopsong presentsong = -1 pausesong 'this is how you stop the music END SUB I added the line "presentsong = -1" very recently, because music was being resumed where it should have started over "playsong(0),wait(100),stopsong,wait(100),playsong(0)", and also not updating currentsong. Anyway, we could easily add a script command, "pausemusic" which calls pausesong but doesn't reset presentsong. Calling playsong with the same song would then resume. currentsong would continue to return the paused song as playing. As for setting the number of times a song loops or at all, I thought that was on (Mike's) TODO list. Also, instead of using a timer, you could loop with the soundisplaying. Nice. -- Configure bugmail: http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. _______________________________________________ ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org