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
Sound at start of map
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#5
RE: Sound at start of map

void OnStart()
{
FadeGlobalSoundVolume(0, 0); //Sets the volume to 0 at the start of the map
AddTimer("", 3, "StartSound"); // Adds a timer of 3 seconds to make the sound go back to normal
}

void StartSound(string &in asTimer)
{
FadeGlobalSoundVolume(1, 0);
}

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
08-04-2012, 01:42 PM
Website Find


Messages In This Thread
Sound at start of map - by Lukaboy8 - 08-04-2012, 10:56 AM
RE: Sound at start of map - by GoranGaming - 08-04-2012, 11:22 AM
RE: Sound at start of map - by Lukaboy8 - 08-04-2012, 01:08 PM
RE: Sound at start of map - by SilentStriker - 08-04-2012, 01:12 PM
RE: Sound at start of map - by GoranGaming - 08-04-2012, 01:42 PM
RE: Sound at start of map - by Artyom - 08-04-2012, 04:10 PM



Users browsing this thread: 1 Guest(s)