Wapez
Senior Member
Posts: 360
Threads: 37
Joined: Mar 2012
Reputation:
19
|
RE: How do i make jumpscares?? Please check my script...
(09-16-2012, 07:23 PM)danimora2012 Wrote: (09-16-2012, 06:45 PM)The chaser Wrote: danimora, please, put this in development support. It's there for something. Oh..i thought it was supposed to be here...thank you very much
Though i solved it... this custom story is going to be awesome... i promisse...so far so good
14% done
This is the fixed script:
void OnStart()
{
AddEntityCollideCallback("Player", "Jumpscare_1", "Jump1", true, 1);
}
void Jump(string &in asEntity)
{
SetEntityActive("bro_1", true);
AddPropForce("bro_1", 0, 0, -9000, "world");
AddTimer("", 0.7, "scared");
PlaySoundAtEntity("", "ahhh.ogg", "Player", 0, false);
} Just saying, that is not a correct script. The callback adds the function "Jump1" but the actual function you are using is called "Jump".
|
|
09-16-2012, 07:48 PM |
|