Skip to content

Sein Target Query

Struct · FSeinTargetQuery

#include "Targeting/SeinTargetingTypes.h"

deterministic: safe in simulation code

One target query, run on demand by an ability or effect through Find Targets; the framework never runs an always-on engagement loop. The same struct is the profile Check Target uses to test one specific entity, so weapon data only needs to fill one of these.

FSeinEntityHandle Instigator

Editable in defaults and on instances · Blueprint read and write

Entity asking (excluded from results; supplies owner + origin when Origin is unset).

FFixedVector Origin · default FFixedVector::ZeroVector

Editable in defaults and on instances · Blueprint read and write

World-space query center. Zero = use the instigator’s position.

FFixedPoint Range · default FFixedPoint::Zero

Editable in defaults and on instances · Blueprint read and write

Maximum planar range. Must be positive.

FFixedPoint ArcHalfAngleDegrees · default FFixedPoint::FromInt(180)

Editable in defaults and on instances · Blueprint read and write

Firing-arc half-angle in degrees around the instigator’s facing. 180 (default) = full circle, no arc gating.

TObjectPtr<UScriptStruct> RequiredComponent · default nullptr

Editable in defaults and on instances · Blueprint read and write

Candidates must carry this sim component (native or designer UDS) — the designer’s way of saying “things with MY vitals struct count as targets”. None = no component gate.

FGameplayTagContainer RequiredTargetTags

Editable in defaults and on instances · Blueprint read and write

Candidates must hold every tag listed (empty = no tag gate).

bool bRequireLineOfSight · default true

Editable in defaults and on instances · Blueprint read and write

Gate candidates through the fog line-of-sight resolver when bound (unbound worlds permit, mirroring the ability LoS gate).

FSoftClassPath ScorerClass

Editable in defaults and on instances · Blueprint read and write

Target scorer policy class (a USeinTargetScorer subclass). EMPTY = the built-in neutral scorer: nearest valid candidate wins, with same-owner entities excluded.

int32 MaxResults · default 1 · min 1, max 64

Editable in defaults and on instances · Blueprint read and write

Bound on returned candidates (best-scored first).