Quote:
Originally Posted by ffcmike
It looks as if getmusicfilename() may be acting faulty. You could try out-putting it's value for debugging to see if it's somehow being reset, and if necessary store the current playing song in a variable instead.
I actually use stopmidi() even though it's supposedly the same function as stopmusic() and kept just for compatibility purposes, does this work better?
Also while this is not the problem here player.level is an object, to compare it with a string it's better to use "player.level.name".
|
Actually stopmidi() doesn't work any better for me. Regardless of what getmusicfilename() returns I would still think that adding a stopmusic() to a onCreated() of another weapon would have stopped it, but it didn't.
As for the player.level being an object. I knew I should have been using player.level.name.. but I guess I never thought of player.level as an actual object itself, thats neat. I'll change that right away but still looking for ideas on the music. Would love to test out on PC to see if it's maybe a mac bug or for everyone.
Also, I am very disappointed that midi no longer work with graal.. they were so awesome