Melee Attack
Ready to pasteCombat12 nodes, 15 wiresGallery
Left click sphere-traces 150 units ahead and applies 25 damage to what it hits, once per 0.8 second swing.
Use this exact graph
Copy and Apply for gallery graphs come with every paid plan, from $9.99 a month. See plans
Before you paste0
Nothing to set up. Open your Blueprint’s Event Graph, press Ctrl+V and compile.
Good to know. Apply Damage hits whatever the trace finds first, not only enemies. The actor that is hit needs Event AnyDamage to react, as in Health & Damage System.
How it works
- One swing at a timeIA_Attack goes through Do Once, so a new swing can't start until the last one is over.
- Trace aheadSequence runs the hit check first: a sphere trace with a 60 unit radius from the character to 150 units in front.
- Deal damageIf the trace hits, Apply Damage deals 25 to the actor it hit.
More combat blueprints
See all 55Made with Cosindra Blueprint Studio