mob
Login()
world << sound('a.mid')
also, would this work so that when a.mid is finished, b.mid plays, or would they cut each other off?
mob
Login()
world << sound('a.mid')
world << sound('b.mid')
ID:267532
Jun 7 2003, 3:31 pm
|
|
Ok, I dont' get why this doesn't work!
mob also, would this work so that when a.mid is finished, b.mid plays, or would they cut each other off? mob |
I dont know about your second problem but I think I can fix your first
mob/Login() world<<"[usr] has logged in!" usr<<sound('Your_Song.mid',1) |
In response to Chance777
|
|
Just a note, and you'll get sick of hearing this if you havent already, usr is bad in most cases. Its a lot to explain but basically you should try and use src instead of usr when ever possible.
Try giving http://www.byondscape.com/ascape.dmb/LummoxJR.2002-1104/ a read if you want to know more. |
In response to DarkView
|
|
Yes, I know that, I just typed that up from memory real quik, and didn't think about it... Thanks for the tips about sound, I got some updates to BYONDradio that are extremely helpful now...
|
work?
For the second bit, take a look at the reference page for the sound proc.
sound(file,repeat=0,wait,channel)
sound('a.mid')
sound('b.mid', 0, 1)
With wait set to 1, it will wait in a queue before it plays, otherwise they will cut each other off.