Blockland Forums > Help
Making a delay that is over 30 seconds.
slimabob:
What if I was trying to link songs I made together? Would I do:
--- Code: ---[x] [0 ] 1. onActivate Self fireRelay
[x] [30000] 2. onRelay Self fireRelay
[x] [0] 3. onRelay Self VCE_modVariable [song] [Add] [1]
[x] [0] 4. onRelay Self VCE_ifVariable [song] [==] [2] [5]
[x] [0] 5. onVariableTrue Namedbrick Music Setmusic [pt. 1]
[x] [0] 6. onRelay Self VCE_ifVariable [song] [==] [4] [7]
[x] [0] 7. onVariableTrue Namedbrick Music Setmusic [pt. 2]
[x] [0] 8. onRelay Self VCE_ifVariable [song] [==] [6] [9]
[x] [0] 9. onVariableTrue Namedbrick Music Setmusic [pt. 3]
[x] [0] 10. onRelay Self Firerelay
--- End code ---
?
jes00:
--- Code: ---[x] [0 ] 1. onActivate Self fireRelay
[x] [30000] 2. onRelay Self fireRelay
[x] [0] 3. onRelay Self VCE_modVariable [song] [Add] [1]
[x] [0] 4. onRelay Self VCE_ifVariable [song] [==] [2] [5]
[x] [0] 5. onVariableTrue Namedbrick Music Setmusic [pt. 1]
[x] [0] 6. onRelay Self VCE_ifVariable [song] [==] [4] [7]
[x] [0] 7. onVariableTrue Namedbrick Music Setmusic [pt. 2]
[x] [0] 8. onRelay Self VCE_ifVariable [song] [==] [6] [9 10]
[x] [0] 9. onVariableTrue Namedbrick Music Setmusic [pt. 3]
[x] [0] 10. onVariableTrue Self VCE_modVariable [song] [Set] [0]
--- End code ---
This would switch the song every minute.
slimabob:
--- Quote from: jes00 on August 31, 2011, 09:51:14 PM ---This would switch the song every minute.
--- End quote ---
Awesome, that's what I want. Thanks.
slimabob:
So now it isn't working. It starts with song #2 and then continues as normal. Ive already got a button to reset it to 0 but it still doesn't want to work.
Orthone:
--- Quote from: slimabob on September 01, 2011, 01:01:47 AM ---
--- End quote ---
4 4
6 6
Can't have a single number.