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
Cant have PlaySoundAtEntity with SetSwingDoorClosed?
Ge15t Offline
Junior Member

Posts: 48
Threads: 8
Joined: Feb 2011
Reputation: 0
#6
RE: Cant have PlaySoundAtEntity with SetSwingDoorClosed?

(05-05-2011, 08:48 AM)jens Wrote: There must be a snt file for it to work, so if you simply tried react_scare1.snt that does not work, but I think there is a react_scare.snt which will randomly select one of the react_scareX.ogg to play.

Tried that and it still does not work..

void CollideRoomTwo(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("mansion_1", true, true);
PlaySoundAtEntity("", "react_scare.snt", "Player", 0, false);

}

I have tried different variations of of the sound file name as well as the target entity (player).. do i need someone in the first quotations? i didnt for the other script line with the door?
05-05-2011, 08:56 AM
Find


Messages In This Thread
RE: Cant have PlaySoundAtEntity with SetSwingDoorClosed? - by Ge15t - 05-05-2011, 08:56 AM



Users browsing this thread: 1 Guest(s)