Limen Framework 0.1 Help

UOpenDoor

Overview

UOpenDoor is a Behavior Tree task node designed to open a door. It inherits from UBTTaskNode and utilizes the Blackboard system to retrieve the door actor. The node checks if the door is already open before attempting to open it, ensuring that the action is not redundant.

Properties

Type

Name

Access

Description

FBlackboardKeySelector

DoorActor

EditAnywhere

A selector for the Blackboard key that holds the reference to the door actor.

Functions

Return Type

Signature

Description

EBTNodeResult::Type

ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) override

Executes the task logic to open the door. Returns EBTNodeResult::Succeeded if the door is successfully opened, otherwise returns EBTNodeResult::Failed.

Usage & Implementation Notes

  • Threading Constraints: This node should be executed on the game thread as it interacts with Unreal Engine's runtime systems.

  • Replication Requirements: None. This node operates within a single client or server environment and does not require replication.

  • Memory Lifetime Management: The door actor reference is retrieved from the Blackboard, which manages its lifetime. Ensure that the door actor exists for the duration of the task execution.

  • Initialization Dependencies: The DoorActor property must be set in the Behavior Tree editor to specify the key that holds the door actor reference.

22 May 2026