Author Topic: How can i make, when minigame starts, a different song plays.  (Read 717 times)

Like, i mean when a mingame round starts, on music brick random song starts playing, like one round it plays song1 and when minigame restarts it plays song2?
how can i do that? please help...

You would need to download Slayer, which has those events.

But, it can't be on minigame start. Try to do it when someone wins.


You would need to download Slayer, which has those events.
Where? How?

You would need to download Slayer, which has those events.
No it doesn't.

Minigame Events, by Destiny/Zack0Wack0

Ok, but how do i make it choose a random song?
I know it works with VCE but it is a little dumb to make 200 events for a random song changer

Might be a spammy way to do for lazy people who like duplicating
Make a speaker and then
| - Enabled
O - Disabled
First Music Brick
0     0 | - OnRelay - Self - ToggleEventEnabled - 1 2 3
1 100 | - Onminigamereset - Self - SetMusic - Music
2 100 | - Onminigamereset - Self - FireRelay(Directiontonextbrick)
3 100 | - Onminigamereset - Self - ToggleEventEnabled - 1 2 3

2nd - 2nd to last music bricks
0     0 | - OnRelay - Self - ToggleEventEnabled - 1 2 3
1 100 O - Onminigamereset - Self - SetMusic - Music
2 100 O - Onminigamereset - Self - FireRelay(Directiontonextbrick)
3 100 O - Onminigamereset - Self - ToggleEventEnabled - 1 2 3


Last brick
0     0 | - OnRelay - Self - ToggleEventEnabled - 1 2 3
1 100 O - Onminigamereset - Self - SetMusic - Music
2 100 O - Onminigamereset - NamedBrick - First - FireRelay
3 100 O - Onminigamereset - Self - ToggleEventEnabled - 1 2 3


For a random song changer
0   OnMinigameReset - Self - VCEModVariable - Music - Set - 1
1   OnMinigameReset - Self - VCEModVariable - Music - Random - 5(Number of Songs)
2   OnVariableUpdate - Self - VCEIfValue - <var:br:Music> - == - 1 - 3 3 (Executes line 3)
3   OnVariableTrue - Self - SetMusic - Song 1
4   OnVariableUpdate - Self - VCEIfValue - <var:br:Music> - == - 2 - 5 5 (Executes line 5)
5   OnVariableTrue - Self - SetMusic - Song 2
6   OnVariableUpdate - Self - VCEIfValue - <var:br:Music> - == - 3 - 7 7 (Executes line 7)
7   OnVariableTrue - Self - SetMusic - Song 3
8   OnVariableUpdate - Self - VCEIfValue - <var:br:Music> - == - 4 - 5 5 (Executes line 9)
9   OnVariableTrue - Self - SetMusic - Song 4
etc...




That is what I could have done before, I was more thinking about randomizing it without event spam... Like cat123 has more than 100 songs (I believe) and they change to a random one every reset.

If you use baseplate that fires a projectile, say a bullet, down, and you have an entire grid of 1x1 bricks underneath this plate, I would give about a bricks worth of room just for the sake of it, and then have onProjectileHit -> NamedBrick (Music Bricks) -> PlayMusic on each of the bricks below the plate, that is a nice randomizer. You could also raise the chance of songs by making different sized bricks. For example, you could have a 4x4 brick and it would have 16 chances instead of 1.

Well i actually dont know if cat123 really spammed events, well i dunno, seems a bit complicated, i believe cat 123 did that somehow else...

Well i actually dont know if cat123 really spammed events, well i dunno, seems a bit complicated, i believe cat 123 did that somehow else...
I believe he did it by script.

I believe he did it by script.

okay, i'll check forums, maybe i'll find anything.