# AI

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

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

**Page:** 24

---

## [How to reuse AIController with different parameters](https://forums.unrealengine.com/t/how-to-reuse-aicontroller-with-different-parameters/1762045)

<div class="topic-metadata">

**Author:** [@reisandbeans](https://forums.unrealengine.com/u/reisandbeans)\
**Replies:** 3\
**Last updated:** [March 20, 2024, 2:11am UTC](https://forums.unrealengine.com/t/how-to-reuse-aicontroller-with-different-parameters/1762045 "2024-03-20T02:11:35Z")

</div>

Hello everyone. Let’s say I have a BehaviorTree and some NPCs controlled by such tree through an AIController. I want the behavior for all NPCs to be exactly the same, for example, they all need to patrol, wait, patrol …

---

## [How do you create a subscene in sequencer with Python?](https://forums.unrealengine.com/t/how-do-you-create-a-subscene-in-sequencer-with-python/643936)

<div class="topic-metadata">

**Author:** [@geordiem](https://forums.unrealengine.com/u/geordiem)\
**Replies:** 4\
**Last updated:** [March 20, 2024, 1:30am UTC](https://forums.unrealengine.com/t/how-do-you-create-a-subscene-in-sequencer-with-python/643936 "2024-03-20T01:30:41Z")

</div>

I have seen examples in the code provided by the engine. here: \\Engine\\Plugins\\MovieScene\\SequencerScripting\\Content\\Python I cannot find an example anywhere online on how to add a subscene track. Not a master shot wi…

---

## [Does DetourCrowdAiController work with pawns?](https://forums.unrealengine.com/t/does-detourcrowdaicontroller-work-with-pawns/1762507)

<div class="topic-metadata">

**Author:** [@padlina](https://forums.unrealengine.com/u/padlina)\
**Replies:** 0\
**Last updated:** [March 19, 2024, 8:24pm UTC](https://forums.unrealengine.com/t/does-detourcrowdaicontroller-work-with-pawns/1762507 "2024-03-19T20:24:14Z")

</div>

From what I observed in my tests DetourCrowdAiController seems to work only for objects which have CharacterMovement component. Is it possible to make it work with FloatingPawnMovement?

---

## [How do i make AI pawns keep a certain distance between themselves?](https://forums.unrealengine.com/t/how-do-i-make-ai-pawns-keep-a-certain-distance-between-themselves/385341)

<div class="topic-metadata">

**Author:** [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Replies:** 2\
**Last updated:** [March 18, 2024, 11:16am UTC](https://forums.unrealengine.com/t/how-do-i-make-ai-pawns-keep-a-certain-distance-between-themselves/385341 "2024-03-18T11:16:26Z")

</div>

hello, i’m doing the AI for my game and i noticed that when i have multiple targets moving towards me the AI pawns all group up together with minimal distance between them, how can i solve this? Does AI Avoidance help so…

---

## [Can you enlighten me about in what condition the enemy AI decides to first find cover, or should it go after the player?](https://forums.unrealengine.com/t/can-you-enlighten-me-about-in-what-condition-the-enemy-ai-decides-to-first-find-cover-or-should-it-go-after-the-player/1756356)

<div class="topic-metadata">

**Author:** [@dabbbbbbbb5656](https://forums.unrealengine.com/u/dabbbbbbbb5656)\
**Replies:** 3\
**Last updated:** [March 16, 2024, 5:31pm UTC](https://forums.unrealengine.com/t/can-you-enlighten-me-about-in-what-condition-the-enemy-ai-decides-to-first-find-cover-or-should-it-go-after-the-player/1756356 "2024-03-16T17:31:33Z")

</div>

In an FPS game, I don’t know when the enemy AI should decide to find a cover and when it should go after the player after seeing him. I can make the enemy AI attack, cover, and go after the player, but I don’t know when …

---

## [Learning agents with classification](https://forums.unrealengine.com/t/learning-agents-with-classification/1721895)

<div class="topic-metadata">

**Author:** [@Nitecon](https://forums.unrealengine.com/u/Nitecon)\
**Replies:** 3\
**Last updated:** [March 14, 2024, 1:20pm UTC](https://forums.unrealengine.com/t/learning-agents-with-classification/1721895 "2024-03-14T13:20:11Z")

</div>

I’ve been using learning agents for a while now and the output is fine for throttle and standard capabilities which rely on float outputs. However I’m looking for more numeric outputs to be used. It looks like the curr…

---

## [EXCEPTION\_ACCESS\_VIOLATION reading address 0x0000000000000010 while running Python](https://forums.unrealengine.com/t/exception-access-violation-reading-address-0x0000000000000010-while-running-python/1749119)

<div class="topic-metadata">

**Author:** [@user\_8f9474b2189e28a31b91890406f4c4213ab89dab1ad2d1f45c2c1a](https://forums.unrealengine.com/u/user_8f9474b2189e28a31b91890406f4c4213ab89dab1ad2d1f45c2c1a)\
**Replies:** 0\
**Last updated:** [March 13, 2024, 8:38am UTC](https://forums.unrealengine.com/t/exception-access-violation-reading-address-0x0000000000000010-while-running-python/1749119 "2024-03-13T08:38:37Z")

</div>

Hey everyone so I’ve been trying to run Python scripts in Unreal Engine for a while now and just when I got past all the include saga, I’m met with this error: Unhandled Exception: EXCEPTION\_ACCESS\_VIOLATION reading add…

---

## [AI struggling with moving around other characters](https://forums.unrealengine.com/t/ai-struggling-with-moving-around-other-characters/125829)

<div class="topic-metadata">

**Author:** [@KelbyVP](https://forums.unrealengine.com/u/KelbyVP)\
**Replies:** 6\
**Last updated:** [March 9, 2024, 11:02pm UTC](https://forums.unrealengine.com/t/ai-struggling-with-moving-around-other-characters/125829 "2024-03-09T23:02:57Z")

</div>

I am using the top-down template, and I’m having some problems with the way the AI is trying to navigate around other characters. Here’s what I’ve tried so far, and it hasn’t worked. I can’t be the first person to have…

---

## [Orienting Characters to Used SmartObjects](https://forums.unrealengine.com/t/orienting-characters-to-used-smartobjects/754167)

<div class="topic-metadata">

**Author:** [@Wahooney](https://forums.unrealengine.com/u/Wahooney)\
**Replies:** 1\
**Last updated:** [March 8, 2024, 7:30pm UTC](https://forums.unrealengine.com/t/orienting-characters-to-used-smartobjects/754167 "2024-03-08T19:30:25Z")

</div>

I followed the Smart Objects Quick Start and got the basics sorted out quickly enough. But it seems that orienting the character to the SmartObject is not handled by Use Claimed Gameplay Behaviour Smart Object. I tried o…

---

## [Help me understand State Tree transitions](https://forums.unrealengine.com/t/help-me-understand-state-tree-transitions/1734403)

<div class="topic-metadata">

**Author:** [@6to9Games](https://forums.unrealengine.com/u/6to9Games)\
**Replies:** 2\
**Last updated:** [March 6, 2024, 10:26pm UTC](https://forums.unrealengine.com/t/help-me-understand-state-tree-transitions/1734403 "2024-03-06T22:26:14Z")

</div>

Trying to learn the State Tree system and trying to understand how the transition logic works. I read the introduction to the State Trees and I gathered that when a state is selected, all the parent states are also activ…

---

## [Navigation Modifier Volume and Component not working properly](https://forums.unrealengine.com/t/navigation-modifier-volume-and-component-not-working-properly/761554)

<div class="topic-metadata">

**Author:** [@GCharron](https://forums.unrealengine.com/u/GCharron)\
**Replies:** 2\
**Last updated:** [March 5, 2024, 7:47pm UTC](https://forums.unrealengine.com/t/navigation-modifier-volume-and-component-not-working-properly/761554 "2024-03-05T19:47:26Z")

</div>

There seems to be something I’m either missing or a bug with the ANavigationModifierVolume. I drag and drop one in a new level with a navmesh bound volume. (Picture 1) I hit build paths. (Picture 2) Result is the same…

---

## [How do I avoid AI enemies moving while crouching?](https://forums.unrealengine.com/t/how-do-i-avoid-ai-enemies-moving-while-crouching/1729753)

<div class="topic-metadata">

**Author:** [@dabbbbbbbb5656](https://forums.unrealengine.com/u/dabbbbbbbb5656)\
**Replies:** 0\
**Last updated:** [March 4, 2024, 3:46pm UTC](https://forums.unrealengine.com/t/how-do-i-avoid-ai-enemies-moving-while-crouching/1729753 "2024-03-04T15:46:20Z")

</div>

I can’t find a way to fix the problem that sometimes the AI moves while crouching. Behavior tree: In this video, you can see that the AI sometimes moves while crouching, which is not acceptable because he needs to a…

---

## [Fortnite taxes not witheld](https://forums.unrealengine.com/t/fortnite-taxes-not-witheld/1731245)

<div class="topic-metadata">

**Author:** [@zedbs](https://forums.unrealengine.com/u/zedbs)\
**Replies:** 1\
**Last updated:** [March 5, 2024, 10:43am UTC](https://forums.unrealengine.com/t/fortnite-taxes-not-witheld/1731245 "2024-03-05T10:43:36Z")

</div>

I have a tax system for my dad but the payments come to my bank account. I withdrew the money via bank transfer and no taxes were deducted or withheld from me. and now the question is, is it because I’m too young to pay …

---

## [Enemy AI will not move towards noise event](https://forums.unrealengine.com/t/enemy-ai-will-not-move-towards-noise-event/1722809)

<div class="topic-metadata">

**Author:** [@DKEditor](https://forums.unrealengine.com/u/DKEditor)\
**Replies:** 14\
**Last updated:** [March 3, 2024, 9:00pm UTC](https://forums.unrealengine.com/t/enemy-ai-will-not-move-towards-noise-event/1722809 "2024-03-03T21:00:04Z")

</div>

I have an enemy AI that currently patrols around the area, and when the enemy hears a noise through the Report Noise Event, I’d like the patrol to be interrupted and investigate the noise. I’ve followed along with this t…

---

## [Ghost AI - Horror game](https://forums.unrealengine.com/t/ghost-ai-horror-game/646450)

<div class="topic-metadata">

**Author:** [@YORU8843](https://forums.unrealengine.com/u/YORU8843)\
**Replies:** 6\
**Last updated:** [March 2, 2024, 5:49pm UTC](https://forums.unrealengine.com/t/ghost-ai-horror-game/646450 "2024-03-02T17:49:38Z")

</div>

Hi there. I have a question. Pretty big one tbh. I was making my game, Its a 2 player horror game, And I needed to make an AI for it. The issue is that Its a ghost, and I don’t know how to make it that advanced. A few of…

---

## [Multiple AI characters not working properly](https://forums.unrealengine.com/t/multiple-ai-characters-not-working-properly/1723480)

<div class="topic-metadata">

**Author:** [@coder626](https://forums.unrealengine.com/u/coder626)\
**Replies:** 2\
**Last updated:** [March 1, 2024, 11:23pm UTC](https://forums.unrealengine.com/t/multiple-ai-characters-not-working-properly/1723480 "2024-03-01T23:23:45Z")

</div>

hhi i have a problem. please help me simple question: are instances of ai character related each other? i created an AI chaaracter. it works perfect. But i duplicate it, instances are not working properly. some of them…

---

## [new dev, which download options?](https://forums.unrealengine.com/t/new-dev-which-download-options/1717648)

<div class="topic-metadata">

**Author:** [@emsieler](https://forums.unrealengine.com/u/emsieler)\
**Replies:** 2\
**Last updated:** [March 1, 2024, 6:05pm UTC](https://forums.unrealengine.com/t/new-dev-which-download-options/1717648 "2024-03-01T18:05:47Z")

</div>

hi all, I’m very new to unreal engine but starting a job that uses it so I will have to learn pretty fast. The team asked me to develop some ML workflows for their pipeline so I probably need the source code/editor symb…

---

## [Multiple Characters Using Behavior Tree](https://forums.unrealengine.com/t/multiple-characters-using-behavior-tree/1638008)

<div class="topic-metadata">

**Author:** [@oAnubus](https://forums.unrealengine.com/u/oAnubus)\
**Replies:** 5\
**Last updated:** [February 27, 2024, 1:11am UTC](https://forums.unrealengine.com/t/multiple-characters-using-behavior-tree/1638008 "2024-02-27T01:11:32Z")

</div>

I’m trying to get multiple character to use 1 behavior tree, but i can only cast to one enemy at a time otherwise complications start to occur. (The set up in the pic shows both code wrote for each enemy character i hav…

---

## [How to make AI jump/climb on objects](https://forums.unrealengine.com/t/how-to-make-ai-jump-climb-on-objects/1713818)

<div class="topic-metadata">

**Author:** [@Bysiu931](https://forums.unrealengine.com/u/Bysiu931)\
**Replies:** 0\
**Last updated:** [February 26, 2024, 3:00pm UTC](https://forums.unrealengine.com/t/how-to-make-ai-jump-climb-on-objects/1713818 "2024-02-26T15:00:59Z")

</div>

Hi, I have a building system that allows you to place blocks of stones that will later be built by AI. Here comes the problem of how to make the AI able to climb/jump onto built elements to build higher. Placing nav link…

---

## [Weeping Angel Effect works on one of them but not multiple at a time](https://forums.unrealengine.com/t/weeping-angel-effect-works-on-one-of-them-but-not-multiple-at-a-time/1708142)

<div class="topic-metadata">

**Author:** [@DKEditor](https://forums.unrealengine.com/u/DKEditor)\
**Replies:** 2\
**Last updated:** [February 25, 2024, 7:41pm UTC](https://forums.unrealengine.com/t/weeping-angel-effect-works-on-one-of-them-but-not-multiple-at-a-time/1708142 "2024-02-25T19:41:55Z")

</div>

So I’ve got a Weeping Angel enemy, and if you’re not familiar with it, it’s a statue that will always move towards the player, but when the player looks at it, the statue will stop moving. When the player looks away, the…

---

## [When Using SpawnActor, enemy AI cannot move upon spawning](https://forums.unrealengine.com/t/when-using-spawnactor-enemy-ai-cannot-move-upon-spawning/1707159)

<div class="topic-metadata">

**Author:** [@DKEditor](https://forums.unrealengine.com/u/DKEditor)\
**Replies:** 1\
**Last updated:** [February 23, 2024, 6:06pm UTC](https://forums.unrealengine.com/t/when-using-spawnactor-enemy-ai-cannot-move-upon-spawning/1707159 "2024-02-23T18:06:34Z")

</div>

To give some context, I have two AI enemies types: Weeping Angel (enemy that moves only if the player is not looking directly at it) and Parasite (wanders around, chases player if player is spotted). Both are a Character…

---

## [Trouble setting Move To to Blackboard Key](https://forums.unrealengine.com/t/trouble-setting-move-to-to-blackboard-key/314511)

<div class="topic-metadata">

**Author:** [@equinox\_2](https://forums.unrealengine.com/u/equinox_2)\
**Replies:** 4\
**Last updated:** [February 21, 2024, 5:59pm UTC](https://forums.unrealengine.com/t/trouble-setting-move-to-to-blackboard-key/314511 "2024-02-21T17:59:36Z")

</div>

Hi there, so i have trouble setting anything but the first Blackboard Key in the Behavior Tree. What i’m trying to do is make an AI Controller move to Point A and then to Point B. But whatever i do i i can’t change t…

---

## [Overriding default navigation data](https://forums.unrealengine.com/t/overriding-default-navigation-data/1700460)

<div class="topic-metadata">

**Author:** [@Scoly1](https://forums.unrealengine.com/u/Scoly1)\
**Replies:** 0\
**Last updated:** [February 19, 2024, 8:46pm UTC](https://forums.unrealengine.com/t/overriding-default-navigation-data/1700460 "2024-02-19T20:46:48Z")

</div>

Hey everyone, Is there a way to override the default navigation data? or adding another agent with different default query filter? What I would like to have is to keep the default navigation for the path finding, but a…

---

## [How do i get my ai to move into the cylinder, it just doesnt move.](https://forums.unrealengine.com/t/how-do-i-get-my-ai-to-move-into-the-cylinder-it-just-doesnt-move/1697215)

<div class="topic-metadata">

**Author:** [@MeanLemur](https://forums.unrealengine.com/u/MeanLemur)\
**Replies:** 2\
**Last updated:** [February 18, 2024, 1:42pm UTC](https://forums.unrealengine.com/t/how-do-i-get-my-ai-to-move-into-the-cylinder-it-just-doesnt-move/1697215 "2024-02-18T13:42:10Z")

</div>

I have my call of duty-style shrinking circle but i cant get the ai to move into the circle they just randomly wander in the dangerous area.

---

## [Multiple "RecastNavMesh-Default" objects appeared in my level, can't delete?](https://forums.unrealengine.com/t/multiple-recastnavmesh-default-objects-appeared-in-my-level-cant-delete/1693922)

<div class="topic-metadata">

**Author:** [@carrot\_soup](https://forums.unrealengine.com/u/carrot_soup)\
**Replies:** 1\
**Last updated:** [February 17, 2024, 7:22pm UTC](https://forums.unrealengine.com/t/multiple-recastnavmesh-default-objects-appeared-in-my-level-cant-delete/1693922 "2024-02-17T19:22:07Z")

</div>

I’ve been adjusting some navmesh settings (mostly from following this video fwiw), which I have done for this map several times in the past without this happening, but this time something has caused the appearance of mul…

---

## [Enabling Non Blocking makes the Move To node to lose walk animation](https://forums.unrealengine.com/t/enabling-non-blocking-makes-the-move-to-node-to-lose-walk-animation/1692725)

<div class="topic-metadata">

**Author:** [@dabbbbbbbb5656](https://forums.unrealengine.com/u/dabbbbbbbb5656)\
**Replies:** 0\
**Last updated:** [February 16, 2024, 2:09pm UTC](https://forums.unrealengine.com/t/enabling-non-blocking-makes-the-move-to-node-to-lose-walk-animation/1692725 "2024-02-16T14:09:15Z")

</div>

At the beginning, the Move To node is getting executed while the walk animation is working with it, but when the Play Animation plays a crouch animation that has a Non Blocking option enabled and then finishes, Move To g…

---

## [Has there been any performance testing of StateTree vs BehaviorTree?](https://forums.unrealengine.com/t/has-there-been-any-performance-testing-of-statetree-vs-behaviortree/1632362)

<div class="topic-metadata">

**Author:** [@Krileon](https://forums.unrealengine.com/u/Krileon)\
**Replies:** 1\
**Last updated:** [February 15, 2024, 8:44pm UTC](https://forums.unrealengine.com/t/has-there-been-any-performance-testing-of-statetree-vs-behaviortree/1632362 "2024-02-15T20:44:56Z")

</div>

I’m considering switching my AI from BT to ST given my AI are extremely simple. Basically go to player, if in attack range and facing target, then attack. Rinse repeat. Has anyone done any performance testing of ST to se…

---

## [Blackboard enum key default value problem](https://forums.unrealengine.com/t/blackboard-enum-key-default-value-problem/1690686)

<div class="topic-metadata">

**Author:** [@beeqooo](https://forums.unrealengine.com/u/beeqooo)\
**Replies:** 0\
**Last updated:** [February 15, 2024, 2:57pm UTC](https://forums.unrealengine.com/t/blackboard-enum-key-default-value-problem/1690686 "2024-02-15T14:57:05Z")

</div>

Hello there, I have a problem with behaviour tree & blackboard. At the first start my project all the enum values on the blackboard changing as default value. (First index of enum). How can i fix this?

---

## [any enemy attack combo system ?](https://forums.unrealengine.com/t/any-enemy-attack-combo-system/1686739)

<div class="topic-metadata">

**Author:** [@mhmdamjd](https://forums.unrealengine.com/u/mhmdamjd)\
**Replies:** 4\
**Last updated:** [February 14, 2024, 5:54am UTC](https://forums.unrealengine.com/t/any-enemy-attack-combo-system/1686739 "2024-02-14T05:54:14Z")

</div>

hi guys is there any tutorial for this or does anybody have blueprint that has enemy attack combo system

---

## [Navmesh won't generate under a low ceiling](https://forums.unrealengine.com/t/navmesh-wont-generate-under-a-low-ceiling/1684459)

<div class="topic-metadata">

**Author:** [@V\_vix](https://forums.unrealengine.com/u/V_vix)\
**Replies:** 2\
**Last updated:** [February 12, 2024, 7:59pm UTC](https://forums.unrealengine.com/t/navmesh-wont-generate-under-a-low-ceiling/1684459 "2024-02-12T19:59:01Z")

</div>

I added a very small enemy to my game, which should be able to pass trough short-ceiling areas. I added a navmesh to make it’s movement work, but it wouldn’t generate in short areas. I tried making the nav mesh bound…

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

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