# \#bttask

**URL:** https://forums.unrealengine.com/tag/bttask/3452.md

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

---

## [BTTask NodeMemory?](https://forums.unrealengine.com/t/bttask-nodememory/307078)

<div class="topic-metadata">

**Author:** [@mirsabayu](https://forums.unrealengine.com/u/mirsabayu)\
**Replies:** 5\
**Last updated:** [June 12, 2025, 2:38am UTC](https://forums.unrealengine.com/t/bttask-nodememory/307078 "2025-06-12T02:38:48Z")

</div>

what is the purpose of “NodeMemory” parameters in the BTTask, i know that it was for cache a data, but for what?? had some connection with FMessageObserver? or what?? please anyone kindly can explain it to me, jjejejeje

---

## [Uncorrect working BehaviourTree & Node with multiple characters](https://forums.unrealengine.com/t/uncorrect-working-behaviourtree-node-with-multiple-characters/2049729)

<div class="topic-metadata">

**Author:** [@Dmitry\_31k](https://forums.unrealengine.com/u/Dmitry_31k)\
**Replies:** 0\
**Last updated:** [October 2, 2024, 1:32pm UTC](https://forums.unrealengine.com/t/uncorrect-working-behaviourtree-node-with-multiple-characters/2049729 "2024-10-02T13:32:20Z")

</div>

I wrote a BTTaskNode that worked correctly with one character in my scene. However, after I added another character of the same class to my scene, everything broke. One character just stands still and does nothing, while…

---

## [Link errors in UBTTaskNode classes](https://forums.unrealengine.com/t/link-errors-in-ubttasknode-classes/359394)

<div class="topic-metadata">

**Author:** [@Nevermore](https://forums.unrealengine.com/u/Nevermore)\
**Replies:** 19\
**Last updated:** [September 24, 2024, 5:29pm UTC](https://forums.unrealengine.com/t/link-errors-in-ubttasknode-classes/359394 "2024-09-24T17:29:55Z")

</div>

After converting my project to 4.12 I have link errors in 2 of my UBTTaskNode classes: 2\>AllowNextMarker.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void \_\_cdecl IGameplayTaskOwnerInterface::OnG…

---

## [change a variable in receive abort ai, but the next task dont read this variables](https://forums.unrealengine.com/t/change-a-variable-in-receive-abort-ai-but-the-next-task-dont-read-this-variables/1890373)

<div class="topic-metadata">

**Author:** [@HernanAcks](https://forums.unrealengine.com/u/HernanAcks)\
**Replies:** 1\
**Last updated:** [June 5, 2024, 1:14pm UTC](https://forums.unrealengine.com/t/change-a-variable-in-receive-abort-ai-but-the-next-task-dont-read-this-variables/1890373 "2024-06-05T13:14:50Z")

</div>

I have a selector with 2 tasks, in the first I implement an abort event where I set a variable to true, in the second task I have a decorator that reads that variable and executes if it is true, but takes it as false, th…

---

## [Moveto in Behavior Tree Not Working](https://forums.unrealengine.com/t/moveto-in-behavior-tree-not-working/1699054)

<div class="topic-metadata">

**Author:** [@Master101.5](https://forums.unrealengine.com/u/Master101.5)\
**Replies:** 1\
**Last updated:** [February 20, 2024, 1:17am UTC](https://forums.unrealengine.com/t/moveto-in-behavior-tree-not-working/1699054 "2024-02-20T01:17:31Z")

</div>

I want to know what I can do to make my AI move. Or do something. Because right now he is a piece of stone. All I have is a selector with a move to player node. It might be because of the navmesh.

---

## [How to play animation and destroy actor from BTTask?](https://forums.unrealengine.com/t/how-to-play-animation-and-destroy-actor-from-bttask/291392)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e332521e](https://forums.unrealengine.com/u/anonymous_user_e332521e)\
**Replies:** 4\
**Last updated:** [December 17, 2023, 10:50pm UTC](https://forums.unrealengine.com/t/how-to-play-animation-and-destroy-actor-from-bttask/291392 "2023-12-17T22:50:35Z")

</div>

I set up a simple Behavior Tree, and I’d like to make a task that plays a death animation and destroys the actor. However, I can’t even destroy the actor. The Destroy Actor node has no effect. How do I get animation…

---

## [With behavior tree, how to execute a task only once ?](https://forums.unrealengine.com/t/with-behavior-tree-how-to-execute-a-task-only-once/1379695)

<div class="topic-metadata">

**Author:** [@imagineer](https://forums.unrealengine.com/u/imagineer)\
**Replies:** 2\
**Last updated:** [November 11, 2023, 8:49pm UTC](https://forums.unrealengine.com/t/with-behavior-tree-how-to-execute-a-task-only-once/1379695 "2023-11-11T20:49:51Z")

</div>

With Behavior tree, how to execute a task only once ?

---

## [if UBTTask\_MoveTo is used inside UBTComposite\_SimpleParallel it's observers are not being unregistered when task is being aborted by higher priority decorator](https://forums.unrealengine.com/t/if-ubttask-moveto-is-used-inside-ubtcomposite-simpleparallel-its-observers-are-not-being-unregistered-when-task-is-being-aborted-by-higher-priority-decorator/1221122)

<div class="topic-metadata">

**Author:** [@TSroczynski](https://forums.unrealengine.com/u/TSroczynski)\
**Replies:** 0\
**Last updated:** [July 6, 2023, 9:34am UTC](https://forums.unrealengine.com/t/if-ubttask-moveto-is-used-inside-ubtcomposite-simpleparallel-its-observers-are-not-being-unregistered-when-task-is-being-aborted-by-higher-priority-decorator/1221122 "2023-07-06T09:34:01Z")

</div>

if UBTTask\_MoveTo is used inside UBTComposite\_SimpleParallel it’s observers are not being unregistered(they are marked as pending abort) when task is being aborted by higher priority decorator(set to abort lower priorit…

---

## [Can't create / compile BTTaskNode C++ class in 3 versions of UE4](https://forums.unrealengine.com/t/cant-create-compile-bttasknode-c-class-in-3-versions-of-ue4/377410)

<div class="topic-metadata">

**Author:** [@Fexception](https://forums.unrealengine.com/u/Fexception)\
**Replies:** 4\
**Last updated:** [September 15, 2022, 11:31pm UTC](https://forums.unrealengine.com/t/cant-create-compile-bttasknode-c-class-in-3-versions-of-ue4/377410 "2022-09-15T23:31:19Z")

</div>

This applicable to 4.14, 4.13.2, 4.12.5. Using VS Community 2015 Everytime I create a C++ class based on BTTaskNode in Unreal, I get the following error screen: In the output log I get the follwing: CompilerResults…

---

## [Timers in Behavior Tree Tasks Override Each Other in C++](https://forums.unrealengine.com/t/timers-in-behavior-tree-tasks-override-each-other-in-c/482627)

<div class="topic-metadata">

**Author:** [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Replies:** 2\
**Last updated:** [April 29, 2021, 9:01am UTC](https://forums.unrealengine.com/t/timers-in-behavior-tree-tasks-override-each-other-in-c/482627 "2021-04-29T09:01:24Z")

</div>

I’ve created a Behavior Tree Task that moves an AI, and while its TickTask() is running, I set a Timer that ticks every 0.25 seconds and checks if the player is in direct line of sight. It all worked fine until I added a…

---

## [Custom BT task doesn't move character](https://forums.unrealengine.com/t/custom-bt-task-doesnt-move-character/455877)

<div class="topic-metadata">

**Author:** [@Darth\_Biomech](https://forums.unrealengine.com/u/Darth_Biomech)\
**Replies:** 0\
**Last updated:** [September 24, 2019, 6:59am UTC](https://forums.unrealengine.com/t/custom-bt-task-doesnt-move-character/455877 "2019-09-24T06:59:50Z")

</div>

My navigation is set up so that doors have navmesh modifier that’s impassable in “vents” version of navfilter being used, but passable in the regular navfilter. The idea is that the BT Task will first attempt to first l…

---

## [C++ BTTask Finish Execute](https://forums.unrealengine.com/t/c-bttask-finish-execute/395728)

<div class="topic-metadata">

**Author:** [@TysonEX](https://forums.unrealengine.com/u/TysonEX)\
**Replies:** 5\
**Last updated:** [May 11, 2019, 1:37pm UTC](https://forums.unrealengine.com/t/c-bttask-finish-execute/395728 "2019-05-11T13:37:18Z")

</div>

Cast(GetOuter()) fails for your node because it’s not instanced (bCreateNodeInstance set to true). So one solution would be to mark it as such. Another solution would be to get your hands on BTComponent instance in a cas…

---

## [Shooting while moving (Multiple BT Task at the same time)](https://forums.unrealengine.com/t/shooting-while-moving-multiple-bt-task-at-the-same-time/338638)

<div class="topic-metadata">

**Author:** [@MaxiHori](https://forums.unrealengine.com/u/MaxiHori)\
**Replies:** 3\
**Last updated:** [December 1, 2018, 3:21pm UTC](https://forums.unrealengine.com/t/shooting-while-moving-multiple-bt-task-at-the-same-time/338638 "2018-12-01T15:21:45Z")

</div>

I need to be able to perform multiple operation at the same time (for example, choose the next spot to move and move to it while choosing the next target to shot at and shoot) What is the proper way to implement that?

---

## [How to use FinishLatentTask()?](https://forums.unrealengine.com/t/how-to-use-finishlatenttask/416850)

<div class="topic-metadata">

**Author:** [@XynanXDB](https://forums.unrealengine.com/u/XynanXDB)\
**Replies:** 2\
**Last updated:** [February 9, 2018, 3:24pm UTC](https://forums.unrealengine.com/t/how-to-use-finishlatenttask/416850 "2018-02-09T15:24:17Z")

</div>

HI, everyone. I’m having problem to set a task’s EBTNodeResult from InProgress to Succeeded. I made the AI move to a location when the AI is too close to the player. EBTNodeResult::Type UBTTask\_MoveBack::ExecuteTask(UBe…

---

## [GetRandomReachablePoint?](https://forums.unrealengine.com/t/getrandomreachablepoint/409259)

<div class="topic-metadata">

**Author:** [@Chicken\_Shake](https://forums.unrealengine.com/u/Chicken_Shake)\
**Replies:** 1\
**Last updated:** [November 10, 2017, 1:15pm UTC](https://forums.unrealengine.com/t/getrandomreachablepoint/409259 "2017-11-10T13:15:46Z")

</div>

Hello, Im trying to create my own BTTask thats sets an blackboard vector key to a random point in the nav mesh. (Like the blueprint node to obtain a random point) I did succesfully created an blueprint based task wich …

---

## [How are UProperties handled for non-instanced BTTask nodes?](https://forums.unrealengine.com/t/how-are-uproperties-handled-for-non-instanced-bttask-nodes/404333)

<div class="topic-metadata">

**Author:** [@Willowulf](https://forums.unrealengine.com/u/Willowulf)\
**Replies:** 0\
**Last updated:** [September 11, 2017, 8:39pm UTC](https://forums.unrealengine.com/t/how-are-uproperties-handled-for-non-instanced-bttask-nodes/404333 "2017-09-11T20:39:55Z")

</div>

I figured this belonged as a separate question stemming off of this: BTTask NodeMemory? - AI - Unreal Engine Forums C++ BTTaskNodes are able to not be instanced and thus only work off of a passed around NodeMemory rathe…

---

## [Why does BTTask Finish Execute have a Continue pin?](https://forums.unrealengine.com/t/why-does-bttask-finish-execute-have-a-continue-pin/398257)

<div class="topic-metadata">

**Author:** [@wilberolive](https://forums.unrealengine.com/u/wilberolive)\
**Replies:** 1\
**Last updated:** [August 9, 2017, 11:59am UTC](https://forums.unrealengine.com/t/why-does-bttask-finish-execute-have-a-continue-pin/398257 "2017-08-09T11:59:36Z")

</div>

See the attached screen shot. This is the Finish Execute node from an Event Receive Execute AI in a Behavior Tree Task. Finish Execute is the last node called, like a Return node, so why does it have a Continue pin on th…

---

## [Make BTTask continue in time](https://forums.unrealengine.com/t/make-bttask-continue-in-time/389209)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b04387a7](https://forums.unrealengine.com/u/anonymous_user_b04387a7)\
**Replies:** 6\
**Last updated:** [March 29, 2017, 8:07am UTC](https://forums.unrealengine.com/t/make-bttask-continue-in-time/389209 "2017-03-29T08:07:22Z")

</div>

Hello, sorry for the silly question. How to I make a BTTask continue in time until a specific condition is met? All the tasks I’m creating require the “Finish Execute” node but core tasks like Move To and Wait can cont…

---

## [AI - BT - Blackboard selector key mismatch](https://forums.unrealengine.com/t/ai-bt-blackboard-selector-key-mismatch/389214)

<div class="topic-metadata">

**Author:** [@hellwitu](https://forums.unrealengine.com/u/hellwitu)\
**Replies:** 4\
**Last updated:** [March 28, 2017, 11:37am UTC](https://forums.unrealengine.com/t/ai-bt-blackboard-selector-key-mismatch/389214 "2017-03-28T11:37:49Z")

</div>

Hi Everyone, I have created a Behavior tree that uses a “blackboard based condition” decorator to execute. The task executed prior to the condition check sets the required bool value but there seems to be a mismatch wi…

---

## [AIMoveDirectly Towards Never Completes Task](https://forums.unrealengine.com/t/aimovedirectly-towards-never-completes-task/382477)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_aa2a7fa1](https://forums.unrealengine.com/u/anonymous_user_aa2a7fa1)\
**Replies:** 1\
**Last updated:** [January 21, 2017, 12:14am UTC](https://forums.unrealengine.com/t/aimovedirectly-towards-never-completes-task/382477 "2017-01-21T00:14:28Z")

</div>

Hello all. So this is my very simple behavior tree setup that uses MoveDirectlyToward until it gets close enough to its target. But once it reaches its target actor destination, the task seems to get stuck for some …

---

## [Playing an animation through a Behavior Tree/BTTask](https://forums.unrealengine.com/t/playing-an-animation-through-a-behavior-tree-bttask/300451)

<div class="topic-metadata">

**Author:** [@tauren\_1](https://forums.unrealengine.com/u/tauren_1)\
**Replies:** 5\
**Last updated:** [May 1, 2016, 8:10pm UTC](https://forums.unrealengine.com/t/playing-an-animation-through-a-behavior-tree-bttask/300451 "2016-05-01T20:10:04Z")

</div>

Hi, I’m trying to create a basic monster AI which would start chasing the player when in line of sight and attack once it reaches the player. I have followed the Behavior Tree Quick Start Guide and got the chasing work…

---

## [How can I get the nearest actor and store it's array index?](https://forums.unrealengine.com/t/how-can-i-get-the-nearest-actor-and-store-its-array-index/283148)

<div class="topic-metadata">

**Author:** [@SuperNovaBen](https://forums.unrealengine.com/u/SuperNovaBen)\
**Replies:** 3\
**Last updated:** [April 24, 2016, 1:50pm UTC](https://forums.unrealengine.com/t/how-can-i-get-the-nearest-actor-and-store-its-array-index/283148 "2016-04-24T13:50:24Z")

</div>

Hello, I’ve been struggling with this for a couple of days now. I think I have the logic set up for it (below), but I’m not sure how to implement a couple of steps with blueprint. I am trying to implement a cover syste…

---

## [Need help with override in BT](https://forums.unrealengine.com/t/need-help-with-override-in-bt/354065)

<div class="topic-metadata">

**Author:** [@anon71236692](https://forums.unrealengine.com/u/anon71236692)\
**Replies:** 0\
**Last updated:** [April 13, 2016, 6:31pm UTC](https://forums.unrealengine.com/t/need-help-with-override-in-bt/354065 "2016-04-13T18:31:18Z")

</div>

Hi, I want to know why my BT is not working and why I can’t make the AI jump. The BT only works till the bot overlaps with the pawn. I want the bot to reach a certain distance to the pawn and then jump, then go back to …

---

## [BT Task executed in time](https://forums.unrealengine.com/t/bt-task-executed-in-time/338659)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d973a2dd](https://forums.unrealengine.com/u/anonymous_user_d973a2dd)\
**Replies:** 2\
**Last updated:** [January 29, 2016, 11:54pm UTC](https://forums.unrealengine.com/t/bt-task-executed-in-time/338659 "2016-01-29T23:54:56Z")

</div>

I’m wondering how to make a BT Task that is executed during more than one frame, like Rotate To Face BBEntry. I need a similar task, but I want to make my NPC to rotate to copy another rotation stored in the blackboard. …

---

## [BTT Move To don't avoid other characters](https://forums.unrealengine.com/t/btt-move-to-dont-avoid-other-characters/342078)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d973a2dd](https://forums.unrealengine.com/u/anonymous_user_d973a2dd)\
**Replies:** 1\
**Last updated:** [December 21, 2015, 3:41pm UTC](https://forums.unrealengine.com/t/btt-move-to-dont-avoid-other-characters/342078 "2015-12-21T15:41:31Z")

</div>

I found out that multiple npcs often collide when moving with the Move To BT Task, and keep going straight until they slip on the side. How can i get my NPCs move avoiding each others?

---

## [BT task Move don't get updated destination](https://forums.unrealengine.com/t/bt-task-move-dont-get-updated-destination/341177)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d973a2dd](https://forums.unrealengine.com/u/anonymous_user_d973a2dd)\
**Replies:** 0\
**Last updated:** [December 11, 2015, 4:12pm UTC](https://forums.unrealengine.com/t/bt-task-move-dont-get-updated-destination/341177 "2015-12-11T16:12:16Z")

</div>

The global scenario is: my npc has to follow another npc in formation, so I have a Simple Parallel with a main Move task, and a side task that update the target destination to move to, but I notice that the move task don…

---

## [Failing "Cast To" blueprint as object](https://forums.unrealengine.com/t/failing-cast-to-blueprint-as-object/333464)

<div class="topic-metadata">

**Author:** [@Clonez](https://forums.unrealengine.com/u/Clonez)\
**Replies:** 1\
**Last updated:** [September 26, 2015, 4:09pm UTC](https://forums.unrealengine.com/t/failing-cast-to-blueprint-as-object/333464 "2015-09-26T16:09:57Z")

</div>

So UE 4.7.5 here wondering why my blueprint “Cast to” keeps failing? im trying to set vector variable in BTTask blueprint via levelbp. Goal here is just to quickly get rough route for AI where goto vectors are set by t…

---

## [What is the proper way to access player location from BTTask](https://forums.unrealengine.com/t/what-is-the-proper-way-to-access-player-location-from-bttask/319717)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_42126980](https://forums.unrealengine.com/u/anonymous_user_42126980)\
**Replies:** 1\
**Last updated:** [May 26, 2015, 10:25am UTC](https://forums.unrealengine.com/t/what-is-the-proper-way-to-access-player-location-from-bttask/319717 "2015-05-26T10:25:07Z")

</div>

Hi, I need to get actor location from BTTask to calculate distance between enemy AI and player, then do something after. I’ve tried use get player controller and cast to my characterBP to access the actor location, howev…

---

## [General behavior tree question on action nodes](https://forums.unrealengine.com/t/general-behavior-tree-question-on-action-nodes/298187)

<div class="topic-metadata">

**Author:** [@AustinK](https://forums.unrealengine.com/u/AustinK)\
**Replies:** 8\
**Last updated:** [April 16, 2015, 4:08pm UTC](https://forums.unrealengine.com/t/general-behavior-tree-question-on-action-nodes/298187 "2015-04-16T16:08:24Z")

</div>

Hey all, So I’m learning the generalities of behavior trees and how they work, and I have a question about the action nodes; Task nodes as I believe they’re referred to in UE4. I tried looking at how the MoveTo functio…

---

## [BTTask\_PlayAnimation](https://forums.unrealengine.com/t/bttask-playanimation/310247)

<div class="topic-metadata">

**Author:** [@mirsabayu](https://forums.unrealengine.com/u/mirsabayu)\
**Replies:** 1\
**Last updated:** [March 10, 2015, 8:28am UTC](https://forums.unrealengine.com/t/bttask-playanimation/310247 "2015-03-10T08:28:18Z")

</div>

in this task, are we don’'t had to automatically setAnimation back to AnimationBluprint after we use this task?? or we had to set it manually?? (just realized it when i happens to use it though :p)

[Next page](https://forums.unrealengine.com/tag/bttask/3452.md?match_all_tags=true&page=1&tags%5B%5D=bttask)
