Unreal Sidescroller - Blocking Melee Attacks

project files :   / 41533716   In this episode of the unreal engine side scroller project, I am going to implement blocking melee attacks. The AI enemy character will attack the player character when the player is in their attack proximity. If the player right click, the character will use the shield to block the attacks. if the player release right mouse button, it won;t be blocking any more. Also, when a character get hit once while in the blocking mode, block will be removed and to bleck the next attack again, player has to re-press right mouse button. The block event is implemented in such a way that the same function can be used by the AI character too. Support my work :   / codelikeme   Like my facebook page for more content :   / gamedevelopersclub   Follow me on twitter :   / codelikeme2   Follow me on reddit :   / codelikeme   #CodeLikeMe #unrealengine #ue4 #indiegamedev