# How to associate info with noise events (AIPerception)

**URL:** <https://forums.unrealengine.com/t/how-to-associate-info-with-noise-events-aiperception/316108>\
**Category:** AI\
**Tags:** Perception, noise, unreal-engine, question\
**Created:** [April 23, 2015, 4:25pm UTC](https://forums.unrealengine.com/t/how-to-associate-info-with-noise-events-aiperception/316108 "2015-04-23T16:25:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamrann](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kamrann](https://forums.unrealengine.com/u/kamrann)\
**Post date:** [April 23, 2015, 4:25pm UTC](https://forums.unrealengine.com/t/how-to-associate-info-with-noise-events-aiperception/316108/1 "2015-04-23T16:25:11Z")

</div>

Currently the new AI perception system seems to be set up for a kind of on/off perception testing - there is info on the timing and gain/loss of perception of a particular actor, but no info relating to the stimulus event itself. Say for example I wanted my AI to react to a noise event differently, depending on what kind of sound it heard. Ideally I’d be able to attach some game specific info to each generated stimulus event, which I could then access through the perception component or update handler on my AI. This doesn’t seem to be possible though.

What would the suggested approach be for dealing with this at the moment? Is this potentially a direction in which the AI perception system could be expanded in the future?

---

<div class="post-metadata">

**Author:** ![MieszkoZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MieszkoZ](https://forums.unrealengine.com/u/MieszkoZ)\
**Post date:** [April 23, 2015, 5:08pm UTC](https://forums.unrealengine.com/t/how-to-associate-info-with-noise-events-aiperception/316108/2 "2015-04-23T17:08:34Z")

</div>

Yes, we plan to add a way to associate extra, game-specific data to noise events to allow AI to react differently depending on a sounds. Currently there’s not way to get this kind of functionality in the engine. Sorry! 😕

Cheers,

–mieszko

---

<div class="post-metadata">

**Author:** ![kamrann](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kamrann](https://forums.unrealengine.com/u/kamrann)\
**Post date:** [April 23, 2015, 7:15pm UTC](https://forums.unrealengine.com/t/how-to-associate-info-with-noise-events-aiperception/316108/3 "2015-04-23T19:15:29Z")

</div>

Okay no worries, I assumed it was on the to do list. Can I suggest, when you come to implementing this, try to keep it as generic as possible. Rather than just having an extended MakeNoise functionality, it would be great if data could be attached to any stimulus event (for any sense), so we can easily extend the system as needed. Cheers.

---

<div class="post-metadata">

**Author:** ![MieszkoZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MieszkoZ](https://forums.unrealengine.com/u/MieszkoZ)\
**Post date:** [April 23, 2015, 8:40pm UTC](https://forums.unrealengine.com/t/how-to-associate-info-with-noise-events-aiperception/316108/4 "2015-04-23T20:40:24Z")

</div>

That’s exactly the plan 🙂

---

<div class="post-metadata">

**Author:** ![Titirez](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/titirez/32/1194668_2.png) [@Titirez](https://forums.unrealengine.com/u/Titirez)\
**Post date:** [May 6, 2018, 5:14pm UTC](https://forums.unrealengine.com/t/how-to-associate-info-with-noise-events-aiperception/316108/5 "2018-05-06T17:14:07Z")

</div>

Any update on this? The “Report Noise Event” node has a tag property now. I’m not sure if that existed when this thread was created, but it can be used to distinguish between different sound types.  
The sight and damage stimuli don’t have the tag property. When using the “Break AIStimulus” node the tag property is always “None” for sight and damage.  
Maybe I’m missing something. Is it possible to set a tag for the sight stimulus?

---

<div class="post-metadata">

**Author:** ![VenomStyx](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/venomstyx/32/490334_2.png) [@VenomStyx](https://forums.unrealengine.com/u/VenomStyx)\
**Post date:** [March 13, 2019, 6:50am UTC](https://forums.unrealengine.com/t/how-to-associate-info-with-noise-events-aiperception/316108/6 "2019-03-13T06:50:30Z")

</div>

Bump. This is still a problem

---

<div class="post-metadata">

**Author:** ![Epeira](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Epeira](https://forums.unrealengine.com/u/Epeira)\
**Post date:** [January 16, 2023, 9:22pm UTC](https://forums.unrealengine.com/t/how-to-associate-info-with-noise-events-aiperception/316108/7 "2023-01-16T21:22:12Z")

</div>

Up. Still a problem in Unreal Engine 5.1  
using c++ method → UAISense\_Hearing::ReportNoiseEvent
