# My NPC pawn dummy does not sence any NPC Character

**URL:** <https://forums.unrealengine.com/t/my-npc-pawn-dummy-does-not-sence-any-npc-character/2261352>\
**Category:** Blueprint\
**Tags:** Perception, unreal-engine, Blueprint, question\
**Created:** [January 5, 2025, 7:32pm UTC](https://forums.unrealengine.com/t/my-npc-pawn-dummy-does-not-sence-any-npc-character/2261352 "2025-01-05T19:32:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Galedon95](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Galedon95](https://forums.unrealengine.com/u/Galedon95)\
**Post date:** [January 5, 2025, 7:32pm UTC](https://forums.unrealengine.com/t/my-npc-pawn-dummy-does-not-sence-any-npc-character/2261352/1 "2025-01-05T19:32:56Z")

</div>

Hello, I am trying to make a pawn that sees/hears enemies, but i can’t get it work.

To make super simple example I created a dummy pawn, only placed a box mesh and a AIPerception component, settings on figures.

 ![Snímek obrazovky 2025-01-05 185919](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/a/a/faa32814ff8f08374efa32e49860959d62d0905f.png)  
 ![obrazek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/1/d/b1d300c6944c37c6dae71bfa9d480a4b0f0d886d.png)

I then created a dummy character, only placed a SKM\_Quinn Sceletal mesh and then added a AIPerceptionStimuliSource, settings on figure.

 ![obrazek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/a/a2a1955e443968b7cfe59a0c98588cb4c1cecb2e.png)

I placed my dummy character around my dummy pawn in every direction:

 ![obrazek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/f/8/bf878197ea474c976aa09cb7388297ab642988e2.jpeg)

And created a desparate all-events call in the Pawn blueprint:

 ![obrazek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/b/9dba8a4b26fa4c9af49f7267cb745ec80b1fdbc2.png)

According to tutorials this should work, but when I hit play, no message appears. What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![doctorpepperdan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@doctorpepperdan](https://forums.unrealengine.com/u/doctorpepperdan)\
**Post date:** [January 5, 2025, 8:55pm UTC](https://forums.unrealengine.com/t/my-npc-pawn-dummy-does-not-sence-any-npc-character/2261352/2 "2025-01-05T20:55:34Z")

</div>

Id recommend an AI controller, and setup the perception handling there, also for hearing you have to call sound sound events from other events/functions

---

<div class="post-metadata">

**Author:** ![Galedon95](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Galedon95](https://forums.unrealengine.com/u/Galedon95)\
**Post date:** [January 5, 2025, 9:51pm UTC](https://forums.unrealengine.com/t/my-npc-pawn-dummy-does-not-sence-any-npc-character/2261352/3 "2025-01-05T21:51:58Z")

</div>

Thanks for the reply - transferring the AIperception to the AIController did the trick 🙂 But how do I add a dummy sound effect? PawnNoiseEmitter seems to do nothing at all. I would actually like to make 360° sight perception but it is obviously clamped at 180° so I am stucked with hearing.

---

<div class="post-metadata">

**Author:** ![doctorpepperdan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@doctorpepperdan](https://forums.unrealengine.com/u/doctorpepperdan)\
**Post date:** [January 6, 2025, 12:00am UTC](https://forums.unrealengine.com/t/my-npc-pawn-dummy-does-not-sence-any-npc-character/2261352/4 "2025-01-06T00:00:38Z")

</div>

I just use the “play sound” node on event, or if your referring to hearing it’s an AI perception sound event I can’t remember the exact name I’ll check when I’m off work

---

<div class="post-metadata">

**Author:** ![chrudimer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chrudimer/32/918651_2.png) [@chrudimer](https://forums.unrealengine.com/u/chrudimer)\
**Post date:** [January 6, 2025, 2:11pm UTC](https://forums.unrealengine.com/t/my-npc-pawn-dummy-does-not-sence-any-npc-character/2261352/5 "2025-01-06T14:11:37Z")

</div>

Hi, you can use ReportNoiseEvent to report something to the hearing sense. Also if you set the Peripheral Vision Half Angle in the sight sense to 180 you have 360 degree sight (you set the half angle, so the actual vision angle is twice that).

But sight sense updates on tick, doing actual line traces to all potential targets in range and vision angle (so the sight sense is rather costly). Hearing sense only updates event driven (when you call the ReportNoiseEvent) and by default does no line traces, so its cheap (if you don’t spam the ReportNoiseEvent).

---

<div class="post-metadata">

**Author:** ![Galedon95](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Galedon95](https://forums.unrealengine.com/u/Galedon95)\
**Post date:** [January 6, 2025, 3:36pm UTC](https://forums.unrealengine.com/t/my-npc-pawn-dummy-does-not-sence-any-npc-character/2261352/6 "2025-01-06T15:36:14Z")

</div>

Thank you! It works even without a AIStimuliSource component 🙂 I only hope to understand the logic behind this one day…

---

<div class="post-metadata">

**Author:** ![chrudimer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chrudimer/32/918651_2.png) [@chrudimer](https://forums.unrealengine.com/u/chrudimer)\
**Post date:** [January 6, 2025, 3:44pm UTC](https://forums.unrealengine.com/t/my-npc-pawn-dummy-does-not-sence-any-npc-character/2261352/7 "2025-01-06T15:44:56Z")

</div>

By default all pawns register as sources (you can disable that in the config). So by default you do not need to add any AIStimuliSource components to pawns, they automatically register. Also if I remember correctly the AIStimuliSource component only does something for the sight sense, for the other senses like hearing its not doing anything, those do not need any registering at all.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [February 5, 2025, 3:45pm UTC](https://forums.unrealengine.com/t/my-npc-pawn-dummy-does-not-sence-any-npc-character/2261352/8 "2025-02-05T15:45:24Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
