HELP! Attack not Triggering
Posted: Fri Jun 24, 2022 8:41 pm
I am new to editing chars. I am trying to add an attack to an existing edit. The character loads with no problem, but entering the command does not trigger the attack animation. Hoping one or more of the many MUGEN sages in this forum can point out what a noob like me is missing. Below is the code. Any help is greatly appreciated.
CNS File
[Command]
name = "Unbirth_Attempt"
command = F, F, F, B, a
time = 30
;Unbirth Attempt
[State -1, Unbirth Attempt]
type = Changestate
Value = 900
triggerall = command = "Unbirth_Attempt"
trigger1 = statetype = S
trigger1 = ctrl
States File
[Statedef 900]
Type = S
Movetype = A
Physics = S
Velset = 0,0
anim = 1300
ctrl = 0
sprpriority = 1
poweradd = -100
[State 900, ChangeState]
type = ChangeState
trigger1 = animtime = 1
value = 0
ctrl = 1
[State 900, Unbirth Attempt] ;Hitdef for Unbirth Attempt
type = HitDef
trigger1 = Animelem = 7
attr = S,NA
hitflag = MAF
guardflag = MA
animtype = Light
air.animtype = Light
priority = 4,Hit
damage = 100,0
pausetime = 8,8
sparkno = S3000
guard.sparkno = 0
sparkxy = -10,-70
hitsound = S1200,3
guardsound = S1200,0
ground.type = High
air.type = High
ground.slidetime = 0
ground.hittime = 0
ground.velocity = -1,0
guard.velocity = -6
air.velocity = 0,0
CNS File
[Command]
name = "Unbirth_Attempt"
command = F, F, F, B, a
time = 30
;Unbirth Attempt
[State -1, Unbirth Attempt]
type = Changestate
Value = 900
triggerall = command = "Unbirth_Attempt"
trigger1 = statetype = S
trigger1 = ctrl
States File
[Statedef 900]
Type = S
Movetype = A
Physics = S
Velset = 0,0
anim = 1300
ctrl = 0
sprpriority = 1
poweradd = -100
[State 900, ChangeState]
type = ChangeState
trigger1 = animtime = 1
value = 0
ctrl = 1
[State 900, Unbirth Attempt] ;Hitdef for Unbirth Attempt
type = HitDef
trigger1 = Animelem = 7
attr = S,NA
hitflag = MAF
guardflag = MA
animtype = Light
air.animtype = Light
priority = 4,Hit
damage = 100,0
pausetime = 8,8
sparkno = S3000
guard.sparkno = 0
sparkxy = -10,-70
hitsound = S1200,3
guardsound = S1200,0
ground.type = High
air.type = High
ground.slidetime = 0
ground.hittime = 0
ground.velocity = -1,0
guard.velocity = -6
air.velocity = 0,0