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
How do sound entities work?
Southlaguna Offline

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
Find Reply
Your Computer Offline

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.

Tutorials: From Noob to Pro
03-29-2012, 10:23 PM
Website Find Reply

Users browsing this thread: 1 Guest(s)