News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

ss

Started by knn6, April 02, 2020, 09:12:56 AM

Previous topic - Next topic

knn6

ss
ss

VictorCYBR

If both fighters have a statedef -2 in their own CNS, everything in common1.cns (in statedef -2) will be skipped. MUGEN gives priority to characters over the common1.cns. Any state the character have will overwrite the state with the same number in common1.

I really don't know a propper way to randomize music like this, tbh, if someone else knows I'd like to learn too.

Odb718

So if this is going to spawn at the very start of the battle, you'd need it to be in Statedef 5900.
You'd also want to make a check that only P1 will spawn the music.
I'm not 100% sure, but I _think_ the snd file has a size limit. I'm probably wrong on that though.

One thing I'd do for testing is try to get a regular sound effect to play before a whole song.
Make sure
trigger1 = StageVar(info.name) = "Mountainside Temple"
works using displaytoclipboard. But you might want to get things working on any stage first. Then add the other triggers.

If for some reason music can't be activated on time = 0, create a Var with the value(s) you want. Then after the initialization happens use that to spawn the song.
vVv Gouken718 vVv SabreTooth718 vVv