>.<
CMD:
[State -1, duckwalk]
type = ChangeState
value = 25
triggerall=(Stateno=11) && RoundState=2
trigger1=command="holdfwd"||command="holdback"
CNS:
[Statedef 25];Duck walk
type= C
physics = S
sprpriority = 0
ctrl=0
[State 25]
type = ChangeAnim
triggerall = vel x > 0
trigger1 = Anim != 25 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 25 ;<--duck walk foward
[State 25]
type = ChangeAnim
triggerall = vel x < 0
trigger1 = Anim != 26 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 26 ;<--duck walk back
[State 25, 1]
type = VelSet
trigger1 = command = "holdfwd"
x = const(velocity.walk.fwd.x) /2
[State 25, 2]
type = VelSet
trigger1 = command = "holdback"
x = const(velocity.walk.back.x) /2
[State 25]
type=ChangeState
trigger1=Anim=25&&command!="holdfwd"
trigger2=Anim=26&&command!="holdback"
value=11
ctrl=1
cya