Hey guys, i’m new to game making and programming and i have a question:
So, i’m developing a game, and there’s a dodge roll system, a dark souls kind of dodge. Thing is, i wanted to add more than 1 dodge animation (and i already have them ready), a just don’t know how to “sort them”, i want to randomize the dodge ability. Example: I have dodge’, dodge2 and dodge3. Right now, when you press the key assigned for the dodge action, it plays the dodge1. If you press the key again, it does the dodge1 again, and i want it to sort between the 3 of them. Is there any way?
In the Dodge state (in your animation BP), you can use a Random Sequence Player with all your dodge animations. You can set them to be selected at random or with certain weights.