Black Ops III

ArraySortClosest

Returns a sorted array of entities by closest from <origin>

Parameters

ParameterSummary
*arrayarray to sort
*originthe origin from which to compare
[maxReturnCount] if set then only the first max count of entities will be returned
[minDist]if set then only the entities further than will be considered
[maxDist]if set then only the entities closer then

* = mandatory