proc/MusicLoop(mob/M)
while(M)
M << 'song.mid'
sleep(length('song.mid'))
M << 'anothersong.mid'
sleep(length('anothersong.mid'))
ID:136498
![]() Sep 17 2002, 12:33 pm
|
|
If this isn't already on "the list", would it be possible to make it so length(sound) would return the length of the sound? This would be very helpful in playing loops of different songs, like so:
|
![]() Sep 17 2002, 1:58 pm
|
|
It's possible...look up the "wait" command (I think that's what it is)
|
Yes, but wait isn't very useful, because it won't let you play two sounds that loop one after the other.
|