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
Level Editor Help Sounds(5) not working
Darkfire Offline
Senior Member

Posts: 371
Threads: 22
Joined: May 2014
Reputation: 15
#2
RE: Sounds(5) not working

The sound you're using is not what you think. It actually plays randomly from time to time (at least that's what I experienced) and the distance you can set is the distance at which you'll hear it. But it isn't a trigger; if you enter the hearable distance it doesn't necesseary have to play the sound.

To actually do that you have to use some basic scripting.

Use PlaySoundAtEntity (with entity being a script area) triggered by entering an area (AddEntityCollideCallback, entities being the player and the area). You can use the same area for both, or separate if you want the sound to come from a very specific point in space.

If you need more help with the script just say

EDIT: You can see the properties of the sound by opening the .snt file.

Keep in mind that there are sounds that play all the time, in the file the line that states it is Stream="true", I believe. These are for example some water sounds.

(This post was last modified: 05-23-2016, 06:18 PM by Darkfire.)
05-23-2016, 06:12 PM
Find


Messages In This Thread
Sounds(5) not working - by TimProzz - 05-23-2016, 05:32 PM
RE: Sounds(5) not working - by Darkfire - 05-23-2016, 06:12 PM
RE: Sounds(5) not working - by TimProzz - 05-23-2016, 06:43 PM
RE: Sounds(5) not working - by Darkfire - 05-23-2016, 06:58 PM
RE: Sounds(5) not working - by TimProzz - 05-23-2016, 07:50 PM
RE: Sounds(5) not working - by Romulator - 05-23-2016, 09:51 PM
RE: Sounds(5) not working - by TimProzz - 05-24-2016, 12:53 PM
RE: Sounds(5) not working - by Romulator - 05-24-2016, 03:53 PM



Users browsing this thread: 1 Guest(s)