You know when you start rolling credits after seeing a monster, like a scare cliffhanger, and throughout the entire credits screen you get that terror sound that's super loud? I want to fade that out, and play a song of my own (credits.ogg) which works fine, except for the fact that the terror sound won't fade out. It's getting really annoying...
Here's my ending function:
void end(string &in asEntity)
{
SetEntityActive("lastBrute", false);
FadeGlobalSoundVolume(0, 0.5);
SetPlayerActive(false);
FadeOut(1);
PlaySoundAtEntity("", "door_large_castle_open.ogg", "Player", 0, false);
StartCredits("credits.ogg", false, "CustomStoryMain", "Credits", 3);
}
Any help is appreciated. Thanks!