Problems with Win Poses

Started by ZackTheRiolu, November 06, 2016, 08:59:24 PM

Previous topic - Next topic

ZackTheRiolu

I need your help more than ever! ç.ç

Recently i maked a special move that, if he could send k.o. the opponent, if he was alone (1v1), nextly would change animation by activating a specific victory pose.

If it were a fight 1 vs. 2, it would trigger another victory pose.

The problem is that although i tried and re-tried with various codes available, the maximum that i got it's when, once you activated the animation of the win pose, the game does not end, but later after some waiting not needed, being showed another victory animation random and then disappear after a few seconds ending the fight.

How can i do? I tried everything i knew. I tried to understanding if like "Ifelse" and "Fvar" it would be the solution but nothing aniway..

altoiddealer

For the round to end:
Player 1 must be in State 0 with Ctrl = 1
Player 2 must be in state 5150

So, to "go directly" from the special to the win pose, you will need to return to State 0 and add some custom code there.

I have such a winpose in my Jailbot character.  I put code on a few of the moves in Commands file, preventing activation while in State 0 - but it should be on all of them.  I only tagged the ones that could be easily executes in 1 tick, such as holding a directional button.  So in State 0 I also included a CtrlSet controller, that toggles Ctrl to 1 for 1 tick, every 60 ticks.

[State 0, Ctrl Toggle]
type = CtrlSet
trigger1 = var(5) = 2 ;custom win pose activated
value = Time%60 = 59


ZackTheRiolu

I would like to try the example you've suggested, but could you be gentle to explain me better what i've to do please?
Thanks in advance (so far i just copy and paste the code you showed, but still not works as i hoped. It goes on the State 0 but it's still not immediate as you suggested)

altoiddealer

You'll also need an active AssertSpecial NoKoSlow, and maybe also NoKoSound

You don't have to be using anim 0, just be in State 0.  So you should also have a special ChangeAnim waiting for you in State 0.

The round should end as quickly as any other?  There is no shortcut to make the round end faster than usual aside from NoKoSlow


ZackTheRiolu

I'll gonna give it few tries and that i will update you. I invite you tomorrow to check again my page where i will tell you as it goes.
I'm sorry if i didn't answered you before, but in part i got busy with my job and i'll be slower for the next days.

See you later like and thanks already for your support ^^