ID:136498
 
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:
proc/MusicLoop(mob/M)
while(M)
M << 'song.mid'
sleep(length('song.mid'))
M << 'anothersong.mid'
sleep(length('anothersong.mid'))
It's possible...look up the "wait" command (I think that's what it is)
In response to Sariat
Yes, but wait isn't very useful, because it won't let you play two sounds that loop one after the other.
In response to WizDragon
What command are we talking about here? I don't see any "wait" command in the reference.
In response to Foomer
He means the wait argument in the sound proc.