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
int alPrio
Homicide13 Offline
Senior Member

Posts: 323
Threads: 41
Joined: Nov 2010
Reputation: 14
#1
int alPrio

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

11-05-2010, 03:22 PM
Find
anzki Offline
Member

Posts: 88
Threads: 6
Joined: Apr 2010
Reputation: 1
#2
RE: int alPrio

It is priority of music.

[Image: 2qnr5av.png]
11-05-2010, 03:28 PM
Find
Homicide13 Offline
Senior Member

Posts: 323
Threads: 41
Joined: Nov 2010
Reputation: 14
#3
RE: int alPrio

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

11-05-2010, 03:47 PM
Find
anzki Offline
Member

Posts: 88
Threads: 6
Joined: Apr 2010
Reputation: 1
#4
RE: int alPrio

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

[Image: 2qnr5av.png]
(This post was last modified: 11-05-2010, 03:54 PM by anzki.)
11-05-2010, 03:53 PM
Find
Nye Offline
Senior Member

Posts: 250
Threads: 8
Joined: Jan 2011
Reputation: 2
#5
RE: int alPrio

(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

02-24-2011, 02:15 AM
Find




Users browsing this thread: 1 Guest(s)