UBTTask_LimenDeactivateAbility
Overview
UBTTask_LimenDeactivateAbility is a Behavior Tree task designed to deactivate an ability within the Limen Ability System. It inherits from UBTTaskNode and utilizes the Blackboard system to select the ability instance to be deactivated.
Properties
Type | Name | Access | Description |
|---|---|---|---|
FBlackboardKeySelector | AbilityInstance | EditAnywhere | A selector for the Blackboard key that holds the ability instance to be deactivated. |
Functions
Return Type | Signature | Description |
|---|---|---|
void | InitializeFromAsset(UBehaviorTree& Asset) | Initializes the task from a Behavior Tree asset, resolving the selected key in the Blackboard. |
EBTNodeResult::Type | ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) | Executes the task to deactivate the selected ability instance. Returns |
Usage & Implementation Notes
Threading Constraints: This task should be executed on the game thread.
Replication Requirements: None.
Memory Lifetime Management: The ability instance is retrieved from the Blackboard and managed by the Behavior Tree component. Ensure that the ability instance remains valid during the execution of this task.
Initialization Dependencies: The task depends on a valid Limen ability instance being stored in the Blackboard under the specified key.