ID:270272
 
i tried to put music in my game and it wont work i want it to makle it so when i enter a cave the music changes to cave music and when i leave the cave it changes to regular music again.
area
CaveMusic
entered(mob/M)
usr<<sound('sound.mid')
exited(mob/M)
usr<<sound(null)
In response to Dragon_fire6653
You pass and argument, and then you abuse 'usr'? And you make the music restart everytime he enters the area? Really..
In response to Mysame
i wasnt sure if it was right...infact someone told me thats how you do it.