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
How do i make jumpscares?? Please check my script...
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#15
RE: How do i make jumpscares?? Please check my script...

(09-16-2012, 07:48 PM)Wapez Wrote:
(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 Blush
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".
Nah, he forgot to remove a line that shouldn't be. Marked that over there

I already solved this for him, so don't bother!

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
(This post was last modified: 09-16-2012, 07:50 PM by Robby.)
09-16-2012, 07:49 PM
Website Find


Messages In This Thread
RE: How do i make jumpscares?? Please check my script... - by Robby - 09-16-2012, 07:49 PM



Users browsing this thread: 1 Guest(s)