Limen Framework 0.1 Help

ULimenBTTask_SetFastMovement

Overview

ULimenBTTask_SetFastMovement is a custom Behavior Tree task designed to control the sprint mode of a pawn. It inherits from UBTTaskNode and overrides the ExecuteTask method to perform its primary function. This task requires an AI controller and a pawn with a ULimenMovementComponent. The sprint mode is activated or deactivated based on the value provided by the Activate property.

Properties

Type

Name

Access

Description

FValueOrBBKey_Bool

Activate

EditAnywhere

A boolean value that determines whether to activate or deactivate sprint mode.

Functions

Return Type

Signature

Description

EBTNodeResult::Type

ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) override

Executes the task and sets the sprint mode of the pawn based on the Activate property.

Usage & Implementation Notes

  • Threading Constraints: This task should be executed in the game thread as it interacts with game state.

  • Replication Requirements: If this task is used in a multiplayer environment, ensure that the Activate property is replicated to maintain consistency across clients and servers.

  • Memory Lifetime Management: The task does not manage any significant memory resources. Ensure that the AI controller and pawn are valid during the execution of this task.

  • Initialization Dependencies: This task assumes that the AI controller has a valid pawn with a ULimenMovementComponent. Ensure that these dependencies are met before executing the task.

22 May 2026