Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do sound entities work?
Author Message
Southlaguna Offline
Junior Member

Posts: 45
Joined: Jan 2012
Reputation: 0
Post: #1
How do sound entities work?
I've noticed in the hpl Editor that there is an option to place sounds, I have tried using these sounds but no matter what sound i load to it, it doesnt play, I've tried "Preloadsound" script but still nothing happens. Can anyone tell me how to use those things?

03-29-2012 09:31 PM
Find all posts by this user Quote this message in a reply
Your Computer Offline
SCAN ME!

Posts: 3,237
Joined: Jul 2011
Reputation: 216
Post: #2
RE: How do sound entities work?
Sounds tend to have a predefined range of distance (though this can be overridden in the level editor). This is used to determine how close the player has to be before they can hear the sound being played at the entity. Sound entities will play their sound the moment the game loads the map. So, if the sound is not a looping sound, by the time the player is within range of the sound, the sound may no longer be playing. To see if the sound is being played, you can use the debug menu to view currently playing sounds.

Tutorials: From Noob to Pro
03-29-2012 10:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)