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
Script Help How to make music fade out and new music fade in?
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#3
RE: How to make music fade out and new music fade in?

(04-01-2013, 06:09 AM)JustAnotherPlayer Wrote: Sorry, but there is no script that mentions how to fade out a sound. But you can fade in a sound, though.

Wrong, as well, it's music he's asking for, not a sound.
void StopMusic(float afFadeTime, int alPrio);

Stops music.

afFadeTime - time in seconds until music stops
alPrio - the priority of the music that should stop

Simply increase the FadeTime.
(This post was last modified: 04-01-2013, 06:30 AM by Statyk.)
04-01-2013, 06:29 AM
Find


Messages In This Thread
RE: How to make music fade out and new music fade in? - by Statyk - 04-01-2013, 06:29 AM



Users browsing this thread: 1 Guest(s)