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
Texture, Model & Animation Help Music "Lower" if player enters area
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#12
RE: Music "Lower" if player enters area

Hopefully you don't run into any issues, because I'm sure this code is prone to it. I don't know the data limit of the music priority, although seeing as it is an int, it's probably somewhere in either 30k or 60k calls. That shouldn't be an issue unless you repeatedly walk in and out of the area 30 000 times.

Also, if you want to play any other music later, that one will need a higher priority as well. Perhaps using a for-loop to stop all the music running at lower priorities can be used to clear out that list, should it be necessary.

Though, if you don't experience any issues, no action is needed.

10-07-2015, 08:30 PM
Find


Messages In This Thread
RE: Music "Lower" if player enters area - by Mudbill - 10-07-2015, 08:30 PM



Users browsing this thread: 1 Guest(s)