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
Amnesia music help
theodorg Offline
Junior Member

Posts: 44
Threads: 11
Joined: Aug 2013
Reputation: 0
#3
RE: Amnesia music help

(08-24-2014, 05:45 PM)DnALANGE Wrote: Here is an example.
Try to understand it.
If you do not or have any other questions let us know.
Quote:PlayMusic("YourMusicFileHere.ogg", true, 0.6, 3, 0, true);

First true = Do you want to loop the music file when finished? true is yes false is NO.
-
the second true at the end is do you want to resume the music if another one with another PRIO(rity) takes the music file over and when finished this file will continue.

Ahhhhh now i get it. Thx so much man!

(08-24-2014, 05:45 PM)DnALANGE Wrote: Here is an example.
Try to understand it.
If you do not or have any other questions let us know.
Quote:PlayMusic("YourMusicFileHere.ogg", true, 0.6, 3, 0, true);

First true = Do you want to loop the music file when finished? true is yes false is NO.
-
the second true at the end is do you want to resume the music if another one with another PRIO(rity) takes the music file over and when finished this file will continue.

I have done it like this but its still crashing:
{
void PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);
PlayMusic(creep.ogg, false, 1, 1, 1, true);
}
(This post was last modified: 08-24-2014, 06:39 PM by theodorg.)
08-24-2014, 06:16 PM
Find


Messages In This Thread
Amnesia music help - by theodorg - 08-24-2014, 05:14 PM
RE: Amnesia music help - by DnALANGE - 08-24-2014, 05:45 PM
RE: Amnesia music help - by theodorg - 08-24-2014, 06:16 PM
RE: Amnesia music help - by Radical Batz - 08-24-2014, 07:09 PM



Users browsing this thread: 3 Guest(s)