r/forgescripting • u/szymshady • Nov 28 '22
Script to play audio in a specific area?
At the moment I’ve got a bunch of audio emitters all over this huge lava pit (fire sounds and bubbling tar etc) is there a way to have it so that I can just have audio play within a boundary?
Total script newcomer so screenshots of a script would help a tonne!
4
Upvotes
6
u/szymshady Nov 28 '22
Here’s a look at the section I’d want covered, can you make audio play in an area this large?
2
u/XenHarmonica Nov 29 '22
I'm trying to do this exact thing. It seems like when I make a bounded box. The audio starts fading out as soon as I leave the box and phase in when I approach the box but I'm still outside of it I can hear the noise just quieter. My goal is to have a hard boundary that stops the audio as soon as you leave the Box
5
u/Toland_the_Mad Nov 28 '22
Pretty sure you just drop an audio object, select the sound, set a boundary, and then reference it in an audio script?