Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help AddEntityCollideCallback help
MmXavp Offline
Junior Member

Posts: 4
Threads: 2
Joined: Oct 2020
Reputation: 0
#1
AddEntityCollideCallback help

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);
}
10-11-2020, 12:33 AM
Find




Users browsing this thread: 1 Guest(s)