# Destroy actor after a number of hits (projectile shots)

**URL:** <https://forums.unrealengine.com/t/destroy-actor-after-a-number-of-hits-projectile-shots/413068>\
**Category:** Blueprint\
**Tags:** destroying-actors, unreal-engine, hit-event, Blueprint, question\
**Created:** [December 24, 2017, 8:31pm UTC](https://forums.unrealengine.com/t/destroy-actor-after-a-number-of-hits-projectile-shots/413068 "2017-12-24T20:31:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![electronicvision](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@electronicvision](https://forums.unrealengine.com/u/electronicvision)\
**Post date:** [December 24, 2017, 8:31pm UTC](https://forums.unrealengine.com/t/destroy-actor-after-a-number-of-hits-projectile-shots/413068/1 "2017-12-24T20:31:19Z")

</div>

i need blueprint that destroys actor after a number of hits , lets say the enemy needs 2 hits to be destroyed and the boss needs perhaps 20 hits to be destroyed , thanks in advance

---

<div class="post-metadata">

**Author:** ![Nebula\_Games\_Inc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nebula\_Games\_Inc](https://forums.unrealengine.com/u/Nebula_Games_Inc)\
**Post date:** [December 24, 2017, 9:59pm UTC](https://forums.unrealengine.com/t/destroy-actor-after-a-number-of-hits-projectile-shots/413068/2 "2017-12-24T21:59:16Z")

</div>

Seems simple enough. Many ways you can do this. You can create a health variable in you actor to destroy BP and in your projectile create a damage variable and when the projectile hits the actor subtract the damage then check to see if the actor health is \< or = 0 if yes, call the destroy actor node. You can also just have a variable in your actor called “number of hits” or something similar and every time a projectile hits it add 1 to the variable amount then check to see if it is equal to the amount you want to destroy the actor, if yes call the “destroy actor” node.
