[Solved] Attack to pass through enemy

Started by Nestor, April 29, 2021, 12:17:59 AM

Previous topic - Next topic

Nestor

Hey everyone, I'm coding right now a Mystic Smash move, inspired by MvC3; in this version, Shuma-Gorath passes from one side to another, no matter the char's size (Nemesis, Sentinel...).

https://youtu.be/sc-kRjTpeSY (attack appears at 0:13)

I'm disabling PlayerPush so Shuma can pass to the other side, but it seems that it resets with every hit, so he can't pass to the other side at all and just keeps pushing the character. My AIR anim includes both a blue and red box; disabling either one creates the effect I'm looking for, however.

[State 0, PlayerPush]
type = PlayerPush
trigger1 = 1
value = 0

[State 600, 2]
type = HitDef
trigger1=time%4=0
attr = A, SA
damage    = 28, 0
guardflag = HA
priority = 3
pausetime = 4,4
sparkno = S-1
sparkxy=var(43):=-20,var(44):=-60
hitsound   = S0,3
guardsound = S0,9
guard.sparkno = s7004
ground.type = High
ground.slidetime = 8
ground.hittime  = 12
ground.velocity = 0
air.type = High
air.velocity = 0,ifelse((numhelper(7003) < 1),-7.5,((vel y)-.1))
air.hittime = 12
guard.hittime = 35




Thank you for your help :)

Nep Heart

 Have you tried adding ignorehitpause = 1for playerpush seeing as it resets each hit?

Nestor

Hahaha, it works! Didn't think about it, thank you so much Nep Heart!