Repeating the same sound over and over


#1

I’m trying to have the sound of a clock striking 12 so I need to have a sound play repetitively in order to do that , but I’m not sure how to script it. I’m using the sound belltoll which is too long to let play all the way through, so I only want the first 3 or 4 second of it to play before the next one starts. Any advice would be much appreciated.


#2

Ask @Dara.Amarie


#3

Mkay


#4

are you using the code:

sound belltoll
or are you using

music belltoll


#5

you can just do
sound belltoll
@pause for 4

& then just do the other music (: you can’t time how long a sound is therefore you’ll have to add pauses


#6

Right now I have it as
sound belltoll
@pause for 4
sound off
sound belltoll
@pause for 4
sound off

and so on. It gives me the warning that the sound belltoll is already playing and that I can’t add another sound off without something in between.


#7

you need to make sure there’s a pause in between sound off & sound belltoll.


#8

Got it, thanks


#9

I don’t recall if belltoll is single sound or not, but if you use music belltoll it will keep repeating (looping) the bell sound until you use music stop. So you can either put a pause for the duration of how long you want the bell to ring or you can put whatever script you are using between the start and stop.


#10

volume sound 0 0
volume music 0 0


#11

Get an answer to your question? :slight_smile:


#12

Yep!


#13

Glad this got resolved! Closing :v:t2:


#14