ID:175263
 
I need some information or code examples/snipets on how to add midi files to games. Here is what I want to be able to do:
click a verb
a list pops up with music files in them


I want a code sample or snipet of this same thing when you are in a car and I also want one while you are next to something or just in an open area. Kind of like popup verbs.

Thank your for your time and effort,
Jeff Talscor
(TerminatorX13 - BYOND key)
I think I wanted to do something like that but I dunno exactly how..
TerminatorX13 wrote:
I need some information or code examples/snipets on how to add midi files to games. Here is what I want to be able to do:
click a verb
a list pops up with music files in them


I want a code sample or snipet of this same thing when you are in a car and I also want one while you are next to something or just in an open area. Kind of like popup verbs.

Thank your for your time and effort,
Jeff Talscor
(TerminatorX13 - BYOND key)


I think I figured it out... do this

mob/var/list/MIDI = list('Go-Go-Go.mid','Fight.mid','YEAH!!.mid')//change this to your midis

mob
verb
TESTING()
var/V = input("Choose")in Midi
usr << sound(V,1)

!!! WOW how easy was that... and I was trying so hard to find how O_O
In response to Shy_guy197
Thanks Shy_Guy