Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The trick with the sound
Cgturner Offline
Junior Member

Posts: 28
Threads: 7
Joined: Sep 2010
Reputation: 0
#6
RE: The trick with the sound

Jens, I used this:
void InteractingWithDoor(string &in asEntity)
{
    PlaySoundAtEntity("doorinteract", "21_screams.snt", "key_1", 1, false);
}
The sound plays perfectly, and forgive me if I just missed it, but how would you make it so the sound only plays once, and not every time you interact with the door?
09-17-2010, 03:31 PM
Find


Messages In This Thread
The trick with the sound - by Dismortal - 09-17-2010, 04:41 AM
RE: The trick with the sound - by jens - 09-17-2010, 07:13 AM
RE: The trick with the sound - by Dismortal - 09-17-2010, 01:44 PM
RE: The trick with the sound - by jens - 09-17-2010, 01:59 PM
RE: The trick with the sound - by Dismortal - 09-17-2010, 02:40 PM
RE: The trick with the sound - by Cgturner - 09-17-2010, 03:31 PM
RE: The trick with the sound - by jens - 09-17-2010, 04:24 PM
RE: The trick with the sound - by Cgturner - 09-17-2010, 04:28 PM
RE: The trick with the sound - by Requiem - 09-19-2010, 05:14 PM
RE: The trick with the sound - by Pandemoneus - 09-19-2010, 06:00 PM
RE: The trick with the sound - by Armored Cow - 09-19-2010, 10:08 PM
RE: The trick with the sound - by Pandemoneus - 09-19-2010, 11:08 PM



Users browsing this thread: 1 Guest(s)