Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BTAuxiliaryNode.h |
Include |
#include "BehaviorTree/BTAuxiliaryNode.h" |
class UBTAuxiliaryNode : public UBTNode
Auxiliary nodes are supporting nodes, that receive notification about execution flow and can be ticked
Because some of them can be instanced for specific AI, following virtual functions are not marked as const:
OnBecomeRelevant
OnCeaseRelevant
TickNode
If your node is not being instanced (default behavior), DO NOT change any properties of object within those functions! Template nodes are shared across all behavior tree components using the same tree asset and must store their runtime properties in provided NodeMemory block (allocation size determined by GetInstanceMemorySize() )
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bNotifyBecomeRelevant |
If set, OnBecomeRelevant will be used |
|
uint8: 1 |
bNotifyCeaseRelevant |
If set, OnCeaseRelevant will be used |
|
uint8: 1 |
bNotifyTick |
If set, OnTick will be used |
|
uint8: 1 |
bTickIntervals |
If set, conditional tick will use remaining time form node's memory |
|
ChildIndex |
Child index in parent node |
Name | Description | |
---|---|---|
|
UBTAuxiliaryNode ( |
Name | Description | ||
---|---|---|---|
|
GetChildIndex() |
||
|
const UBTNod... |
GetMyNode() |
|
|
float |
GetNextTickRemainingTime ( |
Gets remaining time for next tick |
|
InitializeParentLink ( |
Fill in data about tree structure |
|
|
OnBecomeRelevant ( |
Called when auxiliary node becomes active this function should be considered as const (don't modify state of object) if node is not instanced! |
|
|
OnCeaseRelevant ( |
Called when auxiliary node becomes inactive this function should be considered as const (don't modify state of object) if node is not instanced! |
|
|
SetNextTickTime ( |
Sets next tick time |
|
|
TickNode ( |
Tick function this function should be considered as const (don't modify state of object) if node is not instanced! |
|
|
WrappedOnBecomeRelevant ( |
Wrapper for node instancing: OnBecomeRelevant |
|
|
WrappedOnCeaseRelevant ( |
Wrapper for node instancing: OnCeaseRelevant |
|
|
WrappedTickNode ( |
Wrapper for node instancing: TickNode |
Name | Description | ||
---|---|---|---|
|
DescribeRuntimeValues ( |
Gathers description of all runtime parameters |
|
|
GetSpecialMemorySize() |
Size of special, hidden memory block for internal mechanics |