How do I implement a basic combo system
I want to make a basic melee combo system so that if you press a button multiple times the combo progresses to the next animation but will start over after x amount of presses or if you dont press the button and the last animation ended? I only use blueprint so I need to know the blueprint side.
asked May 24 '15 at 11:27 PM in Blueprint Scripting
Ok i do anything, my character do 2 anims play in random if i click on my left button of my mouse!
and in my animgraph
I use a Multigate for randoming my action (don't forget "Loop") and i use custom event like that every anim is replicated for multiplayer.
answered Jun 16 '15 at 01:03 PM
Look into Animation Blueprints. Also a good series to watch: Animation Blueprint Punching Setup in UE4. There you learn how you connect an Animation Blueprint and variables in your character, which you then can use to decide about combo resets and build a state machine.
You could actually use the animation blueprint to build the combo system.
OR you go cheap and use variables to keep states of your combo system and reset them using timers, which are triggered by button presses (pressing the button again simply resets the timer, therefore it wont stop as long as the button is pressed repeatedly). However, that will quickly get messy if you have multiple combos and it won't match animations very good.
answered Jun 16 '15 at 11:33 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here