Here is the portion with the sound cue. (scare_whine_loop1)
void collideroom1(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("door_2", true, true);
SetSwingDoorClosed("door_1", true, true);
SetSwingDoorLocked("door_2", true, true);
SetSwingDoorLocked("door_1", true, true);
StartPlayerLookAt("door_2", 2.0f, 1.0f, "");
PlaySoundAtEntity("", "scare_slam_door", "door_2", 0, false);
PlayGuiSound("react_scare", 1.5f);
PlayMusic("scare_whine_loop1", false, 1.5, 0.1, 10, false);
GiveSanityDamage(5.0f, true);
AddTimer("Scare2", 0.5f, "stopstare");
}
But even when I disable the sound cue, even remove it from the script entirely, the sound still plays when I load the map.
I'm very new to scripting and I fool around with stuff till it works (for example, Im pretty sure I'm using PlayGuiSound wrong, but it does work)