I made a jukebox for my game and got everything working except one thing that seems so simple but it is kicking my butt. I can't get it to only play in the one area near the jukebox. I have music bricks throughout the game, it is pretty much a showcase with a lot of music video sets so I don't want the music in the jukebox to play all over. I am not great at scripting and I have tried so many things. I know I probably have to put it somewhere in the starterplayer or something but I am so lost. I don't think there is one video that I did not watch but it doesn't break that one part down.

4 comments

0

Please show the code you used

1

just change the maxdistance in the sound

0

Go to Sound (music your playing)>Properties>Data>MaxDistance and change it into what fits.

0

if you wanna do it th hard way, find the magnitude from the soundbrick, make a certain range that you have to be in to hear it, and make it play only in that range