Skip to main content

Order By Stat

TargetingFilter_OrderByStat sorts candidates by a Float or Int Stat without removing any.

FieldDescription
Stat KeyThe Float or Int Stat read on each candidate.
DescendingOff: lowest first. On: highest first.

Actors without that Stat sort last. Equal values preserve incoming order. To pick the weakest foe, sort by Health and follow with Take, Count 1. A From Relation Custom Actor can also pick the first entry directly.