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
#6
RE: ** SOLVED ** No sound when unlocking door?

asSoundName - internal name
asSoundFile - the sound to use + extension .snt
asEntity - the entity to create the sound at, can be “Player”
afFadeTime - time in seconds the sound needs to fade. Avoids enemies hearing the sound if afFadeTime is at least 0.1f
abSaveSound - if true, a looping sound will “remember” its playback state (currently playing/stopped), and that state will be restored the next time the level is entered. If true, the sound is never attached to the entity! Note that saving should only be used on looping sounds!

And you don't need the .snt after unlock_door.snt You do need it for other sounds though. And it wouldn't harm if you did, you just don't need it.

Edit: oops, a little too late
(This post was last modified: 05-06-2013, 02:13 AM by OriginalUsername.)
05-01-2013, 06:41 PM
Find


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



Users browsing this thread: 1 Guest(s)