YesNoOk
avatar

Move doesn't hit only when comboed into (Read 5347 times)

Started by Austonishing1, March 15, 2018, 07:41:28 am
Share this topic:
Move doesn't hit only when comboed into
New #1  March 15, 2018, 07:41:28 am
  • *
  • MUGEN noob 5 years strong
  • I don't know what the hell I'm doing
    • USA
I was editing a character and gave them chain combos, but for some reason only one of their normal attacks doesn't hit when it's comboed into. When doing it from the normal standing state it connects, but when trying to combo into it the attack whiffs as if it has no hitdef. Is there some kind of trigger that makes a move noncomboable?

This is how the move appears in the cns.

Code:
; Standing Strong Kick (Alternate)
[Statedef 255]
type    = S
movetype= A
physics = S
juggle  = 5
ctrl = 0
velset = 0,0
anim = 255
sprpriority = 2

[State 210, 1]
type = poweradd
trigger1 = animelem = 12
persistent = 0
value = 65*!var(20)

[State 255, 4]
type = ChangeState
triggerall = command = "holdc"
trigger1 = animelem = 11,0
value = 256

[State 255, 4]
type = ChangeState
triggerall = RoundState = 2
triggerall = var(50) = 1
triggerall = p2stateno = [120,153]
trigger1 = p2statetype != A
trigger1 = animelem = 11,0
value = 256

[State 250, 1]
type = PlaySnd
trigger1 = animelem = 11
value = 1,5

[State 240, 2]
type = PlaySnd
triggerall = var(39) = 0
trigger1 = animelem = 11
value = s202,0+random%3
channel = 0
volume = 255

[State 240, 2]
type = PlaySnd
triggerall = var(39) = 1
trigger1 = animelem = 11
value = s212,0+random%3
channel = 0
volume = 255

[State 255, 5]
type = posadd
trigger1 = Animelem = 6
trigger2 = Animelem = 10
trigger3 = Animelem = 11
x = 10

[State 255, 5]
type = posadd
trigger1 = Animelem = 7
x = 6

[State 255, 5]
type = posadd
trigger1 = Animelem = 8
x = 30

[State 255, 5]
type = posadd
trigger1 = Animelem = 12
trigger2 = Animelem = 13
trigger3 = Animelem = 14
trigger4 = Animelem = 15
trigger5 = Animelem = 16
trigger6 = Animelem = 17
x = 8

[State 255, 2]
type = HitDef
trigger1 = Time = 0
trigger1 = var(32) < 3
attr = S, NA
animtype  = hard
damage    = 70
guardflag = L
hitflag = M
pausetime = 11,11
getpower = 36*!var(20)
sparkno = -1 * (var(30):=7010)**0
sparkxy = -10 + 0*(var(32):=90), var(33):=-15
hitsound   = s2,5
guardsound = s6,0
guard.sparkno = -1 * (var(31):=7300)**0
ground.type = trip
ground.slidetime = 12
ground.hittime  = 17
ground.velocity = -2,-1
air.velocity = -2.2,-3.2
yaccel = .58
fall = 1
fall.recover = 1
fall.recovertime = 120
nochainID = -1
envshake.time = 13
envshake.ampl = Ifelse(random<=500,-3,3)

[State 255, 4]
type = ChangeState
trigger1 = Animelem = 21,1
value = 0
ctrl = 1
Last Edit: March 17, 2018, 07:21:57 am by kn1ght
Re: Move doesn't hit only when comboed into
#2  March 16, 2018, 05:12:06 am
  • ****
  • Robotics Engineer
    • USA
    • altoiddealer@gmail.com
Have you checked to make sure Var(32) is less than 3?

Re: Move doesn't hit only when comboed into
#3  March 17, 2018, 12:53:34 am
  • *
  • MUGEN noob 5 years strong
  • I don't know what the hell I'm doing
    • USA
You mean this part?

[State 255, 2]
type = HitDef
trigger1 = Time = 0
trigger1 = var(32) < 3
Re: Move doesn't hit only when comboed into
#4  March 17, 2018, 04:58:35 am
  • ****
  • Robotics Engineer
    • USA
    • altoiddealer@gmail.com
Yes, is var(32) less than 3 when you are in the combo, allowing the hit to trigger?

Re: Move doesn't hit only when comboed into
#5  March 17, 2018, 07:21:24 am
  • *
  • MUGEN noob 5 years strong
  • I don't know what the hell I'm doing
    • USA
I couldn't understand what you meant really, so I figured I would try just removing that trigger before asking and that worked. None of their other moves had that trigger, interestingly. Thanks for pointing out that that was causing the issue!