Skip to content

SeinARTS Targeting Library

Class · USeinTargetingBPFL : UBlueprintFunctionLibrary

#include "Targeting/SeinTargetingBPFL.h"

deterministic: safe in simulation code

Nodes that find the entities in reach of a query, or check one specific entity against the same rules.

Find the candidates a target query accepts, best score first, ties broken by entity order, at most Max Results of them.

static TArray<FSeinTargetCandidate> SeinFindTargets(const UObject* WorldContextObject, const FSeinTargetQuery& Query);

Evaluate ONE specific entity against the query’s gates — the same chain Find Targets applies — and report the first failing gate (or Eligible). Use it for “may I engage the thing the player clicked from here” and for UI feedback (out of range / no line of sight). When Eligible, Candidate carries the distance and score.

static ESeinTargetCheckResult SeinCheckTarget(const UObject* WorldContextObject, const FSeinTargetQuery& Query, FSeinEntityHandle Target, FSeinTargetCandidate& Candidate);