Frictional Games Forum (read-only)

Full Version: int alPrio
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What exactly does the variable int alPrio do in the music functions?
It is priority of music.
I see. And the music playing with the highest priority is the music that is audible to the player? How come when I use use the function StopMusic(1.0f,10); it doesn't actually kill the music? I have noticed that it does if i set it to be StopMusic(1.0f,0);.
Well I am not sure about that one...
But I think that lower the number the higher the priority. (Although I am not 100% sure.)
(11-05-2010, 03:53 PM)anzki Wrote: [ -> ]Well I am not sure about that one...
But I think that lower the number the higher the priority. (Although I am not 100% sure.)

Sorry to bump an old thread, but I needed help with this and found this through a search. I can confirm that the lower the priority integer, (int alprio), the higher priority the music has. Smile