Frictional Games Forum (read-only)
[SCRIPT] AddEntityCollideCallback help - Printable Version

+- Frictional Games Forum (read-only) (
+-- Forum: Amnesia: The Dark Descent (
+--- Forum: Custom Stories, TCs & Mods - Development (
+---- Forum: Development Support (
+---- Thread: [SCRIPT] AddEntityCollideCallback help (/thread-56810.html)

AddEntityCollideCallback help - MmXavp - 10-11-2020

I'm having some issues here. I trying to set up a script area so when the player walks into it, a sound plays to scare the player. 

this is the script segments to it.

If I've buggered something up, I'd appreciate the help to fix it as I'm still trying to get to grips with this stuff.

AddEntityCollideCallback("Player", "BangDoor", "BangDoorScare", true);

void BangDoorScare ()
   PlaySoundAtEntity("", "scare_slam_door.snt", "pitdoor", 0, false);