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
** SOLVED ** No sound when unlocking door?
FurtherGames Offline
Member

Posts: 72
Threads: 23
Joined: Apr 2013
Reputation: 1
#3
RE: No sound when unlocking door?

(05-01-2013, 06:13 PM)Smoke Wrote: the playsoundatentity is wrong, it should be more like this:

PlaySoundAtEntity("", "unlock_door", "Doorname", 0, true);

The number is the time the sound takes to fade. The file isn't even 150 seconds long, so that's a problem.
The boolean is whether the sound should remember itself when it's looping and you're leaving/entering. It also won't attach to an entity when false. (I believe)


I was told the number (150) is how loud the sound plays. Where do I put the "unlock_door.snt" (That is the sound file)
05-01-2013, 06:24 PM
Find


Messages In This Thread
RE: No sound when unlocking door? - by FurtherGames - 05-01-2013, 06:24 PM



Users browsing this thread: 1 Guest(s)