# AI

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

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

**Page:** 91

---

## [How to make AI keep wandering after it can't find me?](https://forums.unrealengine.com/t/how-to-make-ai-keep-wandering-after-it-cant-find-me/394756)

<div class="topic-metadata">

**Author:** [@ItsGabeGames](https://forums.unrealengine.com/u/ItsGabeGames)\
**Replies:** 6\
**Last updated:** [August 23, 2018, 1:58am UTC](https://forums.unrealengine.com/t/how-to-make-ai-keep-wandering-after-it-cant-find-me/394756 "2018-08-23T01:58:05Z")

</div>

So, the AI character wanders around in the level, and whenever I enter its in line of sight, it chases me. But whenever it can’t find me after I leave its line of sight, it just stands there. How do I make it resume wand…

---

## [Advanced AI like AAA games?](https://forums.unrealengine.com/t/advanced-ai-like-aaa-games/432161)

<div class="topic-metadata">

**Author:** [@La\_Crushar](https://forums.unrealengine.com/u/La_Crushar)\
**Replies:** 2\
**Last updated:** [August 22, 2018, 7:50pm UTC](https://forums.unrealengine.com/t/advanced-ai-like-aaa-games/432161 "2018-08-22T19:50:45Z")

</div>

Hello, When I play games like watchdogs 2 and gta V, I and always fascinated about how the citizens (AI) react to certain things. For an example, if you shoot a gun in there area they run away, and you able to interact …

---

## [RTS AI resource consumption and the logic behind it](https://forums.unrealengine.com/t/rts-ai-resource-consumption-and-the-logic-behind-it/431955)

<div class="topic-metadata">

**Author:** [@Evertoo](https://forums.unrealengine.com/u/Evertoo)\
**Replies:** 3\
**Last updated:** [August 22, 2018, 8:28am UTC](https://forums.unrealengine.com/t/rts-ai-resource-consumption-and-the-logic-behind-it/431955 "2018-08-22T08:28:04Z")

</div>

Hi! I’m working on an sci-fi RTS game, most of the main features are compleat, but i’m a bit stuck with the AI The question is. How would you guys set up the logic for the resource consuptions. How would he decide if h…

---

## [Is there a way to trace along an AI path?](https://forums.unrealengine.com/t/is-there-a-way-to-trace-along-an-ai-path/432068)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_8c806efd1](https://forums.unrealengine.com/u/anonymous_user_8c806efd1)\
**Replies:** 1\
**Last updated:** [August 21, 2018, 11:25pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-trace-along-an-ai-path/432068 "2018-08-21T23:25:46Z")

</div>

Is there a way to perform a trace, like a line trace, but that follows an AI navigation path? I want this so I can detect doors and other obstacles in the way of the AI.

---

## [How do I make AI mimic my movement from their current location?](https://forums.unrealengine.com/t/how-do-i-make-ai-mimic-my-movement-from-their-current-location/432158)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_32b7b4fa](https://forums.unrealengine.com/u/anonymous_user_32b7b4fa)\
**Replies:** 0\
**Last updated:** [August 21, 2018, 9:58pm UTC](https://forums.unrealengine.com/t/how-do-i-make-ai-mimic-my-movement-from-their-current-location/432158 "2018-08-21T21:58:12Z")

</div>

I’m making an FPS game, but I’ve set the camera up high to help me explain. I have a blueprint that gets my selected AI characters to form up on me in a V shape formation(initialformationblueprint.jpg) with me at the fro…

---

## [How change the plan of navigation of my pawn?](https://forums.unrealengine.com/t/how-change-the-plan-of-navigation-of-my-pawn/432121)

<div class="topic-metadata">

**Author:** [@meteora-1999](https://forums.unrealengine.com/u/meteora-1999)\
**Replies:** 6\
**Last updated:** [August 21, 2018, 7:20pm UTC](https://forums.unrealengine.com/t/how-change-the-plan-of-navigation-of-my-pawn/432121 "2018-08-21T19:20:50Z")

</div>

Hi, I want my pawn to be able to navigate on the horizontal plan but also on a vertical plan when the player press a button. Any ideas please?

---

## [Behavior tree with AImoveTo keeps failing](https://forums.unrealengine.com/t/behavior-tree-with-aimoveto-keeps-failing/431760)

<div class="topic-metadata">

**Author:** [@TomoCZ](https://forums.unrealengine.com/u/TomoCZ)\
**Replies:** 3\
**Last updated:** [August 21, 2018, 8:44am UTC](https://forums.unrealengine.com/t/behavior-tree-with-aimoveto-keeps-failing/431760 "2018-08-21T08:44:55Z")

</div>

Hi, shortly: I have an AI movement behavior tree based on the QuickStart tutorial (https://docs.unrealengine.com/en-US/Engine/AI/BehaviorTrees/QuickStart), but I am encountering quite wierd error. The left branch of the…

---

## [Floating AI falls down while moving, why?](https://forums.unrealengine.com/t/floating-ai-falls-down-while-moving-why/378338)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_aab22278](https://forums.unrealengine.com/u/anonymous_user_aab22278)\
**Replies:** 2\
**Last updated:** [August 20, 2018, 3:05pm UTC](https://forums.unrealengine.com/t/floating-ai-falls-down-while-moving-why/378338 "2018-08-20T15:05:21Z")

</div>

The initial location of my AI is (100, 100, 400). And it’s floating in the sky. However, after I tell it to move to me, it falls down while moving to me. Why? I want it to float in the sky all the time. How can I make it…

---

## [Working on a behavior tree and I've encountered a roadblock](https://forums.unrealengine.com/t/working-on-a-behavior-tree-and-ive-encountered-a-roadblock/327006)

<div class="topic-metadata">

**Author:** [@KristopherAnderson\_1](https://forums.unrealengine.com/u/KristopherAnderson_1)\
**Replies:** 2\
**Last updated:** [August 19, 2018, 4:40am UTC](https://forums.unrealengine.com/t/working-on-a-behavior-tree-and-ive-encountered-a-roadblock/327006 "2018-08-19T04:40:48Z")

</div>

I’m currently working on a behavior tree described in this tutorial https://docs.unrealengine.com/latest/INT/Engine/AI/BehaviorTrees/QuickStart/14/index.html and I’m trying to put the tree together. While putting the com…

---

## [How do I access an individual actor with multiple of the same actors on the same level?](https://forums.unrealengine.com/t/how-do-i-access-an-individual-actor-with-multiple-of-the-same-actors-on-the-same-level/431726)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_32b7b4fa](https://forums.unrealengine.com/u/anonymous_user_32b7b4fa)\
**Replies:** 6\
**Last updated:** [August 17, 2018, 5:47am UTC](https://forums.unrealengine.com/t/how-do-i-access-an-individual-actor-with-multiple-of-the-same-actors-on-the-same-level/431726 "2018-08-17T05:47:50Z")

</div>

I have one AI Actor that I want to spawn several of in a level and then access them individually to give them specific gear or even a name. I’ve duplicated them in my test level and have had success telling them all to f…

---

## [Can you implement a console command on an AI controller?](https://forums.unrealengine.com/t/can-you-implement-a-console-command-on-an-ai-controller/430914)

<div class="topic-metadata">

**Author:** [@LDOGLONDON](https://forums.unrealengine.com/u/LDOGLONDON)\
**Replies:** 1\
**Last updated:** [August 15, 2018, 4:46pm UTC](https://forums.unrealengine.com/t/can-you-implement-a-console-command-on-an-ai-controller/430914 "2018-08-15T16:46:36Z")

</div>

I tried implementing a console command in my AI controller like this: // .h UFUNCTION(Exec, Category = “Console Command”) void ToggleAIDebug(); // .cpp void ToggleAIDebug() { UE\_LOG(LogTemp, Warning, TEXT(“Hit deb…

---

## [Excuse me: I can't find the replay system of UE4, where is Equivalent Console Command?](https://forums.unrealengine.com/t/excuse-me-i-cant-find-the-replay-system-of-ue4-where-is-equivalent-console-command/431665)

<div class="topic-metadata">

**Author:** [@gaoshuo](https://forums.unrealengine.com/u/gaoshuo)\
**Replies:** 0\
**Last updated:** [August 15, 2018, 1:49am UTC](https://forums.unrealengine.com/t/excuse-me-i-cant-find-the-replay-system-of-ue4-where-is-equivalent-console-command/431665 "2018-08-15T01:49:26Z")

</div>

Excuse me: I can’t find the replay system of UE4, where is Equivalent Console Command?

---

## [Moving AI on a Grid](https://forums.unrealengine.com/t/moving-ai-on-a-grid/431122)

<div class="topic-metadata">

**Author:** [@Gavin\_Goulden](https://forums.unrealengine.com/u/Gavin_Goulden)\
**Replies:** 2\
**Last updated:** [August 12, 2018, 5:43am UTC](https://forums.unrealengine.com/t/moving-ai-on-a-grid/431122 "2018-08-12T05:43:19Z")

</div>

Hey all - I’m currently puttering away at a 1st person dungeon crawler (Dungeon Master, Grimrock, EotB, Wizardy, etc.) and am running into an issue with getting my enemies to move tile by tile rather than from point A t…

---

## [Get random navigable point always returns the (actor) origin](https://forums.unrealengine.com/t/get-random-navigable-point-always-returns-the-actor-origin/431434)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c52a09cc](https://forums.unrealengine.com/u/anonymous_user_c52a09cc)\
**Replies:** 0\
**Last updated:** [August 11, 2018, 3:36pm UTC](https://forums.unrealengine.com/t/get-random-navigable-point-always-returns-the-actor-origin/431434 "2018-08-11T15:36:36Z")

</div>

This is the blueprint I use to spawn decals where NPCs can interact with them: The problem is that the decals, spawned by my actor at (0|0|0) only spawn at (0|0|15), which is the actor origin plus the navmesh height. …

---

## [Cant choose Blackboard value](https://forums.unrealengine.com/t/cant-choose-blackboard-value/428898)

<div class="topic-metadata">

**Author:** [@Kanteh](https://forums.unrealengine.com/u/Kanteh)\
**Replies:** 1\
**Last updated:** [August 11, 2018, 4:34am UTC](https://forums.unrealengine.com/t/cant-choose-blackboard-value/428898 "2018-08-11T04:34:35Z")

</div>

Hello, i cant choose a blackboard inherited value. Any ideas ? Its most likly a bug right ? I tried to restart the UE4, but that doesnt help (Its the only way to update inherited BB variables …)

---

## [How to create interruptable weapon charge using Behavior Tree](https://forums.unrealengine.com/t/how-to-create-interruptable-weapon-charge-using-behavior-tree/431341)

<div class="topic-metadata">

**Author:** [@radorachev](https://forums.unrealengine.com/u/radorachev)\
**Replies:** 0\
**Last updated:** [August 10, 2018, 9:14pm UTC](https://forums.unrealengine.com/t/how-to-create-interruptable-weapon-charge-using-behavior-tree/431341 "2018-08-10T21:14:02Z")

</div>

Hello, I am modelling the AI of my NPCs using BTs. For one of my bosses (to say) I want to have like a super-weapon that can be interrupted while charging. What I mean is this: The NPC charges the weapon for some time…

---

## [\[BUG\] Shooter Game "Shooter Team Spawn" doesn't work](https://forums.unrealengine.com/t/bug-shooter-game-shooter-team-spawn-doesnt-work/348246)

<div class="topic-metadata">

**Author:** [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Replies:** 12\
**Last updated:** [August 10, 2018, 9:13pm UTC](https://forums.unrealengine.com/t/bug-shooter-game-shooter-team-spawn-doesnt-work/348246 "2018-08-10T21:13:32Z")

</div>

I’m working on a single player versus A.I. game mode based on the Shooter Game project. I’ve set up a system that spawns bots based on the player’s location every few seconds, but for some reason, after I kill a bot it r…

---

## [One AIController for multiple BT and BB](https://forums.unrealengine.com/t/one-aicontroller-for-multiple-bt-and-bb/431389)

<div class="topic-metadata">

**Author:** [@John\_Tracid](https://forums.unrealengine.com/u/John_Tracid)\
**Replies:** 0\
**Last updated:** [August 10, 2018, 6:23pm UTC](https://forums.unrealengine.com/t/one-aicontroller-for-multiple-bt-and-bb/431389 "2018-08-10T18:23:54Z")

</div>

I have following AIController. AEnemyAIController::AEnemyAIController() { Blackboard = CreateDefaultSubobject\<UBlackboardComponent\>(TEXT("Blackboard")); BehaviorTree = CreateDefaultSubobject\<UBehaviorTreeComponent\>(TE…

---

## [Pause AI move to when objects cone "sees" it](https://forums.unrealengine.com/t/pause-ai-move-to-when-objects-cone-sees-it/431172)

<div class="topic-metadata">

**Author:** [@f00d4tehg0dz](https://forums.unrealengine.com/u/f00d4tehg0dz)\
**Replies:** 4\
**Last updated:** [August 9, 2018, 7:04pm UTC](https://forums.unrealengine.com/t/pause-ai-move-to-when-objects-cone-sees-it/431172 "2018-08-09T19:04:22Z")

</div>

Hey there! While i’m admittingly new to Blueprints, one way I learn is by practicing. One area I’m playing around with is trying to figure out how to “pause” AI move to. As well as how to do this only when an object is …

---

## [Multiple Line Trace Between AI and Player?](https://forums.unrealengine.com/t/multiple-line-trace-between-ai-and-player/431270)

<div class="topic-metadata">

**Author:** [@Gavin\_Goulden](https://forums.unrealengine.com/u/Gavin_Goulden)\
**Replies:** 0\
**Last updated:** [August 9, 2018, 6:46am UTC](https://forums.unrealengine.com/t/multiple-line-trace-between-ai-and-player/431270 "2018-08-09T06:46:37Z")

</div>

Hey all - I’m trying to set up tile movement for my ai to path from point A to point B. For basic roaming, I am doing 4 traces (n,e,s,w) to get relevant tiles to move to and intentionally not moving in diagonal lines (l…

---

## [Is there a way to make AI unable to see through smoke/fog?](https://forums.unrealengine.com/t/is-there-a-way-to-make-ai-unable-to-see-through-smoke-fog/430677)

<div class="topic-metadata">

**Author:** [@LDOGLONDON](https://forums.unrealengine.com/u/LDOGLONDON)\
**Replies:** 5\
**Last updated:** [August 8, 2018, 9:23pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-make-ai-unable-to-see-through-smoke-fog/430677 "2018-08-08T21:23:44Z")

</div>

I’m working on an AI perception system and its working for the most part. The AI perceives other actors that go into it’s view radius using the Sight Viewing configuration. Basically I’m wondering if there is a way to ma…

---

## [Is there a way to ignore a class when doing a LineTraceSingleByObjectType in C++?](https://forums.unrealengine.com/t/is-there-a-way-to-ignore-a-class-when-doing-a-linetracesinglebyobjecttype-in-c/431165)

<div class="topic-metadata">

**Author:** [@LDOGLONDON](https://forums.unrealengine.com/u/LDOGLONDON)\
**Replies:** 2\
**Last updated:** [August 8, 2018, 9:16pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-ignore-a-class-when-doing-a-linetracesinglebyobjecttype-in-c/431165 "2018-08-08T21:16:25Z")

</div>

I’m overwriting CanBeSeenFrom in my Character class because I wanted to do more specific sight checks for the AIPerception system and because I needed to ignore certain classes/in-game objects when doing the line traces.…

---

## [How can I male an AI attack players and a building](https://forums.unrealengine.com/t/how-can-i-male-an-ai-attack-players-and-a-building/431155)

<div class="topic-metadata">

**Author:** [@Cattamer543](https://forums.unrealengine.com/u/Cattamer543)\
**Replies:** 1\
**Last updated:** [August 7, 2018, 9:44pm UTC](https://forums.unrealengine.com/t/how-can-i-male-an-ai-attack-players-and-a-building/431155 "2018-08-07T21:44:33Z")

</div>

Hi I was wondering how you can make an AI attack a building and destroy it

---

## [AI service not working](https://forums.unrealengine.com/t/ai-service-not-working/431014)

<div class="topic-metadata">

**Author:** [@4Choped](https://forums.unrealengine.com/u/4Choped)\
**Replies:** 1\
**Last updated:** [August 6, 2018, 11:25am UTC](https://forums.unrealengine.com/t/ai-service-not-working/431014 "2018-08-06T11:25:51Z")

</div>

First off, I dont know if this is the appropiate Section. Sorry if this shouldnt be posted here. Anyways, I have a weird problem with AI. Let me explain. I made an enemy eith a very basic AI: -Youre far? He goes towar…

---

## [How to stop the third person character being controlled by the AI controller?](https://forums.unrealengine.com/t/how-to-stop-the-third-person-character-being-controlled-by-the-ai-controller/431033)

<div class="topic-metadata">

**Author:** [@vanessayunling](https://forums.unrealengine.com/u/vanessayunling)\
**Replies:** 0\
**Last updated:** [August 6, 2018, 2:52am UTC](https://forums.unrealengine.com/t/how-to-stop-the-third-person-character-being-controlled-by-the-ai-controller/431033 "2018-08-06T02:52:26Z")

</div>

I’m using a widget, spawned from a VR Pawn, simliar to the one in the following tutorial: Unreal Engine - \[VR\] 3D Widget - YouTube with 3 buttons, to possess a pawn, first person character and third person character tha…

---

## [Manual rebuild of navmesh](https://forums.unrealengine.com/t/manual-rebuild-of-navmesh/431020)

<div class="topic-metadata">

**Author:** [@Frozenfire](https://forums.unrealengine.com/u/Frozenfire)\
**Replies:** 0\
**Last updated:** [August 5, 2018, 8:19pm UTC](https://forums.unrealengine.com/t/manual-rebuild-of-navmesh/431020 "2018-08-05T20:19:45Z")

</div>

is there a way to rebuild navmesh manually by registering components manually. I believe there must be , I"m curious what are the exact functions that is in charge of this? My guess is : void UNavigationSystemV1::OnAc…

---

## [How to get rid of the boucing of AI when it hits the player?](https://forums.unrealengine.com/t/how-to-get-rid-of-the-boucing-of-ai-when-it-hits-the-player/430816)

<div class="topic-metadata">

**Author:** [@Sutano\_Izamura](https://forums.unrealengine.com/u/Sutano_Izamura)\
**Replies:** 0\
**Last updated:** [August 2, 2018, 3:54pm UTC](https://forums.unrealengine.com/t/how-to-get-rid-of-the-boucing-of-ai-when-it-hits-the-player/430816 "2018-08-02T15:54:08Z")

</div>

I have problem with AI bouncing off from the player when it hits him. I do not know how to explain it exactly and therefore, short gif will be better Screen capture - 6dd9b623ee4540dfe1f827805cfe3f74 - Gyazo

---

## [EQS Query blank screen](https://forums.unrealengine.com/t/eqs-query-blank-screen/430795)

<div class="topic-metadata">

**Author:** [@Manoloon](https://forums.unrealengine.com/u/Manoloon)\
**Replies:** 1\
**Last updated:** [August 2, 2018, 12:53pm UTC](https://forums.unrealengine.com/t/eqs-query-blank-screen/430795 "2018-08-02T12:53:41Z")

</div>

I want to use the environmental Query but always the result is this image : I have try the workaround from Mieszko : DefaultEngine.Ini : \[EnvironmentQueryEd\] EnableEnvironmentQueryEd=true and of course , I have a…

---

## [PawnActionComponent](https://forums.unrealengine.com/t/pawnactioncomponent/311682)

<div class="topic-metadata">

**Author:** [@mirsabayu](https://forums.unrealengine.com/u/mirsabayu)\
**Replies:** 4\
**Last updated:** [August 1, 2018, 8:09pm UTC](https://forums.unrealengine.com/t/pawnactioncomponent/311682 "2018-08-01T20:09:49Z")

</div>

can anyone explain what is PawnAction Component?? and how to use it?? thx

---

## [Can't visualise EQS](https://forums.unrealengine.com/t/cant-visualise-eqs/430744)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c39cde44](https://forums.unrealengine.com/u/anonymous_user_c39cde44)\
**Replies:** 0\
**Last updated:** [August 1, 2018, 5:04pm UTC](https://forums.unrealengine.com/t/cant-visualise-eqs/430744 "2018-08-01T17:04:23Z")

</div>

Hello, while debugging my EQS doesn’t update properly which makes debugging very difficult. I know the question is not so specific but does anyone have any idea where can I look to fix it?

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

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