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
How do you block sound?
Mackiiboy Offline
Member

Posts: 101
Threads: 7
Joined: Jan 2012
Reputation: 11
#5
RE: How do you block sound?

(02-05-2012, 09:38 PM)Ninami Wrote: Oh I see, I thought you wanted the sound to stop completely.
Sorry I don't know how that would work.

You could try this function:

StopSound(string& asSoundName, float afFadeTime);

And when you enter an area, lets say you exit a door, the sound fades away.
And visa-versa when you enter the door, the sound start again.

Just balling some ideas Tongue
Great idea! I have never thought about it before. Then I will just put two script areas, next to each other, that always are active, inside the doors to the rooms. One for fade in sound, and one for fade out sound.
I hope I can get this to work now.
Thanks for your idea Shy

02-05-2012, 10:07 PM
Website Find


Messages In This Thread
How do you block sound? - by Mackiiboy - 02-05-2012, 01:03 PM
RE: How do you block sound? - by Ninami - 02-05-2012, 09:15 PM
RE: How do you block sound? - by Mackiiboy - 02-05-2012, 09:33 PM
RE: How do you block sound? - by Ninami - 02-05-2012, 09:38 PM
RE: How do you block sound? - by Mackiiboy - 02-05-2012, 10:07 PM
RE: How do you block sound? - by Ninami - 02-05-2012, 10:15 PM



Users browsing this thread: 1 Guest(s)