Home   Help Search Login Register  

Author Topic: Regular sound loop  (Read 707 times)

0 Members and 1 Guest are viewing this topic.

CiA Blaschoiw

  • Guest
Regular sound loop
« on: 01 Nov 2002, 05:13:38 »
Hi !

I know i used this once but i forgot how to do it. How can I make a sound loop for 5 or more rounds. I know it is damn easy, but I have forgotten it  ???
Already checked tutÂ's on that, but no trace.

Earl

  • Guest
Re:Regular sound loop
« Reply #1 on: 01 Nov 2002, 15:37:34 »
Sure, here is a simple script call it whatever u want

_i = 0;
#loop
_i = _i + 1
playmusic "name of ur song"
~70 - the length of the song
? (_i <= 5): goto "end"
goto "loop"

#end
ForceEnd - or something like that
« Last Edit: 01 Nov 2002, 15:40:24 by Earl »

CiA Blaschoiw

  • Guest
Re:Regular sound loop
« Reply #2 on: 04 Nov 2002, 05:00:50 »
hehe didnÂ't ask for music, but works fine with sounds also.
thx

Captain Winters

  • Guest
Re:Regular sound loop
« Reply #3 on: 06 Nov 2002, 22:58:55 »
i use this one. seems a lot simpler!

#loop
playSound <sound title>
goto "loop"


it works too cuz ive used it b4

Navy_Seals

  • Guest
Re:Regular sound loop
« Reply #4 on: 06 Nov 2002, 23:48:43 »
Sure Captain Winters, this will work as well, but it will be looping forever which i think u dont really want to, cheers ;)