Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BTCompositeNode.h |
Include |
#include "BehaviorTree/BTCompositeNode.h" |
class UBTCompositeNode : public UBTNode
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bApplyDecoratorScope |
If set, all decorators in branch below will be removed when execution flow leaves (decorators on this node are not affected) |
|
uint32: 1 |
bUseChildExecutionNotify |
If set, NotifyChildExecution will be called |
|
uint32: 1 |
bUseDecoratorsActivationCheck |
If set, CanNotifyDecoratorsOnActivation will be called |
|
uint32: 1 |
bUseDecoratorsDeactivationCheck |
If set, CanNotifyDecoratorsOnDeactivation will be called |
|
uint32: 1 |
bUseDecoratorsFailedActivationCheck |
If set, CanNotifyDecoratorsOnFailedActivation will be called |
|
uint32: 1 |
bUseNodeActivationNotify |
If set, NotifyNodeActivation will be called |
|
uint32: 1 |
bUseNodeDeactivationNotify |
If set, NotifyNodeDeactivation will be called |
|
Children |
Child nodes |
|
|
LastExecutionIndex |
Execution index of last node in child branches |
|
|
Services |
Service nodes |
Name | Description | |
---|---|---|
|
UBTCompositeNode ( |
Name | Description | |
---|---|---|
|
~UBTCompositeNode() |
Name | Description | ||
---|---|---|---|
|
CanAbortLowerPriority() |
||
|
CanAbortSelf() |
||
|
CanNotifyDecoratorsOnActivation ( |
Check if NotifyDecoratorsOnActivation is allowed, requires bUseDecoratorsActivationCheck flag bUseDecoratorsActivationCheck must be set to true for this function to be called Calling INIT_COMPOSITE_NODE_NOTIFY_FLAGS in the constructor of the node will set this flag automatically |
|
|
CanNotifyDecoratorsOnDeactivation ( |
Check if NotifyDecoratorsOnDeactivation is allowed, requires bUseDecoratorsDeactivationCheck flag bUseDecoratorsDeactivationCheck must be set to true for this function to be called Calling INIT_COMPOSITE_NODE_NOTIFY_FLAGS in the constructor of the node will set this flag automatically |
|
|
CanNotifyDecoratorsOnFailedActivation ( |
Check if NotifyDecoratorsOnFailedActivation is allowed, requires bUseDecoratorsActivationCheck flag bUseDecoratorsFailedActivationCheck must be set to true for this function to be called Calling INIT_COMPOSITE_NODE_NOTIFY_FLAGS in the constructor of the node will set this flag automatically |
|
|
CanPushSubtree ( |
Check if child node can execute new subtree |
|
|
ConditionalNotifyChildExecution ( |
Notify about task execution start |
|
|
DoDecoratorsAllowExecution ( |
Is child execution allowed by decorators? |
|
|
FindChildToExecute ( |
Find next child branch to execute |
|
|
GetBranchExecutionIndex ( |
Get first execution index of given branch |
|
|
GetChildExecutionIndex ( |
||
|
GetChildIndex ( |
Get index of child node (handle subtrees) |
|
|
GetChildIndex ( |
Get index of child node |
|
|
UBTNode *... |
GetChildNode ( |
|
|
GetChildrenNum() |
||
|
GetLastExecutionIndex() |
||
|
GetMatchingChildIndex ( |
Find branch containing specified node index |
|
|
GetNextChild ( |
Get next child to process and store it in CurrentChild |
|
|
GetNextChildHandler ( |
||
|
InitializeComposite ( |
Fill in data about tree structure |
|
|
InitNotifyFlags |
||
|
IsApplyingDecoratorScope() |
||
|
NotifyChildExecution ( |
Called just after child execution, allows to modify result bUseChildExecutionNotify must be set to true for this function to be called Calling INIT_COMPOSITE_NODE_NOTIFY_FLAGS in the constructor of the node will set this flag automatically |
|
|
NotifyDecoratorsOnActivation ( |
Runs through decorators on given child node and notify them about activation |
|
|
NotifyDecoratorsOnDeactivation ( |
Runs through decorators on given child node and notify them about deactivation |
|
|
NotifyDecoratorsOnFailedActivation ( |
Runs through decorators on given child node and notify them about failed activation |
|
|
NotifyNodeActivation ( |
Called when start enters this node bUseNodeActivationNotify must be set to true for this function to be called Calling INIT_COMPOSITE_NODE_NOTIFY_FLAGS in the constructor of the node will set this flag automatically |
|
|
NotifyNodeDeactivation ( |
Called when start leaves this node bUseNodeDeactivationNotify must be set to true for this function to be called Calling INIT_COMPOSITE_NODE_NOTIFY_FLAGS in the constructor of the node will set this flag automatically |
|
|
OnChildActivation ( |
Called before passing search to child node |
|
|
OnChildActivation ( |
Called before passing search to child node |
|
|
OnChildDeactivation ( |
Called after child has finished search |
|
|
OnChildDeactivation ( |
Called after child has finished search |
|
|
OnNodeActivation ( |
Called when start enters this node |
|
|
OnNodeDeactivation ( |
Called when search leaves this node |
|
|
OnNodeRestart ( |
Called when search needs to reactivate this node |
|
|
RequestDelayedExecution ( |
Store delayed execution request |
|
|
SetChildOverride ( |
Set override for next child index |
Name | Description | ||
---|---|---|---|
|
DescribeRuntimeValues ( |
Gathers description of all runtime parameters |
|
|
GetInstanceMemorySize() |
Size of instance memory |
Name | Description | ||
---|---|---|---|
|
OnNextChild |
OnNextChild is no longer being used. Please override UBTCompositeNode::GetNextChildHandler instead |
Name | Description | ||
---|---|---|---|
|
OnChildDeactivation ( |
This function is deprecated. Please use RequestBranchDeactivation instead. |
|
|
OnChildDeactivation ( |
This function is deprecated. Please use RequestBranchDeactivation instead. |