Black Ops III

ArrayGetFarthest

Returns the entity/vector that is farthest to the <origin> from the <array>.

Example:

ent = ArrayGetFarthest( player.origin, a_enemies )

Parameters

ParameterSummary
*originThe origin to get farthest from
*arrayThe array to search in
[dist]The maximum distance when finding farthest (has to be positive)

* = mandatory