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
How do i make jumpscares?? Please check my script...
danimora2012 Offline
Junior Member

Posts: 47
Threads: 18
Joined: Apr 2012
Reputation: 0
#1
Tongue  How do i make jumpscares?? Please check my script...

First of all lots of you don't like jumpscares...me too...but it's a scary game...so why not...My custom story only has one scare and i would like a jumpscare... So...I did everything i could to make it work but "Nothing"...So here is my script. what's wrong in here? Huh


void OnStart()
{
AddEntityCollideCallback("Player", "Jumpscare_1", "Jump1", true, 1);
}

void Jump1(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("bro_1", true);
AddPropForce("bro_1", 0, 0, -9000, "world");
AddTimer("", 0.7, "scared");
PlaySoundAtEntity("", "ahhh.snt", "Player", 0, false);
}

I would like your help... if you know what's wrong with it... Please say it... Tongue
(This post was last modified: 09-16-2012, 07:52 PM by danimora2012.)
09-16-2012, 06:31 PM
Find


Messages In This Thread
How do i make jumpscares?? Please check my script... - by danimora2012 - 09-16-2012, 06:31 PM



Users browsing this thread: 1 Guest(s)