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
#9
RE: Scare Event Help


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

void DoorScratch2(string &in asTimer)
{
StopPlayerLookAt();
StopSound("scare_scratch", 0);
}


This still didn't help. The sound won't stop. Btw I found out that some sounds in level editor are combined sounds from sound folder. For example. In sound folder there are 4 types of animal squeal sounds, but in level editor there is only 1 and each time it plays a random one from those 4... is there a way around it?
03-10-2012, 03:35 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: 3 Guest(s)