Jump to content
  • 0

How do I stop repeating the same animation when i press some key bind


Question

Posted

 

Hello i don't know if you guys can help me but, I really had a problem where when i jump attack ,it would repeat the same animation twice,

Heres some states and command ( I just copied the state and command from the kfm jump punch light attack )

 

;---------------------------------------------------------------------------

;Jump kick

[Statedef 210]

type = A

movetype= A

physics = A

juggle = 2

poweradd= 5

ctrl = 0

anim = 210

sprpriority = 2

 

 

[State 210, 1]

type = HitDef

trigger1 = animElem = 3

attr = A, NA

damage = 25

guardflag = HA

priority = 823

pausetime = 7,8

sparkno = s800

sparkxy = 32,-32

hitsound = s1000,random&1

guardsound = 6,0

ground.type = High

ground.slidetime = 5

ground.hittime = 8

ground.velocity = -4

air.velocity = -1.3,-3

air.hittime = 14

 

[State 210, 2]

type = CtrlSet

trigger1 = Time = 15

value = 0 || 1

_________________________________________

Command

 

;---------------------------------------------------------------------------

;Air Kick

[State -1, Jump Kick]

type = ChangeState

value = 210

triggerall = command = "a"

trigger1 = statetype = A

trigger1 = ctrl

trigger2 = stateno = 600

trigger2 = statetime >= 7

trigger3 = stateno = 1350 ;Air blocking

KABOOMZA

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...