YesNoOk
avatar

Can I check the pausetime of a hitdef? (Read 1636 times)

Started by N0BIE, April 28, 2022, 10:53:49 am
Share this topic:
Can I check the pausetime of a hitdef?
#1  April 28, 2022, 10:53:49 am
  • avatar
Code:
[State 210, 2]
type = HitDef
trigger1 = AnimElem = 3
attr = S, NA
animtype  = Medium
damage    = 57
guardflag = MA
pausetime = 12,12 ;--check the value of the pausetime
sparkno = 1
sparkxy = -10,-70
hitsound   = 5,2
guardsound = 6,0
ground.type = High
ground.slidetime = 12
ground.hittime  = 16
ground.velocity = -5.5
air.velocity = -2.5,-4
forcenofall = 1

gethitvar(pausetime) doesn't exist so I was wondering if it is possible to check the pausetime
Re: Can I check the pausetime of a hitdef?
#2  April 28, 2022, 11:05:13 am
  • ****
    • crepa.neocities.org
Don't know if it's useful for you but "HitPauseTime" exists. It starts at the value you set and decreases every tick, when it reaches 0, the pause is over.
Re: Can I check the pausetime of a hitdef?
#3  April 28, 2022, 12:04:36 pm
  • *****
  • Resident Tosspot
  • Pftheh
    • UK
    • plasmoidthunder.neocities.org
MUGEN uses hitpausetime for the attacker and hitshaketime for the opponent, therefore you'd want to check for gethitvar(hitshaketime) instead.

If you're wanting to check the attacker's pausetime, then use hitpausetime as DeathScythe mentioned.

Oh, I want a diagram. I fucking love diagrams.