Limen Framework 0.1 Help

ALimenHintTrigger

Overview

ALimenHintTrigger is a subclass of ALimenTrigger. It handles the creation, initialization, and destruction of a hint instance (ULimenHint) when another actor overlaps with it. The class uses soft class pointers to define the hint and hint widget classes that can be configured in the editor.

Properties

Type

Name

Access

Description

TSoftClassPtr< ULimenHint >

HintClass

EditAnywhere

Soft class pointer to the ULimenHint class.

TSoftClassPtr< ULimenHintWidget >

HintWidgetClass

EditAnywhere

Soft class pointer to the ULimenHintWidget class.

Functions

Return Type

Signature

Description

void

BeginPlay()

Called when the actor is spawned or placed in the world. Initializes the hint instance and sets its widget class.

void

EndPlay(const EEndPlayReason::Type EndPlayReason)

Called when the actor is destroyed or unloaded. Resets the hint instance.

void

ComponentBeginOverlap(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult)

Called when another actor overlaps with this trigger's component. Enables the hint if the overlapping actor is a player-controlled pawn.

Usage & Implementation Notes

  • Threading Constraints: None.

  • Replication Requirements: None.

  • Memory Lifetime Management: The HintInstance is managed using a strong object pointer, ensuring it remains valid for as long as needed and is properly reset in EndPlay.

  • Initialization Dependencies: Depends on the availability of ULimenHint and ULimenHintWidget classes defined in the editor.

22 May 2026