Frictional Games Forum (read-only)
int alPrio - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: int alPrio (/thread-5322.html)



int alPrio - Homicide13 - 11-05-2010

What exactly does the variable int alPrio do in the music functions?


RE: int alPrio - anzki - 11-05-2010

It is priority of music.


RE: int alPrio - Homicide13 - 11-05-2010

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);.


RE: int alPrio - anzki - 11-05-2010

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.)


RE: int alPrio - Nye - 02-24-2011

(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