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
HELP! Attack not Triggering
Moderator: Moderator
- UmbreonLover
- Posts: 307
- Joined: Wed Jan 26, 2022 12:03 am
Re: HELP! Attack not Triggering
CNS Filerwk1981 wrote: ↑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.
I don't see or find anything wrong about the CMD File and remember, the shorter the time, the quicker you must do everything.
The easiest way to find out is to temporarily increase "Time = 30" into "Time = 120" giving you lots of time to perform the action.
State File
AnimTime should be -1, because AnimTime only accept negative numbers upto 0
Code: Select all
[State 900, ChangeState]
type = ChangeState
trigger1 = animtime = 1
value = 0
ctrl = 1
Re: HELP! Attack not Triggering
Yeah, it is still not triggering. Not sure what it could be. Something is blocking the trigger.
- UmbreonLover
- Posts: 307
- Joined: Wed Jan 26, 2022 12:03 am
Re: HELP! Attack not Triggering
Have you tried changing the order of your triggers while making sure that 900 isn't taken by a different StateDef?
There is an easy demo on how to do it; which is posted here:
viewtopic.php?f=19&t=461
Code: Select all
[State -1, UB_Attempt]
Type = ChangeState
Value = 900
TriggerAll = StateType = S
Trigger1 = Command = "Unbirth_Attempt"
Trigger1 = Ctrl
viewtopic.php?f=19&t=461