The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Jump scare script problem
liamthespy Offline
Junior Member

Posts: 26
Threads: 10
Joined: Jun 2012
Reputation: 0
#1
Jump scare script problem

this is the relevant part of the script


AddEntityCollideCallback("Player", "firstscare", "closetcorpse", true, 1);
}

void closetcorpse(string &in item)
{
SetEntityActive("closetcorpse", true);
PlaySoundAtEntity("", "guardian_activated.snt", "closetcorpse", 0, false);
}

the player walks into the firstscare scriptarea and the closetcorpse activates, or at least that's what is supposed to happen. I have everything punctuated right, what is wrong?
07-16-2012, 03:05 AM
Find


Messages In This Thread
Jump scare script problem - by liamthespy - 07-16-2012, 03:05 AM
RE: Jump scare script problem - by Ongka - 07-16-2012, 03:12 AM
RE: Jump scare script problem - by liamthespy - 07-16-2012, 03:24 AM
RE: Jump scare script problem - by Ongka - 07-16-2012, 03:30 AM
RE: Jump scare script problem - by liamthespy - 07-16-2012, 03:31 AM
RE: Jump scare script problem - by Ongka - 07-16-2012, 03:36 AM
RE: Jump scare script problem - by liamthespy - 07-16-2012, 03:40 AM
RE: Jump scare script problem - by Ongka - 07-16-2012, 03:49 AM
RE: Jump scare script problem - by liamthespy - 07-16-2012, 04:03 AM
RE: Jump scare script problem - by Ongka - 07-16-2012, 04:20 AM



Users browsing this thread: 1 Guest(s)