UBehaviorTreeComponent::UpdateInstanceId

Add unique Id of newly created subtree to KnownInstances list and return its index

Windows
MacOS
Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BehaviorTreeComponent.h

Include

#include "BehaviorTree/BehaviorTreeComponent.h"

Source

/Engine/Source/Runtime/AIModule/Private/BehaviorTree/BehaviorTreeComponent.cpp

Syntax

uint8 UpdateInstanceId
(
    UBehaviorTree * TreeAsset,
    const UBTNode * OriginNode,
    int32 OriginInstanceIdx
)

Remarks

Add unique Id of newly created subtree to KnownInstances list and return its index

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss