Just did that; for some reason it didn't work yesterday. Must've made a typo and gave up

It's working now though.
What are the names of the two sound files that play when a monster is chasing a player? Using this method will require me to stop that file (the buzzing noise and the music).
Actually, this ended up doing what I wanted
void CollideBehind(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("mansion_3", true, true);
SetEntityActive("grunt_3", true);
AddEnemyPatrolNode("grunt_3", "Path", 100.0f, "");
SetEnemyDisableTriggers("grunt_3", true);
AddTimer("", 4.0f, "CollideBehindStop");
}
void CollideBehindStop(string &in asTimer)
{
FadeEnemyToSmoke("grunt_3", true);
}
For anyone else who may want to do the same thing.