Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/BehaviorTree > API/Runtime/AIModule/BehaviorTree/UBehaviorTreeComponent > API/Runtime/AIModule/BehaviorTree/UBehaviorTreeComponent/SetDynamicSubtree
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 |
UFUNCTION (BlueprintCallable, Category="AI|Logic")
virtual void SetDynamicSubtree
(
FGameplayTag InjectTag,
UBehaviorTree * BehaviorAsset
)
Remarks
Assign subtree to RunBehaviorDynamic task specified by tag.