GetForwardFlankingRightLocation

From NWN Lexicon
Jump to navigationJump to search



GetForwardFlankingRightLocation(object)

Returns location to the forward right flank of the target

void GetForwardFlankingRightLocation(
    object oTarget
);

Parameters

oTarget

Target to flank


Description

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

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



Requirements

#include " x0_i0_position "

Version

1.61

See Also

constants: 

DISTANCE_* Constants



 author: Michael Nork