YesNoOk
avatar

Super cancelling upon landing after previous state hit only help (Read 240 times)

Started by krudelu, May 20, 2019, 01:48:17 pm
Share this topic:
Super cancelling upon landing after previous state hit only help
#1  May 20, 2019, 01:48:17 pm
  • **
  • (>owo)><(owo<)
Hello,

Here's what I'm trying to do: The move will put the character in the air statetype and it'll have a separate state for the landing state. What I'm trying to make it happen is that the move can only be super cancelled from only during the landing state and if the move hits.

Tried this code already in the landing state and it doesn't seem to work

[State 1000,]
type = ChangeState
triggerall = stateno = 1020 && movecontact
trigger1 = command = "Lunge"
trigger1 = time = [3,13]
value = 2400

is there a better way to implement it?

Last Edit: May 20, 2019, 02:22:36 pm by krudelu
Re: Super cancelling upon landing after previous state hit only help
#2  May 20, 2019, 02:13:29 pm
  • *****
  • Glorious Bastard
  • Halfway between both negatives
    • UK
    • plasmoidthunder.neocities.org
Add movehitpersist = 1 to the landing state's statedef.
3DS FC: 0516 - 7483 - 3564
Oh, I want a diagram. I fucking love diagrams.
Re: Super cancelling upon landing after previous state hit only help
#3  May 20, 2019, 02:22:28 pm
  • **
  • (>owo)><(owo<)
Ok. Got it working. Thanks
Last Edit: May 20, 2019, 02:32:41 pm by krudelu