Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/BehaviorTree > API/Runtime/AIModule/BehaviorTree/Composites
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBTNode
- UBTCompositeNode
- UBTComposite_Sequence
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Composites/BTComposite_Sequence.h |
| Include | #include "BehaviorTree/Composites/BTComposite_Sequence.h" |
Syntax
class UBTComposite_Sequence : public UBTCompositeNode
Remarks
Sequence composite node. Sequence Nodes execute their children from left to right, and will stop executing its children when one of their children fails. If a child fails, then the Sequence fails. If all the Sequence's children succeed, then the Sequence succeeds.
Constructors
| Type | Name | Description | |
|---|---|---|---|
UBTComposite_Sequence
(
const FObjectInitializer& ObjectInitializer |
Overridden from UBTCompositeNode
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| int32 | GetNextChildHandler
(
FBehaviorTreeSearchData& SearchData, |
Overridden from UBTNode
| Type | Name | Description | |
|---|---|---|---|
| FName | Get the name of the icon used to display this node in the editor |