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
Playing different music in different areas
ModManDann Offline
Member

Posts: 61
Threads: 6
Joined: Dec 2010
Reputation: 0
#2
RE: Playing different music in different areas

I think you'd have to create area's and add a collide call back (for the player and the area) and in this call back use the following function:

PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);

Current project: Mind Trap
01-11-2011, 10:59 PM
Find


Messages In This Thread
RE: Playing different music in different areas - by ModManDann - 01-11-2011, 10:59 PM



Users browsing this thread: 1 Guest(s)