Function
Util
Util_SortPositionsByClosest
Returns a table of positions sorted from closest to furthest (or furthes to closest if reverse is true) from the origin
On this page
Util_SortPositionsByClosest(origin, positions, arg1)Description
Returns a table of positions sorted from closest to furthest (or furthes to closest if reverse is true) from the origin
Parameters
originSGroupID/EGroupID/EntityID/SquadID/MarkerID/PositionrequiredpositionsTablerequiredarg1reverse])optional
Returns
TableSource
Declared in the game's script sources at:
scar/scarutil.scar