Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PlayMusic Problem
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#2
RE: PlayMusic Problem

The "StopSound" function's unnecessary. It is used for sounds, you tried using it for music.

Try this:

void OnStart()
{
PlayMusic("06_amb.ogg", true, 1, 3, 0.9, true);
}



void OnLeave()
{
StopMusic(1, 0.9);
AddDebugMessage("Sounds Removed", false);
}


Highlighted what I just changed.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
09-16-2012, 06:29 PM
Website Find


Messages In This Thread
PlayMusic Problem - by Ainz - 09-16-2012, 06:21 PM
RE: PlayMusic Problem - by Robby - 09-16-2012, 06:29 PM
RE: PlayMusic Problem - by Ainz - 09-16-2012, 09:13 PM
RE: PlayMusic Problem - by Robby - 09-17-2012, 11:40 AM
RE: PlayMusic Problem - by Ainz - 09-17-2012, 12:26 PM
RE: PlayMusic Problem - by Robby - 09-17-2012, 12:37 PM



Users browsing this thread: 1 Guest(s)