(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);
}