Southlaguna
Member
Posts: 70
Threads: 21
Joined: Jan 2012
Reputation:
0
|
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 |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
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.
|
|
03-29-2012, 10:23 PM |
|