Attack while moving problem?

Started by Nexus Games, April 02, 2017, 04:02:14 PM

Previous topic - Next topic

Nexus Games

I have a character and this character can walk and attack but during walking they cant go into an attack state
how can i get them to attack during walking?

Odb718

I'm having a hard time telling which way you want this to go.
A) You want it to be able to attack while walking?
2) You want it to not be able to attack while walking?

For 2, you just set ctrl=0 in statedef 20, and add a changestate with command != "holdfwd" && command !="holdback"
Or what ever you want to get out of state 20.

If you want it to be able to attack, but they cant for some reason, you need to look in your cmd and look at your triggers for your changestates. You may be setting a var in state 20 that's used to stop the changestates. Or you may actually have ctrl=0 set inside state 20. Check both out.
vVv Gouken718 vVv SabreTooth718 vVv