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
Robby Offline
Posting Freak

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

(09-16-2012, 06:31 PM)danimora2012 Wrote: 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
I'll help you over here (though I sent you a PM, didn't you see it?).

What kind of problem are you experiencing? It looks good to me.

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.
09-16-2012, 06:32 PM
Website Find
danimora2012 Offline
Junior Member

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

(09-16-2012, 06:32 PM)Nemet Robert Wrote:
(09-16-2012, 06:31 PM)danimora2012 Wrote: 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
I'll help you over here (though I sent you a PM, didn't you see it?).

What kind of problem are you experiencing? It looks good to me.
THERE YOU ARE PLEASE OPEN GMAIL...okay... the jumpscare doesn't pop up...that is my problem...Why...
09-16-2012, 06:35 PM
Find
Robby Offline
Posting Freak

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

(09-16-2012, 06:35 PM)danimora2012 Wrote:
(09-16-2012, 06:32 PM)Nemet Robert Wrote:
(09-16-2012, 06:31 PM)danimora2012 Wrote: 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
I'll help you over here (though I sent you a PM, didn't you see it?).

What kind of problem are you experiencing? It looks good to me.
THERE YOU ARE PLEASE OPEN GMAIL...okay... the jumpscare doesn't pop up...that is my problem...Why...
I already checked, and then replied.

Looking at it right now, nothing new.

The jumpscare doesn't pop up? Double-check the names (Level Editor and the script). Make sure you saved the script.

I notice a sound should play. Don't you hear that sound?



Through Gmail. Looking now...

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, 06:39 PM by Robby.)
09-16-2012, 06:38 PM
Website Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#5
RE: How do i make jumpscares?? Please check my script...

danimora, please, put this in development support. It's there for something.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
09-16-2012, 06:45 PM
Find
Robby Offline
Posting Freak

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

Your map was incorrectly named. Solved thru PM.

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.
09-16-2012, 06:46 PM
Website Find
Zaffre Away
Posting Freak

Posts: 867
Threads: 50
Joined: Jul 2012
Reputation: 30
#7
RE: How do i make jumpscares?? Please check my script...

More jumpscares? I hope you're not releasing this story to the public. For practice is fine; I've done it for practice.

As of September 2nd, 2014, I've left the Frictional forums. Check my profile for more details.
(This post was last modified: 09-16-2012, 07:03 PM by Zaffre.)
09-16-2012, 07:03 PM
Find
Robby Offline
Posting Freak

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

(09-16-2012, 07:03 PM)Zaffre Wrote: More jumpscares? I hope you're not releasing this story to the public. For practice is fine; I've done it for practice.
Nothing to worry about, he's "hired" me as a beta tester.

And yeah, PDP custom story.

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.
09-16-2012, 07:06 PM
Website Find
Zaffre Away
Posting Freak

Posts: 867
Threads: 50
Joined: Jul 2012
Reputation: 30
#9
RE: How do i make jumpscares?? Please check my script...

It's a PewDiePie custom story?



As of September 2nd, 2014, I've left the Frictional forums. Check my profile for more details.
(This post was last modified: 09-16-2012, 07:07 PM by Zaffre.)
09-16-2012, 07:07 PM
Find
Robby Offline
Posting Freak

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

(09-16-2012, 07:07 PM)Zaffre Wrote: It's a PewDiePie custom story?
[video]
Not me!

(he's giving me quite some headaches right now)

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:13 PM by Robby.)
09-16-2012, 07:12 PM
Website Find




Users browsing this thread: 4 Guest(s)