# AI

**URL:** https://forums.unrealengine.com/c/development-discussion/programming-scripting/ai/128.md?page=71

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

**Page:** 72

---

## [OnPerceptionUpdated only returns one controller](https://forums.unrealengine.com/t/onperceptionupdated-only-returns-one-controller/458742)

<div class="topic-metadata">

**Author:** [@who-is-Ellie](https://forums.unrealengine.com/u/who-is-Ellie)\
**Replies:** 0\
**Last updated:** [November 23, 2019, 1:37pm UTC](https://forums.unrealengine.com/t/onperceptionupdated-only-returns-one-controller/458742 "2019-11-23T13:37:54Z")

</div>

Hi guys, I’m using AI Teams, and i want to be able to run through the returned array from OnPerceptionUpdated to find the closest pawn. I am doing this in blueprints for now, however the AI team delegation code is writt…

---

## [NavLink stuck](https://forums.unrealengine.com/t/navlink-stuck/458604)

<div class="topic-metadata">

**Author:** [@BFG2k](https://forums.unrealengine.com/u/BFG2k)\
**Replies:** 1\
**Last updated:** [November 22, 2019, 10:12am UTC](https://forums.unrealengine.com/t/navlink-stuck/458604 "2019-11-22T10:12:18Z")

</div>

Hey guys! Got seriously stuck with something. I have some characters controlled by CrowdAIController. I want them to do specific actions, when they want to pass specific territory. For example : there is a door. I want a…

---

## [AI Wont chase another actor other than player](https://forums.unrealengine.com/t/ai-wont-chase-another-actor-other-than-player/458601)

<div class="topic-metadata">

**Author:** [@True\_Origins\_Int](https://forums.unrealengine.com/u/True_Origins_Int)\
**Replies:** 1\
**Last updated:** [November 20, 2019, 12:20pm UTC](https://forums.unrealengine.com/t/ai-wont-chase-another-actor-other-than-player/458601 "2019-11-20T12:20:54Z")

</div>

How do I set up a behaviour tree that makes my wolf ai chase my deer actor when I am not in the wolf’s radius?

---

## [BehaviorTree: Can't find matching actors](https://forums.unrealengine.com/t/behaviortree-cant-find-matching-actors/409761)

<div class="topic-metadata">

**Author:** [@Napoleonite](https://forums.unrealengine.com/u/Napoleonite)\
**Replies:** 3\
**Last updated:** [November 17, 2019, 6:41pm UTC](https://forums.unrealengine.com/t/behaviortree-cant-find-matching-actors/409761 "2019-11-17T18:41:11Z")

</div>

The AI itself does work (they walk around and such). It has a BehaviorTree, a Blackboard, my AIController and the BrainComponent of my AIController is properly assigned. Everything seems proper. Why can I not debug th…

---

## [AI get waypoints of path to target](https://forums.unrealengine.com/t/ai-get-waypoints-of-path-to-target/458520)

<div class="topic-metadata">

**Author:** [@RowelCaps](https://forums.unrealengine.com/u/RowelCaps)\
**Replies:** 0\
**Last updated:** [November 17, 2019, 10:20am UTC](https://forums.unrealengine.com/t/ai-get-waypoints-of-path-to-target/458520 "2019-11-17T10:20:55Z")

</div>

Hello! I’m trying to create a AI with root motion. What I wanna do is get the p1,p2,p3, and p4 so i can calibrate the orientation and the locomotion of my character. I browse through the document of FPath and Navigat…

---

## [Behavior tree simple "OnSuccess"](https://forums.unrealengine.com/t/behavior-tree-simple-onsuccess/458501)

<div class="topic-metadata">

**Author:** [@LordStuff](https://forums.unrealengine.com/u/LordStuff)\
**Replies:** 3\
**Last updated:** [November 16, 2019, 5:39pm UTC](https://forums.unrealengine.com/t/behavior-tree-simple-onsuccess/458501 "2019-11-16T17:39:52Z")

</div>

Hi, I would make a new boolean in the blackboard (something like “MoveToTargetLocation”) and set it initially to true in your controller. Then make a new decorator to check wether or not a boolean blackboard key value is…

---

## [AIs sharing the same Behaviour Tree Influences each other](https://forums.unrealengine.com/t/ais-sharing-the-same-behaviour-tree-influences-each-other/456133)

<div class="topic-metadata">

**Author:** [@FishOmelette](https://forums.unrealengine.com/u/FishOmelette)\
**Replies:** 3\
**Last updated:** [November 16, 2019, 7:07am UTC](https://forums.unrealengine.com/t/ais-sharing-the-same-behaviour-tree-influences-each-other/456133 "2019-11-16T07:07:47Z")

</div>

Hi! Currently I have spawn 3 enemies of the same type and using the same AI and Behaviour Tree. I am trying to make only those that are on screen to attack while others off screen remain passive. This is my current code. …

---

## [How to disable an actor from blocking line traces in game?](https://forums.unrealengine.com/t/how-to-disable-an-actor-from-blocking-line-traces-in-game/458278)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_67273d7d](https://forums.unrealengine.com/u/anonymous_user_67273d7d)\
**Replies:** 6\
**Last updated:** [November 14, 2019, 12:19pm UTC](https://forums.unrealengine.com/t/how-to-disable-an-actor-from-blocking-line-traces-in-game/458278 "2019-11-14T12:19:18Z")

</div>

In my game i have AI enemies who need to hide from the player at coverpoints, but these coverpoints need to be disabled when the player has a direct line of sight to them, i tried to stop the point from blocking line tra…

---

## [EQS Testing pawn not ticking](https://forums.unrealengine.com/t/eqs-testing-pawn-not-ticking/458381)

<div class="topic-metadata">

**Author:** [@Max974](https://forums.unrealengine.com/u/Max974)\
**Replies:** 0\
**Last updated:** [November 13, 2019, 1:47pm UTC](https://forums.unrealengine.com/t/eqs-testing-pawn-not-ticking/458381 "2019-11-13T13:47:51Z")

</div>

Hi, is this normal that the EQS testing pawn doesn’t fire the event tick? And I can’t use the node GetWorldDeltaSeconds with a timer either.

---

## [4.8.1: AI Perception By Affiliation?](https://forums.unrealengine.com/t/4-8-1-ai-perception-by-affiliation/323528)

<div class="topic-metadata">

**Author:** [@DamirH](https://forums.unrealengine.com/u/DamirH)\
**Replies:** 21\
**Last updated:** [November 13, 2019, 9:52am UTC](https://forums.unrealengine.com/t/4-8-1-ai-perception-by-affiliation/323528 "2019-11-13T09:52:25Z")

</div>

, When trying to configure the AI Perception component on my controller, the Perception By Affiliation section in each sense is completely blank, so I am unable to configure it at all. Trying to do it via C++ didn’t yi…

---

## [AI cannot reach player while player is moving](https://forums.unrealengine.com/t/ai-cannot-reach-player-while-player-is-moving/458309)

<div class="topic-metadata">

**Author:** [@Patatoukas](https://forums.unrealengine.com/u/Patatoukas)\
**Replies:** 0\
**Last updated:** [November 12, 2019, 12:32am UTC](https://forums.unrealengine.com/t/ai-cannot-reach-player-while-player-is-moving/458309 "2019-11-12T00:32:00Z")

</div>

Hello, I have been stugling with that problem for a while. Say that you have a simple AiMoveTo in the behavior tree and your playable character as a target, acceptance radius 5. If the player is stationary the Ai can …

---

## [Can't destroy Navigation Path](https://forums.unrealengine.com/t/cant-destroy-navigation-path/451271)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_24915d0a1](https://forums.unrealengine.com/u/anonymous_user_24915d0a1)\
**Replies:** 1\
**Last updated:** [November 11, 2019, 4:28pm UTC](https://forums.unrealengine.com/t/cant-destroy-navigation-path/451271 "2019-11-11T16:28:13Z")

</div>

I ran into a problem where there is a huge lag spike when the navmesh is updated and I isolated the problem down to the function “Find Path To Actor Synchronously” creating paths that will never be destroyed so when the …

---

## [AI Stops moving after some time in Behavior Tree](https://forums.unrealengine.com/t/ai-stops-moving-after-some-time-in-behavior-tree/458286)

<div class="topic-metadata">

**Author:** [@f00d4tehg0dz](https://forums.unrealengine.com/u/f00d4tehg0dz)\
**Replies:** 0\
**Last updated:** [November 11, 2019, 4:20pm UTC](https://forums.unrealengine.com/t/ai-stops-moving-after-some-time-in-behavior-tree/458286 "2019-11-11T16:20:04Z")

</div>

In the \[linked Video here\]\[1\] , you can see that the Yeti is still moving normally, but the dogs stop moving over time. Essentially never activating even though the skier moves near it. I have an older backup of this pro…

---

## [Ai Stay in Area?](https://forums.unrealengine.com/t/ai-stay-in-area/458199)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_aa722587](https://forums.unrealengine.com/u/anonymous_user_aa722587)\
**Replies:** 5\
**Last updated:** [November 10, 2019, 10:46pm UTC](https://forums.unrealengine.com/t/ai-stay-in-area/458199 "2019-11-10T22:46:00Z")

</div>

Hello, I am currently programming Ai and now I would like to know how to program it so that if the AI overlaps with this collision box I have, which is a fenced area, once inside the fence area, the Ai will stay in that…

---

## [AI falling off map?](https://forums.unrealengine.com/t/ai-falling-off-map/458258)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_aa722587](https://forums.unrealengine.com/u/anonymous_user_aa722587)\
**Replies:** 0\
**Last updated:** [November 10, 2019, 10:28pm UTC](https://forums.unrealengine.com/t/ai-falling-off-map/458258 "2019-11-10T22:28:24Z")

</div>

Hello, I have some AI wandering the map, although I notice that even though I have a blocking volume on my map, the AI goes through my trees and falls off the map. My question is, how do you fix this? If someone can h…

---

## [How to stop enemies when they are not on the screen in Behavior Tree and Optimization](https://forums.unrealengine.com/t/how-to-stop-enemies-when-they-are-not-on-the-screen-in-behavior-tree-and-optimization/456407)

<div class="topic-metadata">

**Author:** [@w0hoho](https://forums.unrealengine.com/u/w0hoho)\
**Replies:** 6\
**Last updated:** [November 9, 2019, 6:42pm UTC](https://forums.unrealengine.com/t/how-to-stop-enemies-when-they-are-not-on-the-screen-in-behavior-tree-and-optimization/456407 "2019-11-09T18:42:28Z")

</div>

I recently started to use behavior trees in Ue4. All is good but I need to disappear enemies when they are not close to the character for optimization purposes. I searched online for this but couldn’t find something that…

---

## [Error when trying to use the NavMeshData::GetDebugGeometry Function "error LNK2019: unresolved external symbol"](https://forums.unrealengine.com/t/error-when-trying-to-use-the-navmeshdata-getdebuggeometry-function-error-lnk2019-unresolved-external-symbol/458175)

<div class="topic-metadata">

**Author:** [@Dividuum](https://forums.unrealengine.com/u/Dividuum)\
**Replies:** 2\
**Last updated:** [November 9, 2019, 1:18pm UTC](https://forums.unrealengine.com/t/error-when-trying-to-use-the-navmeshdata-getdebuggeometry-function-error-lnk2019-unresolved-external-symbol/458175 "2019-11-09T13:18:03Z")

</div>

Hello Unrealers! I am receiving an error when trying to get the DebugGEometry form my NavMeshData, I need the edges of the navmesh for a cover system. here is my code: EnvQueryGenerator\_NavMeshEdges.h: #pragma once #…

---

## [Moving AI from One Point To another in a certain amount of time](https://forums.unrealengine.com/t/moving-ai-from-one-point-to-another-in-a-certain-amount-of-time/458194)

<div class="topic-metadata">

**Author:** [@Lesky](https://forums.unrealengine.com/u/Lesky)\
**Replies:** 1\
**Last updated:** [November 8, 2019, 9:59pm UTC](https://forums.unrealengine.com/t/moving-ai-from-one-point-to-another-in-a-certain-amount-of-time/458194 "2019-11-08T21:59:40Z")

</div>

I have an enemy that performs a jump and slam attack. I want him to move above the player withing the time the enemy is in the air, but i cant figure out a good way to do this. I’ve tried using timelines to add forward i…

---

## [Suspend Crowd Steering](https://forums.unrealengine.com/t/suspend-crowd-steering/458128)

<div class="topic-metadata">

**Author:** [@emperor\_katax](https://forums.unrealengine.com/u/emperor_katax)\
**Replies:** 0\
**Last updated:** [November 7, 2019, 4:42am UTC](https://forums.unrealengine.com/t/suspend-crowd-steering/458128 "2019-11-07T04:42:44Z")

</div>

Can you please explain what “Suspend Crowd Steering” is using for? … I like to simulate crowd by using engine resources instead of making my individual AI and populate in numbers. Does anyone did this before? …

---

## [My pawn sensing ai keeps following the player outside of the pawn sensing area](https://forums.unrealengine.com/t/my-pawn-sensing-ai-keeps-following-the-player-outside-of-the-pawn-sensing-area/457930)

<div class="topic-metadata">

**Author:** [@artur\_O\_O](https://forums.unrealengine.com/u/artur_O_O)\
**Replies:** 4\
**Last updated:** [November 6, 2019, 12:56am UTC](https://forums.unrealengine.com/t/my-pawn-sensing-ai-keeps-following-the-player-outside-of-the-pawn-sensing-area/457930 "2019-11-06T00:56:38Z")

</div>

By pawn sensing area, do you mean the nav mesh bound

---

## [How to make ai move to player and other ai?](https://forums.unrealengine.com/t/how-to-make-ai-move-to-player-and-other-ai/457741)

<div class="topic-metadata">

**Author:** [@La\_Crushar](https://forums.unrealengine.com/u/La_Crushar)\
**Replies:** 7\
**Last updated:** [November 6, 2019, 12:17am UTC](https://forums.unrealengine.com/t/how-to-make-ai-move-to-player-and-other-ai/457741 "2019-11-06T00:17:59Z")

</div>

Hi, I am trying to make a ai that chases multi actors. So the way I have it set up in behavior tree is, enemy ai move to player when on sight. I want to be able to make the ai move to my ai defender which doesn’t move …

---

## [Spawn AI character class from an Actor class](https://forums.unrealengine.com/t/spawn-ai-character-class-from-an-actor-class/368406)

<div class="topic-metadata">

**Author:** [@dxcv01](https://forums.unrealengine.com/u/dxcv01)\
**Replies:** 5\
**Last updated:** [November 5, 2019, 11:44pm UTC](https://forums.unrealengine.com/t/spawn-ai-character-class-from-an-actor-class/368406 "2019-11-05T23:44:46Z")

</div>

I’m working on an endless runner game and spawning a series of platforms and I want to spawn an AI character on the platform from its class blueprint using AddChildActorComponent. The character spawns, however it doesn’t…

---

## [Why wont my AI will not move on a box spawn them on?](https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399)

<div class="topic-metadata">

**Author:** [@kjelch1](https://forums.unrealengine.com/u/kjelch1)\
**Replies:** 10\
**Last updated:** [November 5, 2019, 11:44pm UTC](https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399 "2019-11-05T23:44:11Z")

</div>

I have used the 3rd person template and when i spawn AI on the default map it will chase after me, but when i use my procedurally generated map it just stands there. on AI moveTo the it will output to fail, Any ideas on …

---

## [Spawning Ai Problem!](https://forums.unrealengine.com/t/spawning-ai-problem/358936)

<div class="topic-metadata">

**Author:** [@Indie\_Myke](https://forums.unrealengine.com/u/Indie_Myke)\
**Replies:** 4\
**Last updated:** [November 5, 2019, 11:36pm UTC](https://forums.unrealengine.com/t/spawning-ai-problem/358936 "2019-11-05T23:36:30Z")

</div>

My Ai works perfectly fine I tested it by using a print string, but when I go to my ai spawner and spawn the actor from its class and I even give it a default controller but it seems like the pawn sensing is not carrying…

---

## [AI performance](https://forums.unrealengine.com/t/ai-performance/458068)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_5a9c281f](https://forums.unrealengine.com/u/anonymous_user_5a9c281f)\
**Replies:** 0\
**Last updated:** [November 5, 2019, 7:57pm UTC](https://forums.unrealengine.com/t/ai-performance/458068 "2019-11-05T19:57:43Z")

</div>

Hi, I’m trying to make thirty AIs that chase the character and attack him, and I was thinking about how to do it, but efficiently. I am following these tutorials (https://www.youtube.com/watch?v=zNJEvAGiw7w) but I think…

---

## [AI Mechanics?](https://forums.unrealengine.com/t/ai-mechanics/457995)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_aa722587](https://forums.unrealengine.com/u/anonymous_user_aa722587)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 7:09am UTC](https://forums.unrealengine.com/t/ai-mechanics/457995 "2019-11-04T07:09:01Z")

</div>

Hello, I have this AI that I would like to program to roam, flee from the player. (i.e herding mechanic), and randomly spawn on the map. For the roaming, I would like to switch between a running, idle, and eating anima…

---

## [AI moving only around foliage](https://forums.unrealengine.com/t/ai-moving-only-around-foliage/457691)

<div class="topic-metadata">

**Author:** [@Elfideo](https://forums.unrealengine.com/u/Elfideo)\
**Replies:** 3\
**Last updated:** [November 1, 2019, 3:40pm UTC](https://forums.unrealengine.com/t/ai-moving-only-around-foliage/457691 "2019-11-01T15:40:54Z")

</div>

Hello everyone, I’m creating a horror game in which the monster should go outside the wheat fields, I tried creating a context for the foliage but that doesn’t seem to work and I also tried setting volumes as obstacles, …

---

## [Is there a way to make ai sense other ai?](https://forums.unrealengine.com/t/is-there-a-way-to-make-ai-sense-other-ai/350880)

<div class="topic-metadata">

**Author:** [@ViceVersa](https://forums.unrealengine.com/u/ViceVersa)\
**Replies:** 1\
**Last updated:** [November 1, 2019, 6:58am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-make-ai-sense-other-ai/350880 "2019-11-01T06:58:02Z")

</div>

so im working on an rts game, i have one ai character that stands still until it sees one of the characters the player is controlling. The player controller is in a blueprint that controls the camera, while all of the c…

---

## [AI Behaviour Tree does not abort lower priorities](https://forums.unrealengine.com/t/ai-behaviour-tree-does-not-abort-lower-priorities/457835)

<div class="topic-metadata">

**Author:** [@EstebanUE4](https://forums.unrealengine.com/u/EstebanUE4)\
**Replies:** 0\
**Last updated:** [October 31, 2019, 4:14pm UTC](https://forums.unrealengine.com/t/ai-behaviour-tree-does-not-abort-lower-priorities/457835 "2019-10-31T16:14:04Z")

</div>

Hi, I have an Enemy (BlackEnemy\_BP). The goal is that is this enemy can’t LineTrace directly to the player, he chases you. But if he can LineTrace the player he should stop his movement and “stares” to the player. (In t…

---

## [Is there a native way to hook up events for when actor network relevancy changed for another?](https://forums.unrealengine.com/t/is-there-a-native-way-to-hook-up-events-for-when-actor-network-relevancy-changed-for-another/457808)

<div class="topic-metadata">

**Author:** [@Clazzid](https://forums.unrealengine.com/u/Clazzid)\
**Replies:** 0\
**Last updated:** [October 31, 2019, 2:09am UTC](https://forums.unrealengine.com/t/is-there-a-native-way-to-hook-up-events-for-when-actor-network-relevancy-changed-for-another/457808 "2019-10-31T02:09:08Z")

</div>

Hi, I am working on a inventory, my current setup is using replicated UObjects for equipped items and inventory, i have an array of equipment slots, which hold equipped items, replicated to all so on OnRep i can change v…

[Previous page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/ai/128.md?page=70)

[Next page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/ai/128.md?page=72)
