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
sound question
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#6
RE: sound question

"21_scream10" can't be used in this function. The string used for the sound name must be a .snt (sound configuration) file. The only available .snt file that includes that specific sound (as well as 11 others the .snt chooses at random) is "21_screams". Your function should be:

PlaySoundAtEntity("secretkey", "21_screams", "Player", 1, false);


Hope that helped.

Also, you don't need an internal name unless you intend to use a function like StopSound or FadeInSound (both of which only use the internal name, not the actual name of a .snt file). You can leave it blank ("") if you'd like.

I rate it 3 memes.
(This post was last modified: 07-31-2012, 02:59 AM by Adny.)
07-31-2012, 02:55 AM
Find


Messages In This Thread
sound question - by Soverain - 07-31-2012, 01:08 AM
RE: sound question - by ksnider - 07-31-2012, 01:59 AM
RE: sound question - by Soverain - 07-31-2012, 02:06 AM
RE: sound question - by ksnider - 07-31-2012, 02:10 AM
RE: sound question - by Soverain - 07-31-2012, 02:47 AM
RE: sound question - by Adny - 07-31-2012, 02:55 AM
RE: sound question - by Soverain - 07-31-2012, 03:44 AM
RE: sound question - by Adny - 07-31-2012, 03:50 AM
RE: sound question - by Soverain - 07-31-2012, 04:01 AM



Users browsing this thread: 3 Guest(s)