# AI

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

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

**Page:** 44

---

## [How do I finish this widget](https://forums.unrealengine.com/t/how-do-i-finish-this-widget/639198)

<div class="topic-metadata">

**Author:** [@ajharding1](https://forums.unrealengine.com/u/ajharding1)\
**Replies:** 10\
**Last updated:** [September 1, 2022, 9:26pm UTC](https://forums.unrealengine.com/t/how-do-i-finish-this-widget/639198 "2022-09-01T21:26:50Z")

</div>

I am creating a widget if it is under 40 I want 4 variables to change their number if it’s above or below a certain number I want those 4 variables to switch to another set of numbers I don’t know where to go after the f…

---

## [Is the AI is on the server or is a client?](https://forums.unrealengine.com/t/is-the-ai-is-on-the-server-or-is-a-client/638090)

<div class="topic-metadata">

**Author:** [@AMAND4.x](https://forums.unrealengine.com/u/AMAND4.x)\
**Replies:** 2\
**Last updated:** [September 1, 2022, 8:29pm UTC](https://forums.unrealengine.com/t/is-the-ai-is-on-the-server-or-is-a-client/638090 "2022-09-01T20:29:21Z")

</div>

Is the AI is on the server or is a client? I mean, can the AI access and modify a TMap that is in the GameMode?

---

## [AI System is not working](https://forums.unrealengine.com/t/ai-system-is-not-working/635904)

<div class="topic-metadata">

**Author:** [@DarkfluXCompany](https://forums.unrealengine.com/u/DarkfluXCompany)\
**Replies:** 3\
**Last updated:** [August 28, 2022, 9:12pm UTC](https://forums.unrealengine.com/t/ai-system-is-not-working/635904 "2022-08-28T21:12:35Z")

</div>

Hi! I have a big problem I was making a game myself in Unreal Engine 4.27.2, I added an AI system to the game, it was moving to a random location, but when I saw the character, it had to be printed with Print… (I creat…

---

## [AI System not detecting character](https://forums.unrealengine.com/t/ai-system-not-detecting-character/635803)

<div class="topic-metadata">

**Author:** [@DarkfluXCompany](https://forums.unrealengine.com/u/DarkfluXCompany)\
**Replies:** 2\
**Last updated:** [August 28, 2022, 5:08pm UTC](https://forums.unrealengine.com/t/ai-system-not-detecting-character/635803 "2022-08-28T17:08:55Z")

</div>

Hello there! I was making a game myself in Unreal Engine 4.27.2, I added an AI system to the game, it was moving to a random location, but when I saw the character, it had to be printed with Print… (I created a Bool valu…

---

## [Why I cant set up BlackBoard Key in Behavior Tree? It gives me no options](https://forums.unrealengine.com/t/why-i-cant-set-up-blackboard-key-in-behavior-tree-it-gives-me-no-options/635488)

<div class="topic-metadata">

**Author:** [@YanDaik](https://forums.unrealengine.com/u/YanDaik)\
**Replies:** 4\
**Last updated:** [August 28, 2022, 5:51am UTC](https://forums.unrealengine.com/t/why-i-cant-set-up-blackboard-key-in-behavior-tree-it-gives-me-no-options/635488 "2022-08-28T05:51:01Z")

</div>

Node Rotate To Face BB Entry. I press “None” option expecting to see 2 variants, but i get nothing.

---

## [Add 2D icons to ai character](https://forums.unrealengine.com/t/add-2d-icons-to-ai-character/635500)

<div class="topic-metadata">

**Author:** [@Kopepod](https://forums.unrealengine.com/u/Kopepod)\
**Replies:** 1\
**Last updated:** [August 28, 2022, 12:35am UTC](https://forums.unrealengine.com/t/add-2d-icons-to-ai-character/635500 "2022-08-28T00:35:24Z")

</div>

Hello I’m making a casual game and I’m new at ue. I wanted to add a icons to ai characters like their orders and show their reactions how can I do that?

---

## [I can't get the reference of all the keys from the blackboard](https://forums.unrealengine.com/t/i-cant-get-the-reference-of-all-the-keys-from-the-blackboard/634270)

<div class="topic-metadata">

**Author:** [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Replies:** 2\
**Last updated:** [August 25, 2022, 11:37pm UTC](https://forums.unrealengine.com/t/i-cant-get-the-reference-of-all-the-keys-from-the-blackboard/634270 "2022-08-25T23:37:44Z")

</div>

The BlackBoard Key selector only lets me choose a few of the blackboard variables. What can I do to be able to select the other variables? Thank you very much

---

## [Level Streaming and NavMeshes? Having Trouble](https://forums.unrealengine.com/t/level-streaming-and-navmeshes-having-trouble/634125)

<div class="topic-metadata">

**Author:** [@CVoiceOfficial](https://forums.unrealengine.com/u/CVoiceOfficial)\
**Replies:** 0\
**Last updated:** [August 25, 2022, 1:58pm UTC](https://forums.unrealengine.com/t/level-streaming-and-navmeshes-having-trouble/634125 "2022-08-25T13:58:14Z")

</div>

I am having trouble getting my AI to move in a sublevel. According to this video, it sounds like it’s possible to get the nav mesh to work by being in a sublevel instead of the persistent level Getting Started with Level…

---

## [Making an NPC AI move around in UE5?](https://forums.unrealengine.com/t/making-an-npc-ai-move-around-in-ue5/631394)

<div class="topic-metadata">

**Author:** [@BO-DACIOUS](https://forums.unrealengine.com/u/BO-DACIOUS)\
**Replies:** 46\
**Last updated:** [August 23, 2022, 11:04pm UTC](https://forums.unrealengine.com/t/making-an-npc-ai-move-around-in-ue5/631394 "2022-08-23T23:04:00Z")

</div>

Hi guys. Im just beginning to learn AI and following a tut, I setup the behavior tree, blackboard, chsracter BP, etc. To make the NPC find a random point within a 1500uu radius around it, wait 2 seconds and repeat. But …

---

## [When I change the variables in behavior tree somehow it don't show the variables I want](https://forums.unrealengine.com/t/when-i-change-the-variables-in-behavior-tree-somehow-it-dont-show-the-variables-i-want/632260)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_3315e26f](https://forums.unrealengine.com/u/anonymous_user_3315e26f)\
**Replies:** 1\
**Last updated:** [August 22, 2022, 5:18am UTC](https://forums.unrealengine.com/t/when-i-change-the-variables-in-behavior-tree-somehow-it-dont-show-the-variables-i-want/632260 "2022-08-22T05:18:12Z")

</div>

as the title say I want to change the ‘key type’ in blackboard and when I want to put the ‘blackboard key’ in a move to, the variables I want didn’t show.

---

## [\[UE4-27\] AI Move To failing frequently in certain parts of the level](https://forums.unrealengine.com/t/ue4-27-ai-move-to-failing-frequently-in-certain-parts-of-the-level/509629)

<div class="topic-metadata">

**Author:** [@MEKSA](https://forums.unrealengine.com/u/MEKSA)\
**Replies:** 1\
**Last updated:** [August 21, 2022, 8:38pm UTC](https://forums.unrealengine.com/t/ue4-27-ai-move-to-failing-frequently-in-certain-parts-of-the-level/509629 "2022-08-21T20:38:19Z")

</div>

Hi all, Been working with unreal exclusively through blueprints for a few years now and teaching myself as I go. I’m no expert, but I’m happy with my casual progress. I was doing pretty well finding solutions to proble…

---

## [Multiple NavigationData using NavMeshBoundsVolume](https://forums.unrealengine.com/t/multiple-navigationdata-using-navmeshboundsvolume/632005)

<div class="topic-metadata">

**Author:** [@VortexFX](https://forums.unrealengine.com/u/VortexFX)\
**Replies:** 0\
**Last updated:** [August 20, 2022, 3:35pm UTC](https://forums.unrealengine.com/t/multiple-navigationdata-using-navmeshboundsvolume/632005 "2022-08-20T15:35:10Z")

</div>

Not sure if this is the correct place, however, I’ve got a large map I have placed two NavMeshBoundsVolumes in the level. I created 2 supported agents. And then assigned them to the level bounds Now I would as…

---

## [How do I disable AI until triggered?](https://forums.unrealengine.com/t/how-do-i-disable-ai-until-triggered/631837)

<div class="topic-metadata">

**Author:** [@mclark4386](https://forums.unrealengine.com/u/mclark4386)\
**Replies:** 5\
**Last updated:** [August 20, 2022, 1:46pm UTC](https://forums.unrealengine.com/t/how-do-i-disable-ai-until-triggered/631837 "2022-08-20T13:46:11Z")

</div>

I have an ambush I want to set up that only happens if the player doesn’t do something, so I want to hide and disable the AI so that if they do what I want them to they never know those AI were. However, if you mess up t…

---

## [When I swing the weapon, the AI instead death not when health low then dead](https://forums.unrealengine.com/t/when-i-swing-the-weapon-the-ai-instead-death-not-when-health-low-then-dead/630704)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_3315e26f](https://forums.unrealengine.com/u/anonymous_user_3315e26f)\
**Replies:** 10\
**Last updated:** [August 20, 2022, 12:43am UTC](https://forums.unrealengine.com/t/when-i-swing-the-weapon-the-ai-instead-death-not-when-health-low-then-dead/630704 "2022-08-20T00:43:56Z")

</div>

The AI has a health bar I set 10 damage every swing But when I swing it instead destroy I put ‘destroy actor’ so when AI hp is low, the AI destroy below is notify trace npc widget and damage player…

---

## [DeepAi \_ text to Unreal asset API?](https://forums.unrealengine.com/t/deepai-text-to-unreal-asset-api/630350)

<div class="topic-metadata">

**Author:** [@yung23athome](https://forums.unrealengine.com/u/yung23athome)\
**Replies:** 0\
**Last updated:** [August 17, 2022, 3:21pm UTC](https://forums.unrealengine.com/t/deepai-text-to-unreal-asset-api/630350 "2022-08-17T15:21:43Z")

</div>

I’ve been playing around with DeepAi.org Text to Image API, and it is awesome. What if, instead of generating images from seemingly 3d models generated by AI, someone out there got DeepAi working IN Unreal, and the resu…

---

## [BTDecorator in C++ not working as in BPs](https://forums.unrealengine.com/t/btdecorator-in-c-not-working-as-in-bps/629554)

<div class="topic-metadata">

**Author:** [@MilleLire](https://forums.unrealengine.com/u/MilleLire)\
**Replies:** 0\
**Last updated:** [August 16, 2022, 2:14pm UTC](https://forums.unrealengine.com/t/btdecorator-in-c-not-working-as-in-bps/629554 "2022-08-16T14:14:06Z")

</div>

Hello I was passing some simple Decorators BPs to C++ and got some problems with the behavior changing, even if the logic was the same. The version in BPs aborts any lower priority node if the character gets the tag stu…

---

## [My AI has problems finding the path when flying or dynamic objects are obstacles](https://forums.unrealengine.com/t/my-ai-has-problems-finding-the-path-when-flying-or-dynamic-objects-are-obstacles/624010)

<div class="topic-metadata">

**Author:** [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Replies:** 1\
**Last updated:** [August 15, 2022, 6:57am UTC](https://forums.unrealengine.com/t/my-ai-has-problems-finding-the-path-when-flying-or-dynamic-objects-are-obstacles/624010 "2022-08-15T06:57:39Z")

</div>

My AI has problems finding the path when flying or dynamic objects are obstacles. I explain it: -First: My AI carries an object from point A to point B. -Second: The object at point B become to a static flying object…

---

## [Bug? MoveToLocationOrActor cannot be cancelled](https://forums.unrealengine.com/t/bug-movetolocationoractor-cannot-be-cancelled/628357)

<div class="topic-metadata">

**Author:** [@IlliciteS](https://forums.unrealengine.com/u/IlliciteS)\
**Replies:** 0\
**Last updated:** [August 14, 2022, 7:13pm UTC](https://forums.unrealengine.com/t/bug-movetolocationoractor-cannot-be-cancelled/628357 "2022-08-14T19:13:19Z")

</div>

Hello, I have a simple Behavior Tree with a MoveTo task with a decorator, a vector on “abort self”. So everytime I right click on the map, a unit move to that location. It works pretty well. Now if I create my create m…

---

## [The NPC does not hear the weapon](https://forums.unrealengine.com/t/the-npc-does-not-hear-the-weapon/627035)

<div class="topic-metadata">

**Author:** [@658](https://forums.unrealengine.com/u/658)\
**Replies:** 1\
**Last updated:** [August 13, 2022, 4:57am UTC](https://forums.unrealengine.com/t/the-npc-does-not-hear-the-weapon/627035 "2022-08-13T04:57:49Z")

</div>

Created an NPC’s vision and hearing, he sees and hears the character’s steps, wanted to make him hear the gunshot. The weapon was made as a separate actor and it has anim montage and sound at the location. But it is the …

---

## [Restrict Object Movement Within Changing Area](https://forums.unrealengine.com/t/restrict-object-movement-within-changing-area/315182)

<div class="topic-metadata">

**Author:** [@Amsirahc](https://forums.unrealengine.com/u/Amsirahc)\
**Replies:** 3\
**Last updated:** [August 12, 2022, 2:49pm UTC](https://forums.unrealengine.com/t/restrict-object-movement-within-changing-area/315182 "2022-08-12T14:49:26Z")

</div>

Hello all, I am working on a project that will require an AI character to move around in two separate “modes” (for lack of a better term). The two modes are as follows: RTS Mode: Click to move the character within a …

---

## [Attenuation Overrides for sound cues not working](https://forums.unrealengine.com/t/attenuation-overrides-for-sound-cues-not-working/625785)

<div class="topic-metadata">

**Author:** [@Lowenfas](https://forums.unrealengine.com/u/Lowenfas)\
**Replies:** 4\
**Last updated:** [August 12, 2022, 10:21am UTC](https://forums.unrealengine.com/t/attenuation-overrides-for-sound-cues-not-working/625785 "2022-08-12T10:21:29Z")

</div>

My map is randomly generated based on your selected menu settings so the map isn’t always one specific size. Because of this, for my ambient nature sounds the attenuation size and falloff distance settings need to be set…

---

## [Starting the gameplay between players on a (Multiplayer Shooter Game) like other (Battleground) games such as (Fortnite & etc)](https://forums.unrealengine.com/t/starting-the-gameplay-between-players-on-a-multiplayer-shooter-game-like-other-battleground-games-such-as-fortnite-etc/621040)

<div class="topic-metadata">

**Author:** [@md.alzari](https://forums.unrealengine.com/u/md.alzari)\
**Replies:** 2\
**Last updated:** [August 10, 2022, 3:20pm UTC](https://forums.unrealengine.com/t/starting-the-gameplay-between-players-on-a-multiplayer-shooter-game-like-other-battleground-games-such-as-fortnite-etc/621040 "2022-08-10T15:20:00Z")

</div>

Hello First: I’m working on a Multiplayer Battleground Shooter Game Like other games like (Fortnite, etc.) I need to know what is best to work with (Game Mode or Game State) considering the following questions and als…

---

## [Can I have specific collision channels for each agent?](https://forums.unrealengine.com/t/can-i-have-specific-collision-channels-for-each-agent/625305)

<div class="topic-metadata">

**Author:** [@Lucky\_UMR](https://forums.unrealengine.com/u/Lucky_UMR)\
**Replies:** 0\
**Last updated:** [August 10, 2022, 7:56am UTC](https://forums.unrealengine.com/t/can-i-have-specific-collision-channels-for-each-agent/625305 "2022-08-10T07:56:27Z")

</div>

I want to give my common enemy and boss enemy different collision to generate navdata, but i find the navigationSystem is get collision type from UPrimitiveComponent::IsNavigationRelevant , that specified the collision …

---

## [AI not working even though i did everything](https://forums.unrealengine.com/t/ai-not-working-even-though-i-did-everything/624741)

<div class="topic-metadata">

**Author:** [@Voidlord2007YT](https://forums.unrealengine.com/u/Voidlord2007YT)\
**Replies:** 4\
**Last updated:** [August 9, 2022, 8:11pm UTC](https://forums.unrealengine.com/t/ai-not-working-even-though-i-did-everything/624741 "2022-08-09T20:11:39Z")

</div>

I did everything i needed to do but for some reason my ai wont movw

---

## [How to optimize ai?](https://forums.unrealengine.com/t/how-to-optimize-ai/624770)

<div class="topic-metadata">

**Author:** [@Craytex](https://forums.unrealengine.com/u/Craytex)\
**Replies:** 0\
**Last updated:** [August 9, 2022, 2:52pm UTC](https://forums.unrealengine.com/t/how-to-optimize-ai/624770 "2022-08-09T14:52:39Z")

</div>

Need to find a way to optimize atleast 100 ai in blueprints. Even if at begin play i tell them to move to say 500,0,500 the framerate will tank. I’m open to using a custom solution like getting rid of the character movem…

---

## [AI Move with specific condition](https://forums.unrealengine.com/t/ai-move-with-specific-condition/616271)

<div class="topic-metadata">

**Author:** [@jttarigan](https://forums.unrealengine.com/u/jttarigan)\
**Replies:** 3\
**Last updated:** [August 8, 2022, 9:15am UTC](https://forums.unrealengine.com/t/ai-move-with-specific-condition/616271 "2022-08-08T09:15:56Z")

</div>

Hi, I’m new here, sorry for noob question. I have problem trying to create a certain behavior tree. The logic is as follow: Check until player is in range (500) → I use task in here, I know I can use perception, perha…

---

## [Can I bind navigation to an actor?](https://forums.unrealengine.com/t/can-i-bind-navigation-to-an-actor/623244)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_759bfcc4](https://forums.unrealengine.com/u/anonymous_user_759bfcc4)\
**Replies:** 4\
**Last updated:** [August 8, 2022, 5:10am UTC](https://forums.unrealengine.com/t/can-i-bind-navigation-to-an-actor/623244 "2022-08-08T05:10:05Z")

</div>

Hi guys! There is a platform that moves in the world. Pawns must move on this platform. Is it possible to bind a navigation mesh to this platform? Thank you!

---

## [How to - Init BlackBoard variables from a Blueprint?](https://forums.unrealengine.com/t/how-to-init-blackboard-variables-from-a-blueprint/623080)

<div class="topic-metadata">

**Author:** [@Ocir-Tello](https://forums.unrealengine.com/u/Ocir-Tello)\
**Replies:** 3\
**Last updated:** [August 7, 2022, 9:04pm UTC](https://forums.unrealengine.com/t/how-to-init-blackboard-variables-from-a-blueprint/623080 "2022-08-07T21:04:00Z")

</div>

Hey all ! I’m struggling a bit on something about Behavior Tree and BlackBoard variables. I have a Weapon Component (projectiles) that handle logic and settings about weapon/auto attack/parameters of current weapon (da…

---

## [Detour Crowd AI Controller - NPCs Not Moving](https://forums.unrealengine.com/t/detour-crowd-ai-controller-npcs-not-moving/550681)

<div class="topic-metadata">

**Author:** [@FWEDY](https://forums.unrealengine.com/u/FWEDY)\
**Replies:** 4\
**Last updated:** [August 6, 2022, 12:02pm UTC](https://forums.unrealengine.com/t/detour-crowd-ai-controller-npcs-not-moving/550681 "2022-08-06T12:02:46Z")

</div>

Hey! So I created an AIController parented to the Crowd Detour AI Controller. But my NPCs are simply not moving at all. There’s no problem with the code or anything because I was using a regular AiController and it was …

---

## [UE 5 Behavior Tree Abort Self Broken](https://forums.unrealengine.com/t/ue-5-behavior-tree-abort-self-broken/533914)

<div class="topic-metadata">

**Author:** [@lowpoly\_nomad](https://forums.unrealengine.com/u/lowpoly_nomad)\
**Replies:** 5\
**Last updated:** [August 6, 2022, 8:37am UTC](https://forums.unrealengine.com/t/ue-5-behavior-tree-abort-self-broken/533914 "2022-08-06T08:37:46Z")

</div>

I’m moving my project from UE 4.26 to UE 5, and my identical behavior tree behaves very differently. I’m used to being able to set decorator conditions to “aborts self”, and the behavior tree will loop around like so: …

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

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