UBTComposite_Selector

Copyright Epic Games, Inc. All Rights Reserved.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Composites/BTComposite_Selector.h

Include

#include "BehaviorTree/Composites/BTComposite_Selector.h"

Syntax

class UBTComposite_Selector : public UBTCompositeNode

Remarks

Selector composite node. Selector Nodes execute their children from left to right, and will stop executing its children when one of their children succeeds. If a Selector's child succeeds, the Selector succeeds. If all the Selector's children fail, the Selector fails.

Constructors

Name Description

Public function

UBTComposite_Selector

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UBTCompositeNode

Name Description

Public function Virtual Const

int32

 

GetNextChildHandler

(
    FBehaviorTreeSearchData& SearchDat...,
    int32 PrevChild,
    EBTNodeResult::Type LastResult
)

Overridden from UBTNode

Name Description

Public function Virtual Const

FName

 

GetNodeIconName()

Get the name of the icon used to display this node in the editor