Black Ops III

PositionQuery_Filter_Directness

Directness filter compute the direction information for each of the positions, relative to <origin> and <target>.

Example:

PositionQuery_Filter_Directness( queryResult, self.origin, self.enemy.origin )

Parameters

ParameterSummary
*queryStructresult from PositionQuery_Source function. each point contained here will have direction info computed.
*originusually the position of AI before move.
*targetthe position AI is trying to approach.
[resultVarName]by default the result directness value will be stored in pointStruct.directness, but can be override by this string.

* = mandatory