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?
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#2
RE: No sound when unlocking door?

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)
(This post was last modified: 05-01-2013, 06:15 PM by OriginalUsername.)
05-01-2013, 06:13 PM
Find


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



Users browsing this thread: 2 Guest(s)