Help with a Sub-Zero "fatality"

Started by Sean Altly, October 09, 2012, 01:29:49 AM

Previous topic - Next topic

Sean Altly

So I'm trying to make Sub-Zero's opponent explode into blood and ice chunks if he defeats them with his Brutality Super Move. I don't want to code a whole fatality system, just have that one thing. I got it working fine, and then realized it was happening even though it wasn't the end of the match. Is there a way to detect that it's the last round of a match? I tried matchover, but it only works for win poses and such.

So, basically, when you're in the deciding round of a match, I'd like them to explode at the end of the Brutality super. Like I said, getting them to go into the exploding/fatality state isn't the issue. I just need a way to make it ONLY happen in the last/deciding round. Any help?

Download Last Bout now!

Red Lunchbox

#1
For now, the best you can do is assume most people are playing MUGEN with best-of-three matches and use a Var to detect when you've already won a round, which would theoretically make winning the next one decide the game.

Sean Altly

Ah, I see. Well, I did that and it works now, I guess people will just have to deal with it if they decide to change the rounds setting.

Download Last Bout now!