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
Asphex Offline
Junior Member

Posts: 26
Threads: 2
Joined: Feb 2012
Reputation: 2
#8
RE: Scare Event Help

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();
StopSound("scare_scratch", 0);
}


Try if that works. And about the text.. did you mean that you want the text to appear on pickup?

My stories: The Haunted Stairwell v1.0
03-10-2012, 01:56 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)