The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
FadeGlobalSoundVolume not affecting "Terror" sound
tgfcoder Offline
Junior Member

Posts: 2
Threads: 1
Joined: Feb 2012
Reputation: 0
#1
FadeGlobalSoundVolume not affecting "Terror" sound

Hi guys,

new to the forums here but I'll get right to the point.

I'm using the following code to mute the game volume at the start of my map.


void OnEnter()
{ FadeGlobalSoundVolume(0, 0); }


However, due to there being an enemy close to the player at the start the terror music starts playing. I want it to be completely silent but still be playing (just at 0 volume.)

Does FadeGlobalSoundVolume not affect music? Any suggestions?

Thanks in advance.
(This post was last modified: 02-04-2012, 05:34 AM by tgfcoder.)
02-03-2012, 09:29 PM
Find


Messages In This Thread
FadeGlobalSoundVolume not affecting "Terror" sound - by tgfcoder - 02-03-2012, 09:29 PM



Users browsing this thread: 2 Guest(s)