Navigation
API > API/Plugins > API/Plugins/GameplayStateTreeModule > API/Plugins/GameplayStateTreeModule/UStateTreeComponent
Description
Add a linked state tree override. The override won't be set if it doesn't use the StateTreeComponentSchema schema.
| Name | AddLinkedStateTreeOverrides |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameplayStateTree/Source/GameplayStateTreeModule/Public/Components/StateTreeComponent.h |
| Include Path | #include "Components/StateTreeComponent.h" |
| Source | /Engine/Plugins/Runtime/GameplayStateTree/Source/GameplayStateTreeModule/Private/Components/StateTreeComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Gameplay|StateTree")
void AddLinkedStateTreeOverrides
(
const FGameplayTag StateTag,
FStateTreeReference StateTreeReference
)