Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SCRIPT HELP]Need advice
Author Message
Shadowman60 Offline
Junior Member

Posts: 11
Joined: Dec 2011
Reputation: 0
Post: #1
Question [SCRIPT HELP]Need advice
Hey guys, I'm making a custom story and i need a script where you pick up a note, it says something, and when you put it down, a TELEPORTING NAKED GUY appears on a table, and i want "24_iron_maiden.ogg" to play when he suddenly appears.

But I've never made a script before, Huh so can you help me?

Thanks. Big Grin
01-27-2012 12:43 PM
Find all posts by this user Quote this message in a reply
flamez3 Offline
Posting Freak

Posts: 1,320
Joined: Apr 2011
Reputation: 57
Post: #2
RE: [SCRIPT HELP]Need advice
void OnStart()
{
SetEntityPlayerInteractCallback("note01", "appear", true);
}

void appear(string &in asEntity)
{
SetEntityActive("male_corpse_01", true);
}

01-27-2012 06:22 PM
Find all posts by this user Quote this message in a reply
Mine Turtle Offline
Senior Member

Posts: 654
Joined: Mar 2011
Reputation: 28
Post: #3
RE: [SCRIPT HELP]Need advice
how bout this script:

void OnAllScripts()
{
SetProperScareIdeaActive(true);
}

void BeOriginal (''fuckoffwith'', ''ThisIdea'')
{
SetCreativityActive("Creative.exe", true);
}


no offence but im raging at all these retarded jumpscares people put in their stories... a good starting tip on CS scripting: BE ORIGINAL..

[Image: 201107142327000.gif]
(This post was last modified: 04-12-2012 08:02 PM by Mine Turtle.)
01-27-2012 08:22 PM
Find all posts by this user Quote this message in a reply
Statyk Offline
Modmau5

Posts: 3,610
Joined: Sep 2011
Reputation: 198
Post: #4
RE: [SCRIPT HELP]Need advice
(01-27-2012 08:22 PM)darkadders Wrote:  how bout this script:

void OnAllScripts()
{
SetProperScareIdeaActive(''true'');
}

void BeOriginal (fuckoffwith ThisIdea)
{
SetCreativityActive("Creative.exe", true);
}


no offence but im raging at all these retarded jumpscares people put in their stories... BE ORIGINAL..
As much as wouldn't rage this profoundly, I completely agree... I love originality and "TELEPORTING NAKED GUY" just screams to me that you're not taking your CS seriously, but hey, I can't stop you.

01-27-2012 08:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Datguy5 Offline
Senior Member

Posts: 622
Joined: Dec 2011
Reputation: 12
Post: #5
RE: [SCRIPT HELP]Need advice
Theres a tutorial in the wiki(i suggested it Big Grin) http://wiki.frictionalgames.com/hpl2/tut...iferorange
01-27-2012 08:31 PM
Find all posts by this user Quote this message in a reply
Shadowman60 Offline
Junior Member

Posts: 11
Joined: Dec 2011
Reputation: 0
Post: #6
RE: [SCRIPT HELP]Need advice
(01-27-2012 08:22 PM)darkadders Wrote:  how bout this script:



void OnAllScripts()

{

SetProperScareIdeaActive(''true'');

}



void BeOriginal (fuckoffwith ThisIdea)

{

SetCreativityActive("Creative.exe", true);

}





no offence but im raging at all these retarded jumpscares people put in their stories... a good starting tip on CS scripting: BE ORIGINAL..



Jesus, it's not your mod, it's mine; i can do whatever i want with my mod.
01-29-2012 11:32 AM
Find all posts by this user Quote this message in a reply
Mine Turtle Offline
Senior Member

Posts: 654
Joined: Mar 2011
Reputation: 28
Post: #7
RE: [SCRIPT HELP]Need advice
(01-29-2012 11:32 AM)Shadowman60 Wrote:  
(01-27-2012 08:22 PM)darkadders Wrote:  how bout this script:



void OnAllScripts()

{

SetProperScareIdeaActive(''true'');

}



void BeOriginal (fuckoffwith ThisIdea)

{

SetCreativityActive("Creative.exe", true);

}





no offence but im raging at all these retarded jumpscares people put in their stories... a good starting tip on CS scripting: BE ORIGINAL..



Jesus, it's not your mod, it's mine; i can do whatever i want with my mod.
spoken like a true immature child.. no offense, i was tryin to bump you in the right direction on scripting and what people like on this forum. didnt expect a child to understand what i meant though. good luck with this amazing mod of yours.

[Image: 201107142327000.gif]
01-29-2012 02:41 PM
Find all posts by this user Quote this message in a reply
flamez3 Offline
Posting Freak

Posts: 1,320
Joined: Apr 2011
Reputation: 57
Post: #8
RE: [SCRIPT HELP]Need advice
(01-29-2012 02:41 PM)darkadders Wrote:  spoken like a true immature child.. no offense, i was tryin to bump you in the right direction on scripting and what people like on this forum. didnt expect a child to understand what i meant though. good luck with this amazing mod of yours.
He has a point, it's his mod; he needed help...I don't see how you could come to the conclusion that he is looking for criticism.

Also; "bumping" him in the right direction would offer him another idea...not cursing and mocking him.

(This post was last modified: 01-29-2012 03:20 PM by flamez3.)
01-29-2012 03:19 PM
Find all posts by this user Quote this message in a reply
Datguy5 Offline
Senior Member

Posts: 622
Joined: Dec 2011
Reputation: 12
Post: #9
RE: [SCRIPT HELP]Need advice
(01-29-2012 03:19 PM)flamez3 Wrote:  
(01-29-2012 02:41 PM)darkadders Wrote:  spoken like a true immature child.. no offense, i was tryin to bump you in the right direction on scripting and what people like on this forum. didnt expect a child to understand what i meant though. good luck with this amazing mod of yours.
He has a point, it's his mod; he needed help...I don't see how you could come to the conclusion that he is looking for criticism.

Also; "bumping" him in the right direction would offer him another idea...not cursing and mocking him.
Agree.
01-29-2012 03:21 PM
Find all posts by this user Quote this message in a reply
Mine Turtle Offline
Senior Member

Posts: 654
Joined: Mar 2011
Reputation: 28
Post: #10
RE: [SCRIPT HELP]Need advice
(01-29-2012 03:19 PM)flamez3 Wrote:  
(01-29-2012 02:41 PM)darkadders Wrote:  spoken like a true immature child.. no offense, i was tryin to bump you in the right direction on scripting and what people like on this forum. didnt expect a child to understand what i meant though. good luck with this amazing mod of yours.
He has a point, it's his mod; he needed help...I don't see how you could come to the conclusion that he is looking for criticism.

Also; "bumping" him in the right direction would offer him another idea...not cursing and mocking him.
look, for once i think people should just stop with jumpscares.. im not the particular kind of person who critisizes people in need; i just wanted him to understand that jumpscares are just annoying ways of getting people an early heart attack. if he wants to script a mod he should atleast use some originality in there.. but, if he wants to be just like every other 20,000 individuals on this forum whos turned on by these things then i cant stop him.. jesus christ...

[Image: 201107142327000.gif]
01-29-2012 06:34 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)