# AI

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

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

**Page:** 85

---

## [UI to UI communications](https://forums.unrealengine.com/t/ui-to-ui-communications/441936)

<div class="topic-metadata">

**Author:** [@Mundi\_Umdali](https://forums.unrealengine.com/u/Mundi_Umdali)\
**Replies:** 0\
**Last updated:** [January 23, 2019, 9:13pm UTC](https://forums.unrealengine.com/t/ui-to-ui-communications/441936 "2019-01-23T21:13:45Z")

</div>

This is my work so far. I will have a crap ton of questions in the future. I was recently basically banished from talking on a UE4 support group on facebook so that is the level I speak of. That is my fore…

---

## [Get AI character location C++](https://forums.unrealengine.com/t/get-ai-character-location-c/441910)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7743cbb6](https://forums.unrealengine.com/u/anonymous_user_7743cbb6)\
**Replies:** 3\
**Last updated:** [January 23, 2019, 4:56pm UTC](https://forums.unrealengine.com/t/get-ai-character-location-c/441910 "2019-01-23T16:56:12Z")

</div>

Hi, Note I am relatively low skilled in C++. I am trying to: loop over AI characters in the game and get there location every frame or every some period of time (say every 0.5s) (NOT ACCOMPLISHED) Keep this data in an…

---

## [Multi-tree in behavior tree?](https://forums.unrealengine.com/t/multi-tree-in-behavior-tree/441889)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f9e3090a](https://forums.unrealengine.com/u/anonymous_user_f9e3090a)\
**Replies:** 1\
**Last updated:** [January 23, 2019, 12:44pm UTC](https://forums.unrealengine.com/t/multi-tree-in-behavior-tree/441889 "2019-01-23T12:44:39Z")

</div>

I am now developing a complex AI using behavior tree. The logic of the AI includes much random behavior and many states. I am a newer to unreal 4. And I want to know is there any way to divide a large tree into some smal…

---

## [MoveToLocation and AIMoveTo are not working correctly](https://forums.unrealengine.com/t/movetolocation-and-aimoveto-are-not-working-correctly/402175)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6efe45a3](https://forums.unrealengine.com/u/anonymous_user_6efe45a3)\
**Replies:** 3\
**Last updated:** [January 22, 2019, 1:36am UTC](https://forums.unrealengine.com/t/movetolocation-and-aimoveto-are-not-working-correctly/402175 "2019-01-22T01:36:58Z")

</div>

Hello. I have a problem with AI. AI is chasing player correctly when there are no breaks in navmesh. But if the player goes on a platform, AI tries to reach him from bottom, although it has NavMesh next to it. Acceptanc…

---

## [AI snapping/jerking when following](https://forums.unrealengine.com/t/ai-snapping-jerking-when-following/441308)

<div class="topic-metadata">

**Author:** [@Crowley\_Caine](https://forums.unrealengine.com/u/Crowley_Caine)\
**Replies:** 11\
**Last updated:** [January 20, 2019, 4:33am UTC](https://forums.unrealengine.com/t/ai-snapping-jerking-when-following/441308 "2019-01-20T04:33:19Z")

</div>

I know this question has been asked many, many times and I’ve spent the last two hours searching for an answer that might actually help, so far nothing has worked. I understand the basic “fix” for this, ie this thread: H…

---

## [AI distance check in behavior tree](https://forums.unrealengine.com/t/ai-distance-check-in-behavior-tree/441624)

<div class="topic-metadata">

**Author:** [@Crowley\_Caine](https://forums.unrealengine.com/u/Crowley_Caine)\
**Replies:** 0\
**Last updated:** [January 19, 2019, 9:01am UTC](https://forums.unrealengine.com/t/ai-distance-check-in-behavior-tree/441624 "2019-01-19T09:01:18Z")

</div>

Hello, I’m having an issue in my behavior tree where the AI doesn’t seem to accept the results of the distance check to go down the correct branch. Here’s a picture of the behavior tree and the settings for the distanc…

---

## [Control multiple AI](https://forums.unrealengine.com/t/control-multiple-ai/441575)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_273adf27](https://forums.unrealengine.com/u/anonymous_user_273adf27)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 5:56pm UTC](https://forums.unrealengine.com/t/control-multiple-ai/441575 "2019-01-18T17:56:09Z")

</div>

Hello! I’m writing a basic AI in my level blueprint for an actor (detection, follow and attack) I would like to know what is the best practice for control multiple actor whith this AI I must put this IA directly in ac…

---

## [Making a Character Move to where I clicked?](https://forums.unrealengine.com/t/making-a-character-move-to-where-i-clicked/441513)

<div class="topic-metadata">

**Author:** [@AliceHalley](https://forums.unrealengine.com/u/AliceHalley)\
**Replies:** 2\
**Last updated:** [January 17, 2019, 6:55pm UTC](https://forums.unrealengine.com/t/making-a-character-move-to-where-i-clicked/441513 "2019-01-17T18:55:10Z")

</div>

So, I am making a MOBA style character controller, were I would like my character to Pathfind to where I click by using a MoveTo node. However, this is not working, and I suspect this is because I am using a player cont…

---

## [An AI Perception problem](https://forums.unrealengine.com/t/an-ai-perception-problem/441414)

<div class="topic-metadata">

**Author:** [@RainbowCookie32](https://forums.unrealengine.com/u/RainbowCookie32)\
**Replies:** 0\
**Last updated:** [January 16, 2019, 3:59am UTC](https://forums.unrealengine.com/t/an-ai-perception-problem/441414 "2019-01-16T03:59:02Z")

</div>

Basically cross-posting from the forums (sorry, but I’m desperate). This is my original post on the forums How do I use the AI Perception Teams? - C++ - Unreal Engine Forums Got an answer but now I’m having issues on co…

---

## [GTA like vehicle and pedestrian ai](https://forums.unrealengine.com/t/gta-like-vehicle-and-pedestrian-ai/436641)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_07095828](https://forums.unrealengine.com/u/anonymous_user_07095828)\
**Replies:** 7\
**Last updated:** [January 15, 2019, 4:44pm UTC](https://forums.unrealengine.com/t/gta-like-vehicle-and-pedestrian-ai/436641 "2019-01-15T16:44:55Z")

</div>

Hey, Is it possible to create an ai like gta? How can i make cars drive around my city with peds inside? The player should be able to to steal the cars from the peds inside the car like GTA. Do i need for this multiple…

---

## [Ai behavior tree task, target location is invalid](https://forums.unrealengine.com/t/ai-behavior-tree-task-target-location-is-invalid/440957)

<div class="topic-metadata">

**Author:** [@PerCat](https://forums.unrealengine.com/u/PerCat)\
**Replies:** 11\
**Last updated:** [January 15, 2019, 1:00am UTC](https://forums.unrealengine.com/t/ai-behavior-tree-task-target-location-is-invalid/440957 "2019-01-15T01:00:58Z")

</div>

Hey all. I’ve began work on my ai cause I wanna start making ti so my buildings will build from the ai but I’m running into an issue where my target location is appearing invalid. Basically I spawn the ai with a button …

---

## [How do I get AI Move To to work?](https://forums.unrealengine.com/t/how-do-i-get-ai-move-to-to-work/343438)

<div class="topic-metadata">

**Author:** [@mdagreda](https://forums.unrealengine.com/u/mdagreda)\
**Replies:** 13\
**Last updated:** [January 14, 2019, 2:28am UTC](https://forums.unrealengine.com/t/how-do-i-get-ai-move-to-to-work/343438 "2019-01-14T02:28:53Z")

</div>

I have set up a blueprint that is calling the AI Move To function and I have a navmesh and I’ve attached the ai to the pawn i want to move but when the blueprint runs the AI Move To function nothing happens except the pr…

---

## [AIMoveTo always aborts, even though Navmesh exists](https://forums.unrealengine.com/t/aimoveto-always-aborts-even-though-navmesh-exists/441214)

<div class="topic-metadata">

**Author:** [@Calzila101](https://forums.unrealengine.com/u/Calzila101)\
**Replies:** 0\
**Last updated:** [January 13, 2019, 1:39pm UTC](https://forums.unrealengine.com/t/aimoveto-always-aborts-even-though-navmesh-exists/441214 "2019-01-13T13:39:30Z")

</div>

Hey guys, I’m currently dealing with an issue where my NPCs always Abort their AiMoveTo task immediately. I recently migrated my 4.18 project to 4.21 and the issue has only started occurring since then. I’ve read anothe…

---

## [AI sight percerption](https://forums.unrealengine.com/t/ai-sight-percerption/440942)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4fb7dbf3](https://forums.unrealengine.com/u/anonymous_user_4fb7dbf3)\
**Replies:** 0\
**Last updated:** [January 9, 2019, 12:07pm UTC](https://forums.unrealengine.com/t/ai-sight-percerption/440942 "2019-01-09T12:07:33Z")

</div>

I have a zombie with a perception component that has sight and hearing. The sight by itself works fine and the hearing triggers correctly when I fire the gun but the sight also triggers even if the zombie can’t see me. …

---

## [AI Patrol doesn't move](https://forums.unrealengine.com/t/ai-patrol-doesnt-move/440899)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4760d377](https://forums.unrealengine.com/u/anonymous_user_4760d377)\
**Replies:** 0\
**Last updated:** [January 8, 2019, 9:16pm UTC](https://forums.unrealengine.com/t/ai-patrol-doesnt-move/440899 "2019-01-08T21:16:43Z")

</div>

Hi, I am trying to make Patroling AI that will be moving to the target points. I was taking steps from a tutorial on Udemy, but it doesn’t move. I tried NavSysPathsUpdate.py to update my code, now it runs without error…

---

## [want to understand the difference of getperceivedactors, getcurrentlyperceivedactors,getknownperceivedactors](https://forums.unrealengine.com/t/want-to-understand-the-difference-of-getperceivedactors-getcurrentlyperceivedactors-getknownperceivedactors/440840)

<div class="topic-metadata">

**Author:** [@DARKINFINITYSTAR](https://forums.unrealengine.com/u/DARKINFINITYSTAR)\
**Replies:** 0\
**Last updated:** [January 8, 2019, 4:20am UTC](https://forums.unrealengine.com/t/want-to-understand-the-difference-of-getperceivedactors-getcurrentlyperceivedactors-getknownperceivedactors/440840 "2019-01-08T04:20:01Z")

</div>

hi,i am in trouble understanding the difference between UAIPerceptionComponent’s function GetPerceivedActors GetCurrentlyPerceivedActors GetKnownPerceivedActors i want to understand what those function acttually retu…

---

## [Problema para instalar epic games launcher](https://forums.unrealengine.com/t/problema-para-instalar-epic-games-launcher/440658)

<div class="topic-metadata">

**Author:** [@Alechep](https://forums.unrealengine.com/u/Alechep)\
**Replies:** 0\
**Last updated:** [January 5, 2019, 7:41pm UTC](https://forums.unrealengine.com/t/problema-para-instalar-epic-games-launcher/440658 "2019-01-05T19:41:33Z")

</div>

Tengo problemas para instalar el launcher, aparece la pantalla validando actualización, y una vez que se cierra aquella ventana, no sucede nada mas. He instalado y reparado varias veces el setup, pero siempre el mismo pr…

---

## [プレイヤーの周りを周回するaiが作りたい](https://forums.unrealengine.com/t/ai/438640)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a5517f03](https://forums.unrealengine.com/u/anonymous_user_a5517f03)\
**Replies:** 3\
**Last updated:** [January 5, 2019, 9:58am UTC](https://forums.unrealengine.com/t/ai/438640 "2019-01-05T09:58:06Z")

</div>

こんにちは、プレイヤーの位置を0，0として AIが一定距離を保ちながら360°周回する挙動を書いてみましたが、 （タスクの発行毎に目標地点を４５°刻みで上書きしています） 目標地点に対してプレイヤーから膨らむように円弧を描き移動してほしいと思っていますが、そのような動きは設定できますか？ 現状周回はしますが、moveto処理と次の処理の間で停止があり、カクついていて改善したいと思っています。

---

## [AI Navmesh failing to generate in 4.21.1](https://forums.unrealengine.com/t/ai-navmesh-failing-to-generate-in-4-21-1/440499)

<div class="topic-metadata">

**Author:** [@Nonlin](https://forums.unrealengine.com/u/Nonlin)\
**Replies:** 1\
**Last updated:** [January 3, 2019, 3:30pm UTC](https://forums.unrealengine.com/t/ai-navmesh-failing-to-generate-in-4-21-1/440499 "2019-01-03T15:30:17Z")

</div>

It seems in editor after a few runs the Navmesh fails to generate at runtime near the AI that need to use it to navigate. In my cases happens in editor randomly after a few runs, run when the map loads in and in a packa…

---

## [AIMoveTo and other related functions fails and aborts](https://forums.unrealengine.com/t/aimoveto-and-other-related-functions-fails-and-aborts/440426)

<div class="topic-metadata">

**Author:** [@AmbiguousInt](https://forums.unrealengine.com/u/AmbiguousInt)\
**Replies:** 0\
**Last updated:** [January 2, 2019, 2:47pm UTC](https://forums.unrealengine.com/t/aimoveto-and-other-related-functions-fails-and-aborts/440426 "2019-01-02T14:47:14Z")

</div>

I’ve been able to get the AI to move at all using any of the AI move functions. I’m using NavigationInvoker due to the size of my level. The navmesh completely builds correctly. Here is a webm of the issue, it seems to s…

---

## [How many ai actors can be in one scene?](https://forums.unrealengine.com/t/how-many-ai-actors-can-be-in-one-scene/370483)

<div class="topic-metadata">

**Author:** [@Scottc91](https://forums.unrealengine.com/u/Scottc91)\
**Replies:** 5\
**Last updated:** [January 1, 2019, 8:49am UTC](https://forums.unrealengine.com/t/how-many-ai-actors-can-be-in-one-scene/370483 "2019-01-01T08:49:04Z")

</div>

Hello there, I have always been interested in trying a total war style game. It has intrigued me, any idea how many separate ai units the unreal engine can handle without melting your computer? Any ideas how to increase…

---

## [AI Quest Giver](https://forums.unrealengine.com/t/ai-quest-giver/440304)

<div class="topic-metadata">

**Author:** [@DonleyStudiosInc](https://forums.unrealengine.com/u/DonleyStudiosInc)\
**Replies:** 0\
**Last updated:** [December 30, 2018, 4:37am UTC](https://forums.unrealengine.com/t/ai-quest-giver/440304 "2018-12-30T04:37:39Z")

</div>

So i Have A AI running a basic behavior tree and moving to certain points with quest programmed inside him upon interacting i get the quest but he doesn’t stop should any tips to get him to stop and upon accepting the qu…

---

## [Ai behavior tree task, target location is invalid](https://forums.unrealengine.com/t/ai-behavior-tree-task-target-location-is-invalid/440289)

<div class="topic-metadata">

**Author:** [@PerCat](https://forums.unrealengine.com/u/PerCat)\
**Replies:** 1\
**Last updated:** [December 29, 2018, 9:02pm UTC](https://forums.unrealengine.com/t/ai-behavior-tree-task-target-location-is-invalid/440289 "2018-12-29T21:02:09Z")

</div>

Hey all. I’ve began work on my ai cause I wanna start making ti so my buildings will build from the ai but I’m running into an issue where my target location is appearing invalid. Basically I spawn the ai with a button …

---

## [Spawning More Than 4 AI Causes a Cast to Fail?](https://forums.unrealengine.com/t/spawning-more-than-4-ai-causes-a-cast-to-fail/440207)

<div class="topic-metadata">

**Author:** [@Noodle\_Games](https://forums.unrealengine.com/u/Noodle_Games)\
**Replies:** 1\
**Last updated:** [December 28, 2018, 5:48am UTC](https://forums.unrealengine.com/t/spawning-more-than-4-ai-causes-a-cast-to-fail/440207 "2018-12-28T05:48:25Z")

</div>

So I’ve been trying to optimize my method of spawning AI by using the SpawnAIFromClass Node. This works great, i’m able to spawn the ai and get all the variable values I need. The problem is that on the 5th+ time I spawn…

---

## [Pathfinding fails to find solution on thin grid](https://forums.unrealengine.com/t/pathfinding-fails-to-find-solution-on-thin-grid/420291)

<div class="topic-metadata">

**Author:** [@CaptainGK](https://forums.unrealengine.com/u/CaptainGK)\
**Replies:** 2\
**Last updated:** [December 27, 2018, 9:40pm UTC](https://forums.unrealengine.com/t/pathfinding-fails-to-find-solution-on-thin-grid/420291 "2018-12-27T21:40:15Z")

</div>

Hello, I have a problem with getting navigation to work. On my game I have a grid of thin lines that the player can move on. On said lines, I placed a navigation mesh and configured agent radius accordingly. On m…

---

## [AI not moving on a moving surface. Sometimes](https://forums.unrealengine.com/t/ai-not-moving-on-a-moving-surface-sometimes/440030)

<div class="topic-metadata">

**Author:** [@mindsurferdev](https://forums.unrealengine.com/u/mindsurferdev)\
**Replies:** 1\
**Last updated:** [December 26, 2018, 4:08pm UTC](https://forums.unrealengine.com/t/ai-not-moving-on-a-moving-surface-sometimes/440030 "2018-12-26T16:08:26Z")

</div>

I have a moving walkable surface \[static mesh\], and there is AI characters ontop of it that are told to walk from one path node to another ontop of this surface. I press play and it works fine they can walk from one poin…

---

## [How to make nav mesh work well on quick moving vehicles?](https://forums.unrealengine.com/t/how-to-make-nav-mesh-work-well-on-quick-moving-vehicles/439993)

<div class="topic-metadata">

**Author:** [@mindsurferdev](https://forums.unrealengine.com/u/mindsurferdev)\
**Replies:** 0\
**Last updated:** [December 23, 2018, 5:19pm UTC](https://forums.unrealengine.com/t/how-to-make-nav-mesh-work-well-on-quick-moving-vehicles/439993 "2018-12-23T17:19:09Z")

</div>

What I would like to be able to do is have a level with lots of AI on a huge jet thats moving very quickly through the world and have that AI be able to move around on that jet like its ordinary ground. Currently there s…

---

## [Character Cull Distance?](https://forums.unrealengine.com/t/character-cull-distance/346027)

<div class="topic-metadata">

**Author:** [@yghtim](https://forums.unrealengine.com/u/yghtim)\
**Replies:** 2\
**Last updated:** [December 23, 2018, 1:23pm UTC](https://forums.unrealengine.com/t/character-cull-distance/346027 "2018-12-23T13:23:28Z")

</div>

Hey guys, so im sure this have been asked befour but i cannot find an answer. If you make a big open world with lots of characters and stuff, how should you deal with the distance? I mean the boxvolume that removed obj…

---

## [Why does this tutorial reference something that doesn't exist?](https://forums.unrealengine.com/t/why-does-this-tutorial-reference-something-that-doesnt-exist/439965)

<div class="topic-metadata">

**Author:** [@BellokTV](https://forums.unrealengine.com/u/BellokTV)\
**Replies:** 2\
**Last updated:** [December 23, 2018, 4:21am UTC](https://forums.unrealengine.com/t/why-does-this-tutorial-reference-something-that-doesnt-exist/439965 "2018-12-23T04:21:40Z")

</div>

I’m following this tutorial: https://docs.unrealengine.com/en-us/Engine/AI/BehaviorTrees/QuickStart and reached step 10 where I start setting up my variables. This is what they show. This is what their variable icons…

---

## [How to get EQSQueries to work in 4.21](https://forums.unrealengine.com/t/how-to-get-eqsqueries-to-work-in-4-21/439624)

<div class="topic-metadata">

**Author:** [@Rizzkicz](https://forums.unrealengine.com/u/Rizzkicz)\
**Replies:** 2\
**Last updated:** [December 19, 2018, 11:20am UTC](https://forums.unrealengine.com/t/how-to-get-eqsqueries-to-work-in-4-21/439624 "2018-12-19T11:20:54Z")

</div>

I’ve been able to use EnvQuery in the previous versions of UE4, but when I upgraded to 4.21 I’ve been unable to edit the files. Upgrading the engine gives me an error message when I launch my project with “can’t find fil…

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

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