Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: changing music  (Read 2303 times)

0 Members and 1 Guest are viewing this topic.

fireside

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 211
    • View Profile
changing music
« on: August 12, 2007, 12:42:22 AM »

I want to change music when one file is finished which would probably be easy if I wasn't using pause and resume for conversations.  How can I know when a music file is finished if I am using pause and resume?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: changing music
« Reply #1 on: August 12, 2007, 09:37:58 AM »

Well, hardly, I'm afraid. You'd need to keep track of whether you paused the music or not, and then checking if Game.IsMusicPlaying() and it's not paused.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

fireside

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 211
    • View Profile
Re: changing music
« Reply #2 on: August 12, 2007, 12:32:08 PM »

Thanks.
Logged
 

Page created in 0.036 seconds with 24 queries.