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 Stuck doing a Jump-Scare script
ClayPigeon Offline
Member

Posts: 214
Threads: 13
Joined: Mar 2012
Reputation: 8
#3
RE: Stuck doing a Jump-Scare script

Jumpscare_Corspe1
Jumpscare_Corpse1



See the differences? You've got these names mixed up.
Change this:
SetEntityActive("Jumpscare_Corpse1", false);

To this:
SetEntityActive("Jumpscare_Corspe1", false);



And change this:
AddEntityCollideCallback("Player", "JumpScare1", "Jumpscare1", false, 1);

To this:
AddEntityCollideCallback("Player", "JumpScare1", "Jumpscare1", true, 1);



So the collision area would be deleted and the sound won't be heard over and over.
04-07-2013, 08:56 PM
Find


Messages In This Thread
Stuck doing a Jump-Scare script - by Kixz0 - 04-07-2013, 08:36 PM
RE: Stuck doing a Jump-Scare script - by Kixz0 - 04-07-2013, 08:56 PM
RE: Stuck doing a Jump-Scare script - by ClayPigeon - 04-07-2013, 08:56 PM
RE: Stuck doing a Jump-Scare script - by Kixz0 - 04-07-2013, 09:30 PM



Users browsing this thread: 1 Guest(s)