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
#4
RE: Music "Lower" if player enters area

Running this:

PHP Code: (Select All)
PlayMusic("in_motion.ogg"false101true); 

Then later running this:

PHP Code: (Select All)
PlayMusic("in_motion.ogg"false0.212true); 

Achieves this effect. It starts the music at standard volume, then fades it down to 0.2.
I took this code from my Intro/Outro video, which shows the effect in action.

(This post was last modified: 10-05-2015, 07:01 PM by Mudbill.)
10-05-2015, 06:59 PM
Find


Messages In This Thread
RE: Music "Lower" if player enters area - by Mudbill - 10-05-2015, 06:59 PM



Users browsing this thread: 1 Guest(s)