Sein Order Target
Struct · FSeinOrderTarget
#include "Brokers/SeinBrokerTypes.h"
deterministic: safe in simulation code
The resolved target of a movement/formation order — the input a USeinFormation consumes to lay out members. Bundles the gesture-produced GUIDE geometry (the serialized part, carried on the order) with the formation’s current centroid / facing (filled by the resolver at solve time, NOT serialized).
The guide is an ordered point list — the universal payload across order shapes:
-
empty or 1 point → a simple click (point order)
-
2 points → a line (drag start → end)
-
N points → a path / spline (drawn order) A formation consumes only the parts it needs: a Blob ignores the guide, a Line uses the endpoints, a path-march walks every point.
Properties
Section titled “Properties”Anchor
Section titled “Anchor”FFixedVector Anchor
Blueprint read and write
Primary destination — the nav-projected click/anchor point. For a simple click this is the whole order; for a guide it is the guide’s representative point (GuidePoints[0] by convention).
Guide Points
Section titled “Guide Points”TArray<FFixedVector> GuidePoints
Blueprint read and write
Ordered guide geometry (the drag path). Empty/single = simple click; two = line; many = path. The serialized, gesture-produced part of the order.
Target Entity
Section titled “Target Entity”FSeinEntityHandle TargetEntity
Blueprint read and write
Optional entity target (attack / repair). Formations usually ignore it (the member’s ability handles get-in-range); carried for completeness.
Formation Tag
Section titled “Formation Tag”FGameplayTag FormationTag
Blueprint read and write
Gesture-nominated formation identity. Invalid → the resolver’s default formation. The resolver maps this tag to a USeinFormation class.
Formation Class
Section titled “Formation Class”TSoftClassPtr<USeinFormation> FormationClass
Blueprint read and write
Optional explicit formation CLASS override. When set, the resolver uses THIS formation directly (bypassing FormationTag / FormationsByTag) — e.g. a group lays its members out with its own formation class. Empty → resolve via FormationTag as usual.
Current Centroid
Section titled “Current Centroid”FFixedVector CurrentCentroid
Blueprint read and write
Formation’s CURRENT centroid (source). Filled by the resolver at solve time from broker data — NOT serialized on the order.
Current Facing
Section titled “Current Facing”FFixedQuaternion CurrentFacing
Blueprint read and write
Formation’s CURRENT facing (source). Filled by the resolver at solve time — NOT serialized on the order.