Blockland Forums > Help
How can i make, when minigame starts, a different song plays.
Greek2me:
--- Quote from: ScratchTehEPICSpaceDude on March 15, 2012, 07:04:38 AM ---You would need to download Slayer, which has those events.
--- End quote ---
No it doesn't.
Minigame Events, by Destiny/Zack0Wack0
Blocki:
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
Kill All:
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...
Blocki:
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.
Orthone:
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.