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
Scare Event Help
ArcherKiller Offline
Junior Member

Posts: 6
Threads: 1
Joined: Mar 2012
Reputation: 0
#4
RE: Scare Event Help

Thank you for the answers. So here is the thing. The sound of scratching doesn't stop. Here is script.


SetEntityPlayerInteractCallback("lantern_1", "DoorScratch1", true);
}

void DoorScratch1(string &in asEntity)
{
PlaySoundAtEntity("", "scare_scratch", "private_room", 0, false);
StartPlayerLookAt("private_room", 10, 10, "");
PlaySoundAtEntity("", "react_breath", "Player", 0, false);
AddTimer("", 2, "DoorScratch2");
}

void DoorScratch2(string &in asTimer)
{
StopPlayerLookAt();
}

Oh and if possible can you tell me how can I add a lantern lighted while player is looking and to add text. Sorry for making requests, but I learn better from examples.
(This post was last modified: 03-09-2012, 05:32 PM by ArcherKiller.)
03-09-2012, 05:28 PM
Find


Messages In This Thread
Scare Event Help - by ArcherKiller - 03-09-2012, 09:31 AM
RE: Scare Event Help - by Shives - 03-09-2012, 03:57 PM
RE: Scare Event Help - by Stepper321 - 03-09-2012, 04:02 PM
RE: Scare Event Help - by ArcherKiller - 03-09-2012, 05:28 PM
RE: Scare Event Help - by Datguy5 - 03-09-2012, 10:40 PM
RE: Scare Event Help - by ArcherKiller - 03-09-2012, 11:49 PM
RE: Scare Event Help - by Datguy5 - 03-10-2012, 10:08 AM
RE: Scare Event Help - by Asphex - 03-10-2012, 01:56 PM
RE: Scare Event Help - by ArcherKiller - 03-10-2012, 03:35 PM
RE: Scare Event Help - by Nevicar - 03-10-2012, 04:47 PM
RE: Scare Event Help - by JMFStorm - 03-10-2012, 05:09 PM
RE: Scare Event Help - by Stepper321 - 03-10-2012, 05:12 PM
RE: Scare Event Help - by ArcherKiller - 03-10-2012, 07:37 PM
RE: Scare Event Help - by ArcherKiller - 03-11-2012, 08:31 AM



Users browsing this thread: 1 Guest(s)