# Melee Damage / Tool Use - Any help or tutorials about?

**URL:** <https://forums.unrealengine.com/t/melee-damage-tool-use-any-help-or-tutorials-about/5683>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [June 7, 2014, 10:54am UTC](https://forums.unrealengine.com/t/melee-damage-tool-use-any-help-or-tutorials-about/5683 "2014-06-07T10:54:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0702d670](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0702d670](https://forums.unrealengine.com/u/anonymous_user_0702d670)\
**Post date:** [June 7, 2014, 10:54am UTC](https://forums.unrealengine.com/t/melee-damage-tool-use-any-help-or-tutorials-about/5683/1 "2014-06-07T10:54:46Z")

</div>

Hi guys! Enjoying learning how to blueprint things.  
I have a character blue print working now which can do the following.

Run (As usual)  
Sprint (Can only sprint when not crouching)  
Crouching (When crouching sprinting is turned off)  
Jumping (Into the air, herp a derp)  
Mouse look  
General movement (Moving without the yaw and pitch effecting the speed)

I have a basic Esc key set up to quit the game for now because why not!!!

But I am struggling to get my Left and Right mouse buttons to do something. I can’t work it out in my head. I also have not found any helpful tutorials or documentation. I have also check through many blueprints of the samples you can download in the marketplace and I have yet to find something that covers melee damage.

What I am looking for is when I [Left Click] the character hits the object in front of it.  
Just as a heads up that at the moment the character is just represented by a simple cube and has no animations. But I will cross that hurdle when I get to it. But right now, I have no idea how to get my left mouse button to punch things causing damage to something.

My idea is to get a simple melee system working where the player can punch with fists to do little damage, use a pick to do more damage but is effective against rocks, an axe which is effective against trees and a sword which is more effective against mobs. So each tool does a certain amount of damage to enemies but they are also better suited to their specific tasks etc.

I am still learning as I go and enjoying it and if anyone has anything that could help me in learning to go about implementing melee I would greatly appreciate it!

Kind regards!

! 😃

---

<div class="post-metadata">

**Author:** ![Gabe687](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gabe687](https://forums.unrealengine.com/u/Gabe687)\
**Post date:** [June 8, 2014, 5:58am UTC](https://forums.unrealengine.com/t/melee-damage-tool-use-any-help-or-tutorials-about/5683/2 "2014-06-08T05:58:08Z")

</div>

I’m struggling with this too, but I’m stuck on getting the enemy to play a special hit reaction. I got some collision detection working with help from this tutorial.

[https://www](https://www)…com/watch?v=uOy0B3Tb7dk&index=22&list=PLZlv\_N0\_O1gZS5HylO\_368myr-Kg2ZLwb

---

<div class="post-metadata">

**Author:** ![Fen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fen/32/635651_2.png) [@Fen](https://forums.unrealengine.com/u/Fen)\
**Post date:** [June 8, 2014, 6:02am UTC](https://forums.unrealengine.com/t/melee-damage-tool-use-any-help-or-tutorials-about/5683/3 "2014-06-08T06:02:46Z")

</div>

Hello,

maybe this tutorial from the unreal wiki will help you a bit.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...
