Limen Framework 0.1 Help

ULimenObjectiveComponent

Overview

ULimenObjectiveComponent is a custom actor component designed to manage and track objectives. It provides functionality to add, remove, and update objectives, as well as broadcast events when objectives are added, updated, or completed. This component can be spawned in Blueprints and accessed via C++ code.

Properties

Type

Name

Access

Description

FObjectiveUpdate

OnNewObjectiveAdded

BlueprintAssignable

Event triggered when a new objective is added.

FObjectiveUpdate

OnObjectiveUpdated

BlueprintAssignable

Event triggered when an objective is updated.

FObjectiveUpdate

OnObjectiveCompleted

BlueprintAssignable

Event triggered when an objective is completed.

FObjectiveComponentUpdate

OnObjectivesLoaded

BlueprintAssignable

Event triggered when objectives are loaded.

FObjectiveUpdate

OnObjectivesUntracked

BlueprintAssignable

Event triggered when objectives are untracked.

Functions

Return Type

Signature

Description

bool

TrackObjective(ALimenObjective* NewObjective)

Adds a new objective to the component's list if it does not already exist. Returns true if successful, false otherwise.

bool

IsTrackingObjective(ALimenObjective* Test) const

Checks if the component is tracking a specific objective.

void

LoadObjectives(const TArray< ALimenObjective *>& InObjectives)

Loads a list of objectives into the component and resets any existing objectives.

const TArray<[ALimenObjective](LimenObjective.md)*>&

GetObjectives() const

Returns a reference to the list of currently tracked objectives.

Usage & Implementation Notes

  • This component does not require threading constraints or replication.

  • Memory lifetime management is handled internally by managing the lifecycle of objectives added to the component.

  • Initialization dependencies include having ALimenObjective instances available for tracking.

22 May 2026