Tala Esenlikler

FInteractionRuntimeRequirementContext

Context passed into requirement evaluation.

Interaction Framework 1.0.0 UE5.8 Struct InteractionRuntimeRequirementTypes.h

Context passed into requirement evaluation.

Requirements receive this context from Evaluate. It identifies the current evaluation stage and exposes the relevant interactor, target, instigator, point id, command id, allowed instigators, and active requirement lists so one requirement class can make a stable pass/fail decision without querying unrelated UI state.

Module InteractionFrameworkRuntime
Category requirements
USTRUCT(BlueprintType)
struct INTERACTIONFRAMEWORKRUNTIME_API FInteractionRuntimeRequirementContext

Properties

Requirement Context

Instigator Actor

Actor that initiated the interaction evaluation.

TObjectPtr<AActor>
Requirement Context

Allowed Instigator Actors

Actors allowed to count as instigators for requirement checks.

TArray<TObjectPtr<AActor>>
Requirement Context

Target Actor

Actor that owns the target component.

TObjectPtr<AActor>
Requirement Context

Point Index

Runtime index of the point being evaluated.

int32

Use Cases

  • Read current point, command, target, interactor, and stage data inside a custom requirement.
  • Branch one reusable requirement differently for point, variant, selection, or command evaluation.

Notes

  • The context is input data for evaluation. Requirement code should not mutate gameplay state while reading it.

Related Docs