Blockland Forums > Help
How do you loop a sound?
Peejster:
--- Quote from: Smeeble on April 17, 2010, 04:44:04 PM ---It won't work. :(
--- End quote ---
Put a delay on the "onrelay firerelay"
Smeeble:
This is what I have:
onActivate > alarm > setLight > Alarm
onActivate > alarm > setColorFX > Glow
onActivate > alarm > fireRelay
onRelay > alarm > fireRelay
onRelay > alarm > playSound > alarm.wav
Smeeble:
--- Quote from: Peejster on April 17, 2010, 04:45:06 PM ---Put a delay on the "onrelay firerelay"
--- End quote ---
I did.
Peejster:
--- Quote from: Smeeble on April 17, 2010, 04:47:14 PM ---I did.
--- End quote ---
The problem is, you're having the button fire a relay to the alarm brick, but your events are on the brick that's activated.
onRelay > self > fireRelay
onActivate > self > fireRelay.
Smeeble:
--- Quote from: Peejster on April 17, 2010, 04:48:26 PM ---The problem is, you're having the button fire a relay to the alarm brick, but your events are on the brick that's activated.
onRelay > self > fireRelay
onActivate > self > fireRelay.
--- End quote ---
Just put those in the alarm brick?