UBTTask_LimenActivateAbility
Overview
UBTTask_LimenActivateAbility is a Behavior Tree task node designed to activate a specific Limen ability. It inherits from UBTTaskNode and utilizes the Blackboard system to retrieve the ability instance. The task checks if the ability can be activated and then activates it if possible, returning the result of the operation.
Properties
Type | Name | Access | Description |
|---|---|---|---|
FBlackboardKeySelector | AbilityInstance | EditAnywhere | A selector for the Blackboard key that holds the Limen ability instance. |
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 activate the Limen ability. 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.