# Can I make one common AI for a lot of NPC?

**URL:** <https://forums.unrealengine.com/t/can-i-make-one-common-ai-for-a-lot-of-npc/2359677>\
**Category:** AI\
**Tags:** ai-navigation, ai-controller, unreal-engine, Blueprint\
**Created:** [February 26, 2025, 10:13am UTC](https://forums.unrealengine.com/t/can-i-make-one-common-ai-for-a-lot-of-npc/2359677 "2025-02-26T10:13:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr.JMUR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr.JMUR](https://forums.unrealengine.com/u/Mr.JMUR)\
**Post date:** [February 26, 2025, 10:13am UTC](https://forums.unrealengine.com/t/can-i-make-one-common-ai-for-a-lot-of-npc/2359677/1 "2025-02-26T10:13:37Z")

</div>

I’d like to create one AI which can give instructions for Characters: be passive, run away from Main Character or stay nearby (all characters could diy by Main character)  
I know how to do it when each NPC has personal AI. But I wondering, can I create “crowd” system when everyone doing what one AI tells them?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 26, 2025, 10:51am UTC](https://forums.unrealengine.com/t/can-i-make-one-common-ai-for-a-lot-of-npc/2359677/2 "2025-02-26T10:51:22Z")

</div>

Extend the AI Controller and script it there, have the pawns use it.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/7/ef70bae67ef589dc3f8dcf8fd1fd7c7d65b21296.png)

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [February 26, 2025, 5:28pm UTC](https://forums.unrealengine.com/t/can-i-make-one-common-ai-for-a-lot-of-npc/2359677/3 "2025-02-26T17:28:39Z")

</div>

You can also look into the Mass Entity system if you have the time and courage

It’s a lot more complex, but build specifically for controlling many objects

> **[Mass Entity in Unreal Engine | Unreal Engine 5.5 Documentation | Epic...](https://dev.epicgames.com/documentation/en-us/unreal-engine/mass-entity-in-unreal-engine)**
>
> MassEntity is a gameplay-focused framework for data-oriented calculations.
