GetForwardFlankingLeftLocation(object)

Returns location to the forward left flank of the target

location GetForwardFlankingLeftLocation(
    object oTarget
);

Parameters

oTarget

Target to flank


Description

Returns location to the forward left flank of the target and facing the same way as the target.

Calls
float fDir = GetFacing(oTarget);
float fAngle = GetHalfLeftDirection(fDir);
return GenerateNewLocation(oTarget, DISTANCE_MEDIUM, fAngle, fDir);



Requirements

#include "x0_i0_position"

Version

1.61

See Also

categories: Area Functions | Combat Functions | Movement Functions
constants: DISTANCE_* Constants


 author: Michael Nork