Skip to main content

From Relation

Create › Power › Misc › Custom Actor › From Relation

CustomActor_FromRelation picks one Actor from a filtered relation scope. Use it to remember a target, select the weakest foe, or choose the closest Actor in front of the source.

FieldDescription
Relate ToThe interaction Actor the scope is measured from.
Relation StateThe relation to that Actor, such as Enemy or Team.
FilterAn optional Targeting Filter to narrow or order the scope.
PickFirst, Last or Random entry after filtering.
No FallbackReturns null when no candidate remains.
Fallback ActorThe interaction Actor returned when the scope is empty and No Fallback is off.

An Order By Distance filter with Pick: First selects the nearest Actor; Pick: Last selects the farthest. A Closest In Sight filter first narrows the scope to the closest candidate in the view cone.

Example​

CustomActor_ClosestInSight_3DC uses Relation State: Enemy, a chain of alive and closest-in-sight filters, Pick: First and No Fallback on. Scrap Tossers stores the result in LockOnTarget, locking on only when it has an Actor and aiming at the pointer otherwise.