Hi, in my character BP I wanted do restrict character movement during attacking.
I set up it like this (it’s going to be a platformer game, so character moves only left or right):
And this is attacking:
My problem is, that no matter how many animation montages I set, my character can always move during third attack. All anim notifiers are set correctly, changing the montage itself doesn’t help either. So my character stands still only during first and second attack, and starts moving during the third one and next. Any ideas how to fix it? I want to have combo of exactly 3 attacks.
revise all your montages, probably your “reset anim notify” are not in the right place. The may be reseting (i.e calling the combo reset event before it should
ok, but your animnotify is settled in the end of each montage? something has to be worong, because I did the same tutorial, but with 5 combos, and it works perfectly
thanks for your help. I repeated all the steps from the scratch and now my character do only first combo move… i have no idea where is the mistake, so I uploaded the project. Animations are VERY crappy, but they are just for testing purposes default attack key is NUM 2
All animations has the reset notify in the wrong place, put the reset notify in the END of the montage. The Chain notify must stay close to the frame where the animations “hit” the enemy, try to do as I did in the photos:
no problem! Try to change the notify positions to see different situations, like the chain notify, if you put it in the beggining of the montages, you will have a looott of time to press the button, if you put the chain too close to the end of the montage, you will have just a few miliseconds to press the button. the reset has to be in the end, if not, it will reset the combo integer variable faster than you press the button.
but, try to make changes until find the perfect one
Please mark this question as finished and good studies!
Wow, thank You very much, it works! I didn’t realize that the notifies must fit so precisly, I just thought that “chain” must sit before “reset” and they both need to be somewhere near the end of the montage. Now the combo runs well, and the movement restriction finally works. Thanks again!