ID:155089
 
Music()
var/sound/S = 'sounds/Windswept.ogg'
src << S
usr << S

This is one of the many variations I have tried. I can't seem to get it to play sound. This is a verb. What am I doing wrong?
Try it this way:



usr<<sound('audiofile.mid')
In response to Genesismagician
nope, does it have to be a midi? It said it supported ogg format.
In response to Angelsam100
Ignore the .mid and put .ogg. It should work. It should work. Might take a while, but it should play.

Edit: Also don't put /sound/Audiofile. Just put audiofile.ogg
In response to Lugia319
Music()
usr << sound('Windswept.ogg')

that is the last thing I tried, it does nothing.... I'm very confused right now.
In response to Angelsam100
Are you sure that your sound preferences are on?
In response to Lugia319
try playing in Channels kind of like this
usr<<<<sound(file,repeat,wait,"Player Chanel",100)