# AI

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

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

**Page:** 57

---

## [Blackboard get value as int is always 0?](https://forums.unrealengine.com/t/blackboard-get-value-as-int-is-always-0/487918)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b32d65871](https://forums.unrealengine.com/u/anonymous_user_b32d65871)\
**Replies:** 3\
**Last updated:** [August 24, 2021, 7:07pm UTC](https://forums.unrealengine.com/t/blackboard-get-value-as-int-is-always-0/487918 "2021-08-24T19:07:38Z")

</div>

Hello there :frowning: I have been trying to troubleshoot this problem for a long time. So I’m making a game where if you talk to an NPC and choose the right choices you will get +1 Affection from them. This works per…

---

## [Basic AI without AI controller and NavMesh](https://forums.unrealengine.com/t/basic-ai-without-ai-controller-and-navmesh/446800)

<div class="topic-metadata">

**Author:** [@unrealootin](https://forums.unrealengine.com/u/unrealootin)\
**Replies:** 1\
**Last updated:** [August 23, 2021, 4:56pm UTC](https://forums.unrealengine.com/t/basic-ai-without-ai-controller-and-navmesh/446800 "2021-08-23T16:56:20Z")

</div>

Hi, I am developing a side scorller with procedurally generated map. I need to spawn actors to be my enemies and I need those actors to move towards me. But I cannot have NavMesh (because map can theoretically be infinit…

---

## [SetTimer does not work with the event ReceiveAbortAI](https://forums.unrealengine.com/t/settimer-does-not-work-with-the-event-receiveabortai/487862)

<div class="topic-metadata">

**Author:** [@odmin369](https://forums.unrealengine.com/u/odmin369)\
**Replies:** 0\
**Last updated:** [August 23, 2021, 10:48am UTC](https://forums.unrealengine.com/t/settimer-does-not-work-with-the-event-receiveabortai/487862 "2021-08-23T10:48:09Z")

</div>

I would like to use SetTimer to delay the process with ReceiveAbortAI when the BehaviorTree task is over. However, the function set in SetTimer (ResetFollowCharacter) is not called even if I write it as shown in the ima…

---

## [How do I stop my AI enemy from moving towards the player after the player goes out of its view for a period of time](https://forums.unrealengine.com/t/how-do-i-stop-my-ai-enemy-from-moving-towards-the-player-after-the-player-goes-out-of-its-view-for-a-period-of-time/487801)

<div class="topic-metadata">

**Author:** [@Zapking9224](https://forums.unrealengine.com/u/Zapking9224)\
**Replies:** 2\
**Last updated:** [August 23, 2021, 3:13am UTC](https://forums.unrealengine.com/t/how-do-i-stop-my-ai-enemy-from-moving-towards-the-player-after-the-player-goes-out-of-its-view-for-a-period-of-time/487801 "2021-08-23T03:13:34Z")

</div>

Hi, So I am making a survival horror type with an enemy ai that stalks you at different points in the game. The enemy will either patrol or when it spots the player, run after it. I’m running into the problem that once …

---

## [Behavior tree sequence stuck executing a single task even though finish execute is called](https://forums.unrealengine.com/t/behavior-tree-sequence-stuck-executing-a-single-task-even-though-finish-execute-is-called/487687)

<div class="topic-metadata">

**Author:** [@harshsr](https://forums.unrealengine.com/u/harshsr)\
**Replies:** 5\
**Last updated:** [August 21, 2021, 1:52pm UTC](https://forums.unrealengine.com/t/behavior-tree-sequence-stuck-executing-a-single-task-even-though-finish-execute-is-called/487687 "2021-08-21T13:52:47Z")

</div>

Can anybody explain why my sequence is not moving on to the next task? I have a finish execute in the current task and it does get executed but the sequence is still stuck at executing the same task. Please see attached…

---

## [Fails to get the navigation path in UE5 EA](https://forums.unrealengine.com/t/fails-to-get-the-navigation-path-in-ue5-ea/237056)

<div class="topic-metadata">

**Author:** [@Sugeno\_Akihiro](https://forums.unrealengine.com/u/Sugeno_Akihiro)\
**Replies:** 1\
**Last updated:** [August 21, 2021, 12:28pm UTC](https://forums.unrealengine.com/t/fails-to-get-the-navigation-path-in-ue5-ea/237056 "2021-08-21T12:28:37Z")

</div>

Hello. I placed a Nav Mesh Volume and used Move to Actor to implement an AI that moves to the player. However, if you save with the Nav Mesh Volume placed or build the navigation path, the AI will not work. If it is n…

---

## [EQS won't trace to object when origin intersecting ground](https://forums.unrealengine.com/t/eqs-wont-trace-to-object-when-origin-intersecting-ground/487525)

<div class="topic-metadata">

**Author:** [@dangersideburns](https://forums.unrealengine.com/u/dangersideburns)\
**Replies:** 0\
**Last updated:** [August 16, 2021, 9:08pm UTC](https://forums.unrealengine.com/t/eqs-wont-trace-to-object-when-origin-intersecting-ground/487525 "2021-08-16T21:08:59Z")

</div>

Hi, I’m having a small issue with a quirk of the trace test in the EQS in Unreal Engine 4. I would like to use an EQS trace to see if an AI has an actor blueprint in it’s line of sight. Due to the way I make my bluepri…

---

## [Ai Factions](https://forums.unrealengine.com/t/ai-factions/487296)

<div class="topic-metadata">

**Author:** [@itsmemoulder](https://forums.unrealengine.com/u/itsmemoulder)\
**Replies:** 3\
**Last updated:** [August 16, 2021, 11:13am UTC](https://forums.unrealengine.com/t/ai-factions/487296 "2021-08-16T11:13:02Z")

</div>

Hello friends, Where to begin with having NPCs behave friendly or aggresively when seeing other NPCs belonging to a different faction? Two wizards from opposing magic guilds, if these NPCs see each other they should fi…

---

## [Notify observer on custom decorator](https://forums.unrealengine.com/t/notify-observer-on-custom-decorator/305770)

<div class="topic-metadata">

**Author:** [@Nach](https://forums.unrealengine.com/u/Nach)\
**Replies:** 2\
**Last updated:** [August 11, 2021, 11:58am UTC](https://forums.unrealengine.com/t/notify-observer-on-custom-decorator/305770 "2021-08-11T11:58:16Z")

</div>

Hi I just made a custom decorator. The problem I have is that the flow control doesn’t have the “notify observer” option. Is it possible to enable it?

---

## [Configure detour AI behaviour](https://forums.unrealengine.com/t/configure-detour-ai-behaviour/487231)

<div class="topic-metadata">

**Author:** [@LordStuff](https://forums.unrealengine.com/u/LordStuff)\
**Replies:** 4\
**Last updated:** [August 11, 2021, 8:00am UTC](https://forums.unrealengine.com/t/configure-detour-ai-behaviour/487231 "2021-08-11T08:00:43Z")

</div>

I am using Detour AI Controllers and currently working on simple group formations. When formations get tighter, my pawns seem to block each other somehow, but not through actual collisions. I believe it is somehow rela…

---

## [New forces applied besides gravity or bug?](https://forums.unrealengine.com/t/new-forces-applied-besides-gravity-or-bug/244952)

<div class="topic-metadata">

**Author:** [@net8floz](https://forums.unrealengine.com/u/net8floz)\
**Replies:** 0\
**Last updated:** [August 11, 2021, 3:47am UTC](https://forums.unrealengine.com/t/new-forces-applied-besides-gravity-or-bug/244952 "2021-08-11T03:47:30Z")

</div>

Hi. I had a 4.26 with Chaos enabled and ran a simple test. Tick → Mesh → AddForce( 980 \* GetBodMass()) Which with gravity enabled will keep the object suspended in air. Today I moved this project to UE5 and running the…

---

## [Different navigations for different AI?](https://forums.unrealengine.com/t/different-navigations-for-different-ai/335029)

<div class="topic-metadata">

**Author:** [@mago314](https://forums.unrealengine.com/u/mago314)\
**Replies:** 1\
**Last updated:** [August 9, 2021, 2:17pm UTC](https://forums.unrealengine.com/t/different-navigations-for-different-ai/335029 "2021-08-09T14:17:19Z")

</div>

Hello there. I was wondering if there is a way to have several navigation meshes, one for each AI. For example, I want a certain kind of wall to affect one navigation but not the other. Is this possible?

---

## [Strategy game AI, Behavior Tree vs Logic](https://forums.unrealengine.com/t/strategy-game-ai-behavior-tree-vs-logic/487044)

<div class="topic-metadata">

**Author:** [@Nightguant](https://forums.unrealengine.com/u/Nightguant)\
**Replies:** 1\
**Last updated:** [August 5, 2021, 3:12pm UTC](https://forums.unrealengine.com/t/strategy-game-ai-behavior-tree-vs-logic/487044 "2021-08-05T15:12:23Z")

</div>

I have built a puzzle strategy game, which involves clicking on blocks and moving them into patterns. I now want to implement a singleplayer mode (vs. NPC). The first thought was to implement a Behavior Tree. If I where…

---

## [AI Sense Damage will work in Unreal 5?](https://forums.unrealengine.com/t/ai-sense-damage-will-work-in-unreal-5/243826)

<div class="topic-metadata">

**Author:** [@DomusLudus](https://forums.unrealengine.com/u/DomusLudus)\
**Replies:** 0\
**Last updated:** [August 4, 2021, 10:42am UTC](https://forums.unrealengine.com/t/ai-sense-damage-will-work-in-unreal-5/243826 "2021-08-04T10:42:12Z")

</div>

It seemed to me to understand that the damage system will be removed in unreal 5, so the AISense\_Damage will not be used either? I ask this because I am in the hesitation of creating my own system or using AIperception. …

---

## [AI Rotation Bug](https://forums.unrealengine.com/t/ai-rotation-bug/486987)

<div class="topic-metadata">

**Author:** [@MESHOCK\_GAMES](https://forums.unrealengine.com/u/MESHOCK_GAMES)\
**Replies:** 0\
**Last updated:** [August 3, 2021, 2:42pm UTC](https://forums.unrealengine.com/t/ai-rotation-bug/486987 "2021-08-03T14:42:37Z")

</div>

I have a weird problem with my ai movement. On certain places (near actors i suppose) my ai starts randomly rotating and bypassing invisible obstacles, although there is no any collisions and the navmesh is clean. I trie…

---

## [Open world cover AI](https://forums.unrealengine.com/t/open-world-cover-ai/486906)

<div class="topic-metadata">

**Author:** [@terryjoel1](https://forums.unrealengine.com/u/terryjoel1)\
**Replies:** 0\
**Last updated:** [August 1, 2021, 7:22am UTC](https://forums.unrealengine.com/t/open-world-cover-ai/486906 "2021-08-01T07:22:11Z")

</div>

How would I set this up to work for a open world survival game where my AI hunters will on a random timer attack player or base and I want them to be able to take cover any where on the map behind trees or rocks etc?

---

## [Ai behavior ai follow a patrol path](https://forums.unrealengine.com/t/ai-behavior-ai-follow-a-patrol-path/486647)

<div class="topic-metadata">

**Author:** [@jodie\_stevenson](https://forums.unrealengine.com/u/jodie_stevenson)\
**Replies:** 0\
**Last updated:** [July 30, 2021, 3:10pm UTC](https://forums.unrealengine.com/t/ai-behavior-ai-follow-a-patrol-path/486647 "2021-07-30T15:10:24Z")

</div>

i made a ai behavior tree that lets the ai follow a patrol path but it keeps stopping at random points but it mostly stops at the first point?

---

## [NPC AI akin to RollerCoaster Tycoon 2](https://forums.unrealengine.com/t/npc-ai-akin-to-rollercoaster-tycoon-2/486659)

<div class="topic-metadata">

**Author:** [@AngryDoomGuy](https://forums.unrealengine.com/u/AngryDoomGuy)\
**Replies:** 0\
**Last updated:** [July 27, 2021, 1:34pm UTC](https://forums.unrealengine.com/t/npc-ai-akin-to-rollercoaster-tycoon-2/486659 "2021-07-27T13:34:13Z")

</div>

Hello! I’m currently attempting to create an AI behaviour tree akin to that in RCT2. If anyone has any tips, it would be incredibly helpful! Thanks!

---

## [AI Stop Moving on Patrol Path?](https://forums.unrealengine.com/t/ai-stop-moving-on-patrol-path/486651)

<div class="topic-metadata">

**Author:** [@jodie\_stevenson](https://forums.unrealengine.com/u/jodie_stevenson)\
**Replies:** 0\
**Last updated:** [July 27, 2021, 12:58am UTC](https://forums.unrealengine.com/t/ai-stop-moving-on-patrol-path/486651 "2021-07-27T00:58:16Z")

</div>

hello I made an Ai behavior tree that allows my Ai to follow path points i made but it keeps stopping on the first one?

---

## [How to make an AI character slow down when it is approaching a nav link proxy?](https://forums.unrealengine.com/t/how-to-make-an-ai-character-slow-down-when-it-is-approaching-a-nav-link-proxy/486081)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4b9de05d](https://forums.unrealengine.com/u/anonymous_user_4b9de05d)\
**Replies:** 1\
**Last updated:** [July 25, 2021, 11:57pm UTC](https://forums.unrealengine.com/t/how-to-make-an-ai-character-slow-down-when-it-is-approaching-a-nav-link-proxy/486081 "2021-07-25T23:57:04Z")

</div>

Is there a way to make an AI character slow down when it is approaching a nav link proxy? Unfortunately, the “Use Acceleration For Paths” option in the character movement component only seems to work when the character i…

---

## [Get all Ai controllers at once](https://forums.unrealengine.com/t/get-all-ai-controllers-at-once/486471)

<div class="topic-metadata">

**Author:** [@adambernath](https://forums.unrealengine.com/u/adambernath)\
**Replies:** 3\
**Last updated:** [July 22, 2021, 1:03pm UTC](https://forums.unrealengine.com/t/get-all-ai-controllers-at-once/486471 "2021-07-22T13:03:06Z")

</div>

I’m trying to set up my checkpoint system to also work for ai pawn, but I’m a little stuck on that ai dont have index? so I dont really know how to get all of them at once - also, I’m not sure, this is my first time set…

---

## [AI Controller gets destroyed](https://forums.unrealengine.com/t/ai-controller-gets-destroyed/481158)

<div class="topic-metadata">

**Author:** [@EvolveGamesDE](https://forums.unrealengine.com/u/EvolveGamesDE)\
**Replies:** 4\
**Last updated:** [July 21, 2021, 6:37pm UTC](https://forums.unrealengine.com/t/ai-controller-gets-destroyed/481158 "2021-07-21T18:37:48Z")

</div>

Thanks for helping me again. Seems to work with your tip:)

---

## [Can't install launcher!](https://forums.unrealengine.com/t/cant-install-launcher/308816)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ac01fe91](https://forums.unrealengine.com/u/anonymous_user_ac01fe91)\
**Replies:** 2\
**Last updated:** [July 19, 2021, 10:06am UTC](https://forums.unrealengine.com/t/cant-install-launcher/308816 "2021-07-19T10:06:02Z")

</div>

From searching through I figure out some more info, I’m having issues installing launcher, I use a school laptop since mine is broken, but I need to install launcher which I can’t do since I don’t have admin perms. IS …

---

## [How can UE4 detect a new spawned navigation invoker?](https://forums.unrealengine.com/t/how-can-ue4-detect-a-new-spawned-navigation-invoker/486356)

<div class="topic-metadata">

**Author:** [@Geilmaker](https://forums.unrealengine.com/u/Geilmaker)\
**Replies:** 1\
**Last updated:** [July 19, 2021, 6:14am UTC](https://forums.unrealengine.com/t/how-can-ue4-detect-a-new-spawned-navigation-invoker/486356 "2021-07-19T06:14:04Z")

</div>

Hello everybody, I got a little problem with navigation invokers… I’ve got a project where you are spawning new AI Actors at runtime… And they get commands to walk, it was working fine with the Nav Mesh Bounds Volume… b…

---

## [AI perception how to check if actor is still in line of sight?](https://forums.unrealengine.com/t/ai-perception-how-to-check-if-actor-is-still-in-line-of-sight/486202)

<div class="topic-metadata">

**Author:** [@ares\_514](https://forums.unrealengine.com/u/ares_514)\
**Replies:** 3\
**Last updated:** [July 15, 2021, 1:48pm UTC](https://forums.unrealengine.com/t/ai-perception-how-to-check-if-actor-is-still-in-line-of-sight/486202 "2021-07-15T13:48:42Z")

</div>

as the title said how can i check if the actor detected is still in line of sight i tried using a retrigrable delay set to the max age i thaught that the perception is updated every tick or something like this but it dos…

---

## [Spawning in level blueprint](https://forums.unrealengine.com/t/spawning-in-level-blueprint/486226)

<div class="topic-metadata">

**Author:** [@terryjoel1](https://forums.unrealengine.com/u/terryjoel1)\
**Replies:** 1\
**Last updated:** [July 15, 2021, 7:13am UTC](https://forums.unrealengine.com/t/spawning-in-level-blueprint/486226 "2021-07-15T07:13:32Z")

</div>

Not sure how to ask or what I am looking for but here goes I play a game where the AI cab build a base some distance away from player base but only after the player has put down his beacon or locator showing on the map w…

---

## [Nav Mesh has a big gap](https://forums.unrealengine.com/t/nav-mesh-has-a-big-gap/478225)

<div class="topic-metadata">

**Author:** [@youjf](https://forums.unrealengine.com/u/youjf)\
**Replies:** 1\
**Last updated:** [July 13, 2021, 9:03pm UTC](https://forums.unrealengine.com/t/nav-mesh-has-a-big-gap/478225 "2021-07-13T21:03:07Z")

</div>

As the first image displaying ,there is a big gap in nav mesh , and when AI go through this gap , the AI moves Back and Forth, The second image is my RecastNavMesh-Default settings . Can anyone has any ideas ?

---

## [Spawn actors on top of eachother](https://forums.unrealengine.com/t/spawn-actors-on-top-of-eachother/486048)

<div class="topic-metadata">

**Author:** [@Serellyn](https://forums.unrealengine.com/u/Serellyn)\
**Replies:** 4\
**Last updated:** [July 12, 2021, 12:07pm UTC](https://forums.unrealengine.com/t/spawn-actors-on-top-of-eachother/486048 "2021-07-12T12:07:03Z")

</div>

Currently trying to spawn actors into my level and stack them on top of eachother. The actors are simple box shapes of equal size except for the height (scale). The height (scale) is set randomly. I currently have the f…

---

## [AI cant detect tags](https://forums.unrealengine.com/t/ai-cant-detect-tags/486051)

<div class="topic-metadata">

**Author:** [@ares\_514](https://forums.unrealengine.com/u/ares_514)\
**Replies:** 1\
**Last updated:** [July 11, 2021, 12:49pm UTC](https://forums.unrealengine.com/t/ai-cant-detect-tags/486051 "2021-07-11T12:49:03Z")

</div>

im trying to get my AI to detect the custom player class the player get detected but it cant check the tag i tried cheking the actor class but nothing seems to work any idea on how to do it

---

## [Performance Wise, Should I use Behaviour Trees or Standard BP script for NPCs? (Roaming AI)](https://forums.unrealengine.com/t/performance-wise-should-i-use-behaviour-trees-or-standard-bp-script-for-npcs-roaming-ai/409102)

<div class="topic-metadata">

**Author:** [@MikeyBGames](https://forums.unrealengine.com/u/MikeyBGames)\
**Replies:** 9\
**Last updated:** [July 10, 2021, 6:59am UTC](https://forums.unrealengine.com/t/performance-wise-should-i-use-behaviour-trees-or-standard-bp-script-for-npcs-roaming-ai/409102 "2021-07-10T06:59:42Z")

</div>

I’m trying to optimise my game for the best possible performance, so I’m wondering what’s better for performance? BP scripted events or Behaviour tree for basic roaming AI? All I’m trying to achieve is to have random AI…

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

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