|
Post by zlblue on Nov 17, 2016 15:32:42 GMT
hello, i wanna trigger damage and recoil twice in one animation is this possible? for example, the player plays animation which would swing a sword twice, so this could hit the AI twice(also trigger damage and recoil). however, currently it could only trigger once, no matter how many times it hit the AI in one animation.
|
|
|
Post by Invector on Nov 17, 2016 15:57:14 GMT
I'm pretty sure that I already answer this question here lol, but I don't remember where now...
Anyways, you can simple cut your animation in two, and copy the default Weak Attack substate machine and delete the C state. Then put your A and B attack animations and just remove the condition of WeakAttack from the A to B.
This way when you hit the button attack once, it will trigger the A state, then it will automatically transition to B without the need to press the atk button again, and the AI will trigger the recoil animations.
|
|