Author Topic: On Player touch, Client, Play Music.  (Read 1946 times)

It doesn't cut off? I thought that music could only travel so far and you cant put them close enough to not have a dead zone.
Or how bout ChangeMusic And SetMusic.
I also thought playsound only played sound. Not Music.
What I mean is that you couldn't make Client->PlayMusic just by editing Client->PlaySound a bit, since there'd be no way to stop playing the music once started - any other music would play on top of that and so on until it breaks your speakers or something.

onActivate self toggleEventEnabled 1 2
onActivate <NAMED BRICK> setMusic <MUSIC>
onActivate <NAMED BRICK> setMusic <MUSIC>
i did that on nooblets city RPG, when you activated one of the music bricks, the other 1 would stop and this 1 would start playing.

What I mean is that you couldn't make Client->PlayMusic just by editing Client->PlaySound a bit, since there'd be no way to stop playing the music once started - any other music would play on top of that and so on until it breaks your speakers or something.
I tried to ask Badspot to make a GameConnection::stopSound, but he rejected that idea.

i did that on nooblets city RPG, when you activated one of the music bricks, the other 1 would stop and this 1 would start playing.
It also only works with one person. If two people triggered two different songs you wanted to play, only one would play. This is too good of an Idea to let die.

The private music player, where you can play any music on your music list on any other server without it interfering with anyone else. Why cant there be an event that sets what it plays? And of course it would have a "NONE" option...