Blockland Forums > Suggestions & Requests
[IDEA] Shuffle Music Bricks
ddht:
I came up with this idea when i was building a store. As far as I know of there isn't an addon like this. This would be the same as a regular music bricks except you select more than one song and it shuffles them. Please tell me if there is any way to do this with events or if an addon like this already exists.
Teneksi:
With VCE, you could do a relay that chooses a random value and setMusic based on that. The problem with that would be it randomly cutting out in the middle of the loop, although that could be avoided if you give it a different, carefully timed delay for ending each loop.
I think I'm going to try and do a video on this, actually.
Sorry, there's no way I'm going to work out my hackiest events since BlockoMYST while Skyrim is three clicks away. Hopefully a real script could do this much more efficiently.
Mr.Noßody:
--- Quote from: Eksi on August 09, 2012, 12:06:54 AM ---With VCE, you could do a relay that chooses a random value and setMusic based on that. The problem with that would be it randomly cutting out in the middle of the loop, although that could be avoided if you give it a different, carefully timed delay for ending each loop.
--- End quote ---
We tried doing this. Oh god does it not work. At-least correctly...
So awful..
A brick that does it for you would be wonderful.
Wynd_Fox:
--- Quote from: Eski on August 09, 2012, 12:06:54 AM ---With VCE, you could do a relay that chooses a random value and setMusic based on that. The problem with that would be it randomly cutting out in the middle of the loop, although that could be avoided if you give it a different, carefully timed delay for ending each loop.
I think I'm going to try and do a video on this, actually.
--- End quote ---
That sounds like a ton of work. An add-on to do this cleanly and well would be wonderful.
Mr.Noßody:
--- Quote from: Wynd_Fox on August 09, 2012, 01:43:25 AM ---That sounds like a ton of work.
--- End quote ---
It was, over 30 lines of eventing for a handful of songs. The timing never worked right since songs only start to play when the player gets in hearing distance.