Oh snap.. missed that, I'll try editing so there's only one.
Ok so that didn't work. Here's how my entire .hps file for this map looks like;
////////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("Player","MonsterDoor","CollidePlayerWithMonsterDoor");
}
void CollidePlayerWithMonsterDoor (string &in asParent, string &in asChild, int alState)
{
SetEntityActive("ScaryDude", true);
ShowEnemyPlayerPosition(''ScaryDude'');
FadeRadialBlurto(float 1, float 1);
PlaySoundAtEntity(''MonsterDoor'', ''react_scare6.ogg'', ''Player'', true);
}
////////////////////////////
// Run when entering map
void OnEnter()
{
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
Any errors? The script isn't working at all, nothing happens when I pass the script area. Also might it be the .ogg sound file in the script? Can it playe .ogg's or do they have to be .SNT?
''Sick, twisted child... You'll burn for this!''