Actually yes I would like you to help me more on this. I do not know how to use integers properly in this situation as you suggest. I can upload a pic from my character BP of just one roll direction (roll forward) and try to explain to you some problems I have and ask your opinions on it.
I want the dodge roll to happen when I press the left Alt key. The reason I set up a branch after the RollLeftAlt input is because I found if I did not do that it did not trigger properly. Like I would have to hold Alt then press a direction, and that was opposite of what I wanted, I wanted to hold directional keys and simply tap left alt and trigger the event.
After awhile and weighing the options I decided to use LERPS and timelines for the actual movement of the rolls. I originally had another variable not shown here that I used to get my animation working in the animation BP, but here for simplicity sake I’m using just play animation nodes (having trouble with getting montages to play).
You will notice that from the finished pin of the timeline it goes to a delay then to the reset of a do once that acts as a reset or delay to how often you actually can use a dodge roll. The problem with that is…lets say one were to dodge forward then quickly dodge right, it would do so consecutively without the 1.7 second delay recharge time, so then I do not know how to link the delay for dodge right to dodge forward so that there would be like a “global” delay there that all dodge roll directions would be seeing. Any and all help is appreciated thank you!