News:

MFG's Character of the Month: September 2026 Voting

Main Menu

How do I buffer Attacks during Pause SCTRL?

Started by primordialgunna, July 13, 2024, 05:33:52 PM

Previous topic - Next topic

primordialgunna

So, I made my character be able to parry moves through a HitOverride. I realized that I couldn't really buffer attacks on the pause of the successful parry which makes it feel unresponsive.

Here's the Parry Statedef.
Spoiler (click to show)

; H. Parry ✦✦
[Statedef 6000]
type    = S
movetype= I
physics = S
juggle  = 0
poweradd= 0
ctrl = 0
velset = 0,0
anim = 6000
sprpriority = 3
facep2 = 1

[State ***1: AssertSpecial]
type = AssertSpecial
trigger1 = 1
flag = NoWalk

[State 4000, Pause]
type = Pause
trigger1 = time = 0
time = 20-ifelse((GetHitVar(animtype)=[3,5]),4,GetHitVar(animtype))-ifelse(GetHitVar(hitshaketime)>16,16,GetHitVar(hitshaketime))
movetime = 20-ifelse((GetHitVar(animtype)=[3,5]),4,GetHitVar(animtype))-ifelse(GetHitVar(hitshaketime)>16,16,GetHitVar(hitshaketime))
endcmdbuftime = 20

[State 4000, CtrlSet]
type = CtrlSet
trigger1 = animelemtime(5) = 0
value = 1

[State 4000, sprpriority]
type = sprpriority
trigger1 = animelemtime(5) >= 0
value = 0


Hopefully it's possible, thanks in advance.
I identify as High/Low. So don't get it mixed up.