Limen Framework 0.1 Help

ULimenPuzzleElementComponent

Overview

ULimenPuzzleElementComponent is a custom actor component designed to manage and interact with puzzle elements within the game. It inherits from UActorComponent and provides functionality to set and get an element's unique identifier (ElementId). This component can be spawned in Blueprints for use in puzzle mechanics.

Properties

Type

Name

Access

Description

FName

ElementId

EditAnywhere, BlueprintReadOnly

The unique identifier of the puzzle element.

Functions

Return Type

Signature

Description

const FName&

GetElementId() const

Returns the current ElementId of the component.

void

SetElementId(const FName& NewId)

Sets a new ElementId for the component.

Usage & Implementation Notes

  • The component does not require ticking (PrimaryComponentTick.bCanEverTick = false).

  • The component is designed to be auto-activated by default (bAutoActivate = true), but this behavior can be overridden in Blueprints.

  • The BeginPlay function includes a check to ensure that the component is not set to auto-activate, which could lead to unexpected behavior.

22 May 2026