How does combat work in the ActionRPG sample?

came up with this after lots of researching if anyone is interested, it works by checking horizontal and vertical range between the enemy and the player, it’s very useful if you want damage to apply regardless of animation, you can put it directly in the enemy BPs (create them as child of NPC_GoblinBP if creating new ones):

The “GE_DamageEffect” is a “Gameplay Effect” Blueprint Class with the following settings:

You can create multiple for the amount of damage you want to do or use a variable.

You might also want to use “Must Not Have Tags” → “Status.DamageImmune” if you want the damage to be blocked by abilities with invincibility shield which exist by default on some abilities in this template.