# Shotgun damage problems

**URL:** <https://forums.unrealengine.com/t/shotgun-damage-problems/426324>\
**Category:** World Creation\
**Tags:** line-trace, shooter-game, for-loop, damage-sense, unreal-engine, projectile, question\
**Created:** [May 31, 2018, 2:44am UTC](https://forums.unrealengine.com/t/shotgun-damage-problems/426324 "2018-05-31T02:44:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_bc417612](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bc417612](https://forums.unrealengine.com/u/anonymous_user_bc417612)\
**Post date:** [May 31, 2018, 2:44am UTC](https://forums.unrealengine.com/t/shotgun-damage-problems/426324/1 "2018-05-31T02:44:26Z")

</div>

Hello,  
I’m having problems with my projectiles causing damage. I’m using a “For Loop” to spawn a bunch of projectiles, like a spread shot. All my Projectiles spawn and fire correctly. But when they hit the enemy pawn, only one bullet from the spread causes damage. That one bullet also inflicts the combined damage of all the bullets.

Any help will be greatly appreciative

 ![242717-ue4-shotgun-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/7/9/07909d5e3789f83a8f7b61fb78050a232ca07bfe.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bc417612](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bc417612](https://forums.unrealengine.com/u/anonymous_user_bc417612)\
**Post date:** [June 1, 2018, 11:01pm UTC](https://forums.unrealengine.com/t/shotgun-damage-problems/426324/2 "2018-06-01T23:01:16Z")

</div>

Hey, I managed to fix the problem. I’m not sure if its full proof, but it works.

I moved the “For Loop” nodes before the “Line Trace”, and also moved the “Random” Nodes and connected them to the “Line Trace” too.

 ![242856-ue4-shotgun-4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/1/7/f17738c4af7231dc18411e1ce93635d1245543a7.png)
