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
Scripting Problems !
AmnesiaIsScary :S Offline
Junior Member

Posts: 22
Threads: 3
Joined: Sep 2011
Reputation: 1
#4
RE: Scripting Problems !

Ok thanks a lot guys ... The last comment helped, but the key is still not working for me ... It says unexpected token or other errors when I try to fix it .. So this is the door name :
"monsterdoor"
This is the key:
"key_study_1"
Maybe you can give me the exact command now ?
And "itskody" can you give me the command when touching something ?
Oh and how to do another scare ? like where do i put the command ? I tried like this but it didnt work , look maybe you will understand what do I want ...
{
AddEntityCollideCallback("Player", "ScriptArea_1", "Scare", true, 1);
}

void Scare(string &in asParent, string &in asChild, int alState)
{
GiveSanityDamage(10, true);
PlayGuiSound("amb_alert.snt", 0.5f);

PlayGuiSound("react_scare.snt", 0.5f);
}

{
AddEntityCollideCallback("Player", "ScriptArea_2", "Scare", true, 1);
}

void Scare(string &in asParent, string &in asChild, int alState)
{
GiveSanityDamage(10, true);
PlayGuiSound("amb_alert.snt", 0.5f);

PlayGuiSound("react_scare.snt", 0.5f);
}

What that I meant is that I want to do another scare effect in another place .. how to do it ,and how to do a scarier react effect ? or scarier insanity effect ?
And thanks for the help Smile

(This post was last modified: 09-13-2011, 07:49 PM by AmnesiaIsScary :S.)
09-13-2011, 07:40 PM
Find


Messages In This Thread
Scripting Problems ! - by AmnesiaIsScary :S - 09-12-2011, 02:39 PM
RE: Scripting Problems ! - by Obliviator27 - 09-12-2011, 05:52 PM
RE: Scripting Problems ! - by Itskody - 09-12-2011, 06:04 PM
RE: Scripting Problems ! - by AmnesiaIsScary :S - 09-13-2011, 07:40 PM
RE: Scripting Problems ! - by Itskody - 09-13-2011, 08:02 PM
RE: Scripting Problems ! - by AmnesiaIsScary :S - 09-13-2011, 08:19 PM
RE: Scripting Problems ! - by Itskody - 09-14-2011, 12:35 AM
RE: Scripting Problems ! - by AmnesiaIsScary :S - 09-14-2011, 05:52 AM
RE: Scripting Problems ! - by AmnesiaIsScary :S - 09-14-2011, 04:10 PM
RE: Scripting Problems ! - by Your Computer - 09-14-2011, 04:24 PM
RE: Scripting Problems ! - by AmnesiaIsScary :S - 09-14-2011, 05:16 PM
RE: Scripting Problems ! - by Your Computer - 09-14-2011, 05:22 PM
RE: Scripting Problems ! - by AmnesiaIsScary :S - 09-14-2011, 05:25 PM



Users browsing this thread: 5 Guest(s)