# Is this possible with Niagara? - Particles as enemies

**URL:** <https://forums.unrealengine.com/t/is-this-possible-with-niagara-particles-as-enemies/619028>\
**Category:** FX\
**Tags:** unreal-engine, UE4, question\
**Created:** [August 1, 2022, 2:03pm UTC](https://forums.unrealengine.com/t/is-this-possible-with-niagara-particles-as-enemies/619028 "2022-08-01T14:03:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saturnian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Saturnian](https://forums.unrealengine.com/u/Saturnian)\
**Post date:** [August 1, 2022, 2:03pm UTC](https://forums.unrealengine.com/t/is-this-possible-with-niagara-particles-as-enemies/619028/1 "2022-08-01T14:03:51Z")

</div>

Hello. I’m trying to make a lot of enemies appear at once (hundreds, maybe even thousands). Regular AI doesn’t work at this scale. But all the enemies have to do is to go to where the player is. Can this be done with Niagara, where each enemy is a particle?

I don’t know how to tell them to follow the player. I know collision detection is possible, so they could deal damage and be damaged, I know they could follow the terrain (very simple level, basically just a big flat ground with some objects scattered around).  
But how could I make them go to where the player is? Also, could each particle store their own health in a variable somehow, so that they can be damaged multiple times before they disappear?

All I found was this video: [Simulating Large Crowds In Niagara | Unreal Engine - YouTube](https://www.youtube.com/watch?v=CqXKSyAPWZY) and it’s close to what I want, but it’s more like a showcase than a tutorial, doesn’t explain how to do it. And the project file is not public.

Thanks.

---

<div class="post-metadata">

**Author:** ![Saturnian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Saturnian](https://forums.unrealengine.com/u/Saturnian)\
**Post date:** [August 1, 2022, 2:16pm UTC](https://forums.unrealengine.com/t/is-this-possible-with-niagara-particles-as-enemies/619028/3 "2022-08-01T14:16:26Z")

</div>

This is the same video I have a link to in the question.

---

<div class="post-metadata">

**Author:** ![L.F.A](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/l.f.a/32/1194525_2.png) [@L.F.A](https://forums.unrealengine.com/u/L.F.A)\
**Post date:** [August 1, 2022, 2:23pm UTC](https://forums.unrealengine.com/t/is-this-possible-with-niagara-particles-as-enemies/619028/4 "2022-08-01T14:23:27Z")

</div>

Hi there,  
Welcome,  
Maybe this video is what you need.  
[Zombie Attraction Force in UE4.26 Niagara Component Renderer - YouTube](https://www.youtube.com/watch?v=f8EuErzYFnk)

This is the best source for advanced Niagara, and his older videos explain all Niagara modules.

---

<div class="post-metadata">

**Author:** ![Saturnian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Saturnian](https://forums.unrealengine.com/u/Saturnian)\
**Post date:** [August 1, 2022, 2:56pm UTC](https://forums.unrealengine.com/t/is-this-possible-with-niagara-particles-as-enemies/619028/5 "2022-08-01T14:56:50Z")

</div>

Thank you very much, this solves the following the player issue.  
Any idea for storing values (basically an integer) per particle, so they can have their own health values?

---

<div class="post-metadata">

**Author:** ![L.F.A](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/l.f.a/32/1194525_2.png) [@L.F.A](https://forums.unrealengine.com/u/L.F.A)\
**Post date:** [August 1, 2022, 3:12pm UTC](https://forums.unrealengine.com/t/is-this-possible-with-niagara-particles-as-enemies/619028/6 "2022-08-01T15:12:04Z")

</div>

Hi there,  
Glad it helped.  
Not sure how you would go for it. I guess, for this, you should be spawning the particles with a blueprint that can receive damage from your player, then destroy the particles when dead, spawn another particle playing death animation, then destroy the actor (inside the blueprint, you want to call “destroy”). A basic damage system with blueprints should work for you.
