Navigation
API > API/Runtime > API/Runtime/AIModule
Simple Parallel composite node. Allows for running two children: one which must be a single task node (with optional decorators), and the other of which can be a complete subtree.
| Name | UBTComposite_SimpleParallel |
| Type | class |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Composites/BTComposite_SimpleParallel.h |
| Include Path | #include "BehaviorTree/Composites/BTComposite_SimpleParallel.h" |
Syntax
UCLASS (HideCategories=(Composite), MinimalAPI)
class UBTComposite_SimpleParallel : public UBTCompositeNode
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBTNode → UBTCompositeNode → UBTComposite_SimpleParallel
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBTComposite_SimpleParallel
(
const FObjectInitializer& ObjectInitializer |
BehaviorTree/Composites/BTComposite_SimpleParallel.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FinishMode | TEnumAsByte< EBTParallelMode::Type > | How background tree should be handled when main task finishes execution | BehaviorTree/Composites/BTComposite_SimpleParallel.h |
|
Functions
Public
Overridden from UBTCompositeNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanAbortLowerPriority() |
BehaviorTree/Composites/BTComposite_SimpleParallel.h | ||
virtual bool CanAbortSelf() |
BehaviorTree/Composites/BTComposite_SimpleParallel.h | ||
virtual bool CanNotifyDecoratorsOnDeactivation
(
FBehaviorTreeSearchData& SearchData, |
Check if NotifyDecoratorsOnDeactivation is allowed, requires bUseDecoratorsDeactivationCheck flag | BehaviorTree/Composites/BTComposite_SimpleParallel.h | |
virtual bool CanPushSubtree
(
UBehaviorTreeComponent& OwnerComp, |
Check if child node can execute new subtree | BehaviorTree/Composites/BTComposite_SimpleParallel.h | |
virtual int32 GetNextChildHandler
(
FBehaviorTreeSearchData& SearchData, |
Handle child updates | BehaviorTree/Composites/BTComposite_SimpleParallel.h | |
virtual void NotifyChildExecution
(
UBehaviorTreeComponent& OwnerComp, |
Called just after child execution, allows to modify result | BehaviorTree/Composites/BTComposite_SimpleParallel.h | |
virtual void NotifyNodeDeactivation
(
FBehaviorTreeSearchData& SearchData, |
Called when start leaves this node bUseNodeDeactivationNotify must be set to true for this function to be called | BehaviorTree/Composites/BTComposite_SimpleParallel.h | |
virtual void SetChildOverride
(
FBehaviorTreeSearchData& SearchData, |
Set override for next child index | BehaviorTree/Composites/BTComposite_SimpleParallel.h |
Overridden from UBTNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CleanupMemory
(
UBehaviorTreeComponent& OwnerComp, |
Cleanup memory block. CleanupNodeMemory template function is provided to help cleanup the memory. | BehaviorTree/Composites/BTComposite_SimpleParallel.h | |
virtual void DescribeRuntimeValues
(
const UBehaviorTreeComponent& OwnerComp, |
Gathers description of all runtime parameters | BehaviorTree/Composites/BTComposite_SimpleParallel.h | |
virtual uint16 GetInstanceMemorySize() |
Size of instance memory | BehaviorTree/Composites/BTComposite_SimpleParallel.h | |
virtual FName GetNodeIconName() |
Get the name of the icon used to display this node in the editor | BehaviorTree/Composites/BTComposite_SimpleParallel.h | |
virtual FString GetStaticDescription() |
BehaviorTree/Composites/BTComposite_SimpleParallel.h | ||
virtual void InitializeMemory
(
UBehaviorTreeComponent& OwnerComp, |
Initialize memory block. | BehaviorTree/Composites/BTComposite_SimpleParallel.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString DescribeFinishMode
(
EBTParallelMode::Type Mode |
Helper for showing values of EBTParallelMode enum | BehaviorTree/Composites/BTComposite_SimpleParallel.h |