# AI

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

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

**Page:** 98

---

## [AI doesn't move very far](https://forums.unrealengine.com/t/ai-doesnt-move-very-far/411578)

<div class="topic-metadata">

**Author:** [@Jsoul89](https://forums.unrealengine.com/u/Jsoul89)\
**Replies:** 2\
**Last updated:** [April 5, 2018, 9:01pm UTC](https://forums.unrealengine.com/t/ai-doesnt-move-very-far/411578 "2018-04-05T21:01:00Z")

</div>

Ok so the AI script works great except for the simple fact that the AI only moves like 4 feet at a time. if i extend the time delay it does nothing but make them stop longer before moving another 4 feet. here is my scr…

---

## [Running EQS on multifloor layouts](https://forums.unrealengine.com/t/running-eqs-on-multifloor-layouts/421778)

<div class="topic-metadata">

**Author:** [@illYay](https://forums.unrealengine.com/u/illYay)\
**Replies:** 4\
**Last updated:** [April 5, 2018, 8:37pm UTC](https://forums.unrealengine.com/t/running-eqs-on-multifloor-layouts/421778 "2018-04-05T20:37:21Z")

</div>

Here is a screenshot of running a geometry tracemode eqs query. Ideally the query would generate things to check inside the building rather than on top. It seems like the traces come from above rather than fanning o…

---

## [AI Pathfinding methods](https://forums.unrealengine.com/t/ai-pathfinding-methods/421914)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_28c382f7](https://forums.unrealengine.com/u/anonymous_user_28c382f7)\
**Replies:** 1\
**Last updated:** [April 5, 2018, 8:29pm UTC](https://forums.unrealengine.com/t/ai-pathfinding-methods/421914 "2018-04-05T20:29:13Z")

</div>

Has anyone got any useful resources on making a fairly simple AI bots that uses any of these path finding methods?: A\* Dijkstra’s BFS Thanks in advance.

---

## [BehaviorTree : Service skipped](https://forums.unrealengine.com/t/behaviortree-service-skipped/421852)

<div class="topic-metadata">

**Author:** [@Genova](https://forums.unrealengine.com/u/Genova)\
**Replies:** 0\
**Last updated:** [April 5, 2018, 2:15am UTC](https://forums.unrealengine.com/t/behaviortree-service-skipped/421852 "2018-04-05T02:15:15Z")

</div>

Hello, I’m having a funky behavior with the BehaviorTree. On some rare occasions, when it Aborts a branch of the tree, and go through that same branch just a little later, the services are skipped. I have something ra…

---

## [Blueprint to AI Task communication](https://forums.unrealengine.com/t/blueprint-to-ai-task-communication/415920)

<div class="topic-metadata">

**Author:** [@S\_I\_G](https://forums.unrealengine.com/u/S_I_G)\
**Replies:** 3\
**Last updated:** [April 5, 2018, 2:11am UTC](https://forums.unrealengine.com/t/blueprint-to-ai-task-communication/415920 "2018-04-05T02:11:27Z")

</div>

I’m looking for a way to have my Player Controller trigger an event in an AI Task. I’ve tried several things, but I haven’t figured how to cast to the AI Task from inside the Player Controller. Any ideas on how to do thi…

---

## [Characters stuck after being on idle for a while](https://forums.unrealengine.com/t/characters-stuck-after-being-on-idle-for-a-while/421680)

<div class="topic-metadata">

**Author:** [@chiefGui](https://forums.unrealengine.com/u/chiefGui)\
**Replies:** 2\
**Last updated:** [April 4, 2018, 9:57pm UTC](https://forums.unrealengine.com/t/characters-stuck-after-being-on-idle-for-a-while/421680 "2018-04-04T21:57:16Z")

</div>

Hey guys, I’m working on a multiplayer RTS game. The character the player controls is possessed by an AI whilst owned by a Player Controller. The movement is replicated and done by AI Move To. Given this scenario, some…

---

## [Aiの仕組みについて](https://forums.unrealengine.com/t/ai/421705)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_10130d8c](https://forums.unrealengine.com/u/anonymous_user_10130d8c)\
**Replies:** 6\
**Last updated:** [April 4, 2018, 3:19am UTC](https://forums.unrealengine.com/t/ai/421705 "2018-04-04T03:19:09Z")

</div>

AIについて質問です。普段ランダムでそこら辺をうろついているＡＩキャラが、こちらの姿を目撃すると追いかけてくる。というのを作って、実現はできたのですが、デコレーターの「BlackBoard」にある「Is Set」と「Is Not Set」の意味が全くよくわかりません。「BlackBoard Key」に「Player（自分のこと）」を設定し、「Is Not Set」にしたらなぜうまくいったのか、逆に、「Is Not Set」を「Is Se…

---

## [How to check whether a Character can move to a Location in NavMeshBoundsVolume?](https://forums.unrealengine.com/t/how-to-check-whether-a-character-can-move-to-a-location-in-navmeshboundsvolume/396153)

<div class="topic-metadata">

**Author:** [@anon13181580](https://forums.unrealengine.com/u/anon13181580)\
**Replies:** 3\
**Last updated:** [April 3, 2018, 3:51pm UTC](https://forums.unrealengine.com/t/how-to-check-whether-a-character-can-move-to-a-location-in-navmeshboundsvolume/396153 "2018-04-03T15:51:22Z")

</div>

Hello, how can I check whether an AI Character can move to a Location in NavMeshBoundsVolume? For example how can I check whether it can move to the Location it is supposed to via SimpleMoveToLocation?

---

## [Spawn AI out of array?](https://forums.unrealengine.com/t/spawn-ai-out-of-array/421711)

<div class="topic-metadata">

**Author:** [@Soarino](https://forums.unrealengine.com/u/Soarino)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 2:42pm UTC](https://forums.unrealengine.com/t/spawn-ai-out-of-array/421711 "2018-04-03T14:42:58Z")

</div>

Im trying to develop a mount and blade style game in which two sides of AI fight. I would like to store all of my AI in a array, edit how many AI are in the array and spawn them from the array. How would i go about addin…

---

## [Tricky Behaviour Tree question](https://forums.unrealengine.com/t/tricky-behaviour-tree-question/421302)

<div class="topic-metadata">

**Author:** [@RayMalkin](https://forums.unrealengine.com/u/RayMalkin)\
**Replies:** 3\
**Last updated:** [April 3, 2018, 9:30am UTC](https://forums.unrealengine.com/t/tricky-behaviour-tree-question/421302 "2018-04-03T09:30:54Z")

</div>

So my game is progressing and my zombies are all doing as I told them to following the AI and Behaviour Tree I set up using the excellent Unreal tutorial; Behavior Tree Quick Start Guide. I have an animation Blueprint …

---

## [Is it possible to enable Nav Modifiers on dynamically spawned blueprint actors?](https://forums.unrealengine.com/t/is-it-possible-to-enable-nav-modifiers-on-dynamically-spawned-blueprint-actors/339517)

<div class="topic-metadata">

**Author:** [@Stormrage256](https://forums.unrealengine.com/u/Stormrage256)\
**Replies:** 5\
**Last updated:** [April 2, 2018, 12:01pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-enable-nav-modifiers-on-dynamically-spawned-blueprint-actors/339517 "2018-04-02T12:01:28Z")

</div>

Hi, I have a blueprint which has a Box collision component and a Nav Modifier component. The Nav Modifier area class has been set to NavArea\_Obstacle. When I add an actor of this blueprint into the level from the editor,…

---

## [AI Patrol failing](https://forums.unrealengine.com/t/ai-patrol-failing/421072)

<div class="topic-metadata">

**Author:** [@Aethryx](https://forums.unrealengine.com/u/Aethryx)\
**Replies:** 25\
**Last updated:** [March 30, 2018, 10:24pm UTC](https://forums.unrealengine.com/t/ai-patrol-failing/421072 "2018-03-30T22:24:27Z")

</div>

I’ve set up a simple patrol script for an enemy AI character for my game, to make him idly walk around in some hallways. I currently have three target points set up at ground level, and I’ve included a screenshot of the …

---

## [How to use UpdateControlRotation() in C++?](https://forums.unrealengine.com/t/how-to-use-updatecontrolrotation-in-c/421327)

<div class="topic-metadata">

**Author:** [@Tomza](https://forums.unrealengine.com/u/Tomza)\
**Replies:** 0\
**Last updated:** [March 30, 2018, 2:01pm UTC](https://forums.unrealengine.com/t/how-to-use-updatecontrolrotation-in-c/421327 "2018-03-30T14:01:10Z")

</div>

Hi all, I have found the code in the UpdateControlRotation() function: FVector TheCenter = GetFocalPoint(); //Retrieve the final position that controller should be looking at. if (!TheCenter.IsZero() && GetPawn()){ …

---

## [How to handle persistent AI that can be spawned and unspawned?](https://forums.unrealengine.com/t/how-to-handle-persistent-ai-that-can-be-spawned-and-unspawned/382230)

<div class="topic-metadata">

**Author:** [@CapitaineStar](https://forums.unrealengine.com/u/CapitaineStar)\
**Replies:** 3\
**Last updated:** [March 30, 2018, 5:03am UTC](https://forums.unrealengine.com/t/how-to-handle-persistent-ai-that-can-be-spawned-and-unspawned/382230 "2018-03-30T05:03:33Z")

</div>

So I’m creating an AI that will be used in a procedurally generated environment. Because the AI can be beyond the loading range of the player, I want to be able to spawn and unspawned it but still keep track of its varia…

---

## [Behavior Tree Quick Start Guide Error 4.19](https://forums.unrealengine.com/t/behavior-tree-quick-start-guide-error-4-19/421162)

<div class="topic-metadata">

**Author:** [@Foxero](https://forums.unrealengine.com/u/Foxero)\
**Replies:** 0\
**Last updated:** [March 28, 2018, 10:45pm UTC](https://forums.unrealengine.com/t/behavior-tree-quick-start-guide-error-4-19/421162 "2018-03-28T22:45:06Z")

</div>

At the moment I am stuck with the AI behavior tree because i don’t know what is broken. So to be honest i was not expecting it to work since the tutorial was made for 4.9 and i expected some things to break along the wa…

---

## [What is an ITEM in EQS?](https://forums.unrealengine.com/t/what-is-an-item-in-eqs/421087)

<div class="topic-metadata">

**Author:** [@Tomza](https://forums.unrealengine.com/u/Tomza)\
**Replies:** 3\
**Last updated:** [March 28, 2018, 1:41pm UTC](https://forums.unrealengine.com/t/what-is-an-item-in-eqs/421087 "2018-03-28T13:41:12Z")

</div>

Hi all, Like the title says: what an item is in EQS, because it can be translated in many ways. I cannot get the correct meaning.

---

## [My large AI character move slowly](https://forums.unrealengine.com/t/my-large-ai-character-move-slowly/420925)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4b0f77e5](https://forums.unrealengine.com/u/anonymous_user_4b0f77e5)\
**Replies:** 2\
**Last updated:** [March 27, 2018, 5:34am UTC](https://forums.unrealengine.com/t/my-large-ai-character-move-slowly/420925 "2018-03-27T05:34:25Z")

</div>

If I select a smaller character with the same AI controller it will work perfectly.

---

## [How to change viewport rotation to alt + middle mouse button (3Ds max style)](https://forums.unrealengine.com/t/how-to-change-viewport-rotation-to-alt-middle-mouse-button-3ds-max-style/420893)

<div class="topic-metadata">

**Author:** [@Fallirini](https://forums.unrealengine.com/u/Fallirini)\
**Replies:** 0\
**Last updated:** [March 26, 2018, 6:15am UTC](https://forums.unrealengine.com/t/how-to-change-viewport-rotation-to-alt-middle-mouse-button-3ds-max-style/420893 "2018-03-26T06:15:41Z")

</div>

Hello, I am just starting with UE4 and so far it looks amazing but i have one quite simple question about viewport control. Is there a way to control view rotation with ALT + Middle mouse button (like it is in 3ds max f…

---

## [Client crashes when i try to set values on my sight config in my AI controller BP](https://forums.unrealengine.com/t/client-crashes-when-i-try-to-set-values-on-my-sight-config-in-my-ai-controller-bp/321255)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d71a2fac1](https://forums.unrealengine.com/u/anonymous_user_d71a2fac1)\
**Replies:** 7\
**Last updated:** [March 24, 2018, 10:02pm UTC](https://forums.unrealengine.com/t/client-crashes-when-i-try-to-set-values-on-my-sight-config-in-my-ai-controller-bp/321255 "2018-03-24T22:02:43Z")

</div>

I have been working a bit with AI for a project but have an issue with trying to set values on the AI’s sight config on the AI perception component of the AI. Every time i try to set a value the client crashes and gives …

---

## [Get specific nav areas with blueprint](https://forums.unrealengine.com/t/get-specific-nav-areas-with-blueprint/381286)

<div class="topic-metadata">

**Author:** [@VoidGoat](https://forums.unrealengine.com/u/VoidGoat)\
**Replies:** 1\
**Last updated:** [March 24, 2018, 8:44am UTC](https://forums.unrealengine.com/t/get-specific-nav-areas-with-blueprint/381286 "2018-03-24T08:44:47Z")

</div>

I am trying to get the NavAreas that a character is standing on and which ones are close to a specific location. Is there a way to get access to these through blueprints or a way to expose them to blueprints? I have a wo…

---

## [EQS Query With Different Sized Actors](https://forums.unrealengine.com/t/eqs-query-with-different-sized-actors/420566)

<div class="topic-metadata">

**Author:** [@martin\_dlabaja](https://forums.unrealengine.com/u/martin_dlabaja)\
**Replies:** 3\
**Last updated:** [March 23, 2018, 4:32pm UTC](https://forums.unrealengine.com/t/eqs-query-with-different-sized-actors/420566 "2018-03-23T16:32:38Z")

</div>

Hi, I am using EQS system to hide my actors from player. I have a huge spider with Supported Agents set in Project Settings. How do I tell EQS Query which navmesh to use? It still uses the default one! Thanks!

---

## [How to coordinate squad/team behavior in AI characters?](https://forums.unrealengine.com/t/how-to-coordinate-squad-team-behavior-in-ai-characters/420589)

<div class="topic-metadata">

**Author:** [@NormalNomad](https://forums.unrealengine.com/u/NormalNomad)\
**Replies:** 0\
**Last updated:** [March 22, 2018, 10:20pm UTC](https://forums.unrealengine.com/t/how-to-coordinate-squad-team-behavior-in-ai-characters/420589 "2018-03-22T22:20:42Z")

</div>

I am looking for tutorial/info on how to coordinate teams of AI opponents? For example, based on proximity to the player the decide to flank, charge, or range attack - and three AI characters assign different roles to e…

---

## [AI-possessed Pawn flies off at incredibly high speed immediately after hitting play](https://forums.unrealengine.com/t/ai-possessed-pawn-flies-off-at-incredibly-high-speed-immediately-after-hitting-play/420219)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_5407b6f5](https://forums.unrealengine.com/u/anonymous_user_5407b6f5)\
**Replies:** 2\
**Last updated:** [March 19, 2018, 11:04pm UTC](https://forums.unrealengine.com/t/ai-possessed-pawn-flies-off-at-incredibly-high-speed-immediately-after-hitting-play/420219 "2018-03-19T23:04:23Z")

</div>

I have a very simple pawn with a Sphere Collision and a child Static Mesh. This pawn is set to be possessed by an AI Controller on spawn and the AI Controller basically sets up the blackboard and runs the behaviour tree.…

---

## [Paper2D AI](https://forums.unrealengine.com/t/paper2d-ai/420163)

<div class="topic-metadata">

**Author:** [@0xcryptid](https://forums.unrealengine.com/u/0xcryptid)\
**Replies:** 0\
**Last updated:** [March 18, 2018, 1:53pm UTC](https://forums.unrealengine.com/t/paper2d-ai/420163 "2018-03-18T13:53:57Z")

</div>

I’m making a tank game which I want the enemy AI to move in random directions and when the player is in range, the AI stops and starts shooting and only move its cannon. I’ve already done some Paper2D AI that followed an…

---

## [How do you make actors chase you and jumpscare?](https://forums.unrealengine.com/t/how-do-you-make-actors-chase-you-and-jumpscare/420104)

<div class="topic-metadata">

**Author:** [@Kaydenmario8](https://forums.unrealengine.com/u/Kaydenmario8)\
**Replies:** 1\
**Last updated:** [March 17, 2018, 10:58pm UTC](https://forums.unrealengine.com/t/how-do-you-make-actors-chase-you-and-jumpscare/420104 "2018-03-17T22:58:58Z")

</div>

Pleas help me im making 2 FNAF horror games and i need help making the animatronics chase the player and jumpscare him/her

---

## [Behavior Tree data not showing in AI Debug](https://forums.unrealengine.com/t/behavior-tree-data-not-showing-in-ai-debug/419266)

<div class="topic-metadata">

**Author:** [@Floating\_Orb](https://forums.unrealengine.com/u/Floating_Orb)\
**Replies:** 8\
**Last updated:** [May 27, 2018, 1:41am UTC](https://forums.unrealengine.com/t/behavior-tree-data-not-showing-in-ai-debug/419266 "2018-05-27T01:41:49Z")

</div>

I am debugging my AI right now and I recently found out about the AI Debug menu. However, for some reason my Behavior Tree data just won’t show up. The AI Controller and Sensing component work fine. I have enabled Behavi…

---

## [How do you make AI to stop following you after a certain distance?](https://forums.unrealengine.com/t/how-do-you-make-ai-to-stop-following-you-after-a-certain-distance/419967)

<div class="topic-metadata">

**Author:** [@NoticeableScout](https://forums.unrealengine.com/u/NoticeableScout)\
**Replies:** 21\
**Last updated:** [March 16, 2018, 2:51pm UTC](https://forums.unrealengine.com/t/how-do-you-make-ai-to-stop-following-you-after-a-certain-distance/419967 "2018-03-16T14:51:41Z")

</div>

I’ve been trying to get my AI (using third person character blueprint) to stop following me after he’s out of range of my pawn sensing but I can’t figure it out. Any help would be appreciated! I can provide a screensh…

---

## [How to get reference to ai character in player BP](https://forums.unrealengine.com/t/how-to-get-reference-to-ai-character-in-player-bp/419968)

<div class="topic-metadata">

**Author:** [@robert\_white](https://forums.unrealengine.com/u/robert_white)\
**Replies:** 2\
**Last updated:** [March 16, 2018, 2:44pm UTC](https://forums.unrealengine.com/t/how-to-get-reference-to-ai-character-in-player-bp/419968 "2018-03-16T14:44:52Z")

</div>

I am trying to setup a damage system where when a model’s collision box collides with the character capsule it does damage and takes away from health, i did this with the character being able to damage the ai and it work…

---

## [Line Trace in Blackboard](https://forums.unrealengine.com/t/line-trace-in-blackboard/420015)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0fac8895](https://forums.unrealengine.com/u/anonymous_user_0fac8895)\
**Replies:** 0\
**Last updated:** [March 16, 2018, 2:29pm UTC](https://forums.unrealengine.com/t/line-trace-in-blackboard/420015 "2018-03-16T14:29:27Z")

</div>

Hi, I’m having an issue with finding the player in my blackboard. I’m running a line trace but the trace location doesn’t seem to be updating with the character (although the rotation seems to be?). Is there a better wa…

---

## [Crowd MoveToActor fails when not using pathfinding](https://forums.unrealengine.com/t/crowd-movetoactor-fails-when-not-using-pathfinding/314207)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_753bceeb](https://forums.unrealengine.com/u/anonymous_user_753bceeb)\
**Replies:** 1\
**Last updated:** [March 15, 2018, 7:54pm UTC](https://forums.unrealengine.com/t/crowd-movetoactor-fails-when-not-using-pathfinding/314207 "2018-03-15T19:54:41Z")

</div>

MoveToActor when called with TRUE for “Use Pathfinding” works for both AIController and DetourCrowdAIController inheriting blueprints. The pawn uses pathfinding and navigates to goal. MoveToActor when called with FALSE …

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

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