The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Soverain Offline
Junior Member

Posts: 18
Threads: 5
Joined: Jul 2012
Reputation: 1
#1
sound question

Okay guys, I created a script where a head will appear upon picking up a key. My question is how do I make the scream sound? I imagine it would be similar to this...


PlaySoundAtEntity("secretkey", "21_scream10.ogg", "player", 1, false);


but I am unsure if this is correct. Soundname would be the object the player has to interact with right?
(This post was last modified: 07-31-2012, 04:02 AM by Soverain.)
07-31-2012, 01:08 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: 1 Guest(s)