|
Post by SuchAGroovyGuy on Jun 5, 2022 1:29:52 GMT
As you may (or may not) have noticed, in my Diddy Kong mod, Diddy's Final Smash music carries over if he's KO'd prematurely.
I HAVE been trying to fix this, just so you know. I thought looking in the items folder would give me a clear answer, since the coding for items like the Hammer and Starman cancel out once your character is KO'd. Alas, I couldn't find a clear answer...
I KNOW it has something to do with this piece of coding:
{
if ( track_id > -1 )
tempmus_stop ( track_id );
instance_destroy();
}
The question is, where do I put this coding if I want the music to stop once the character is KO'd? Is there a specific command I need to enter like a state_type or what exactly?
|
|