GetForwardFlankingLeftLocation

From NWN Lexicon
Revision as of 00:27, 26 August 2012 by Dood (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search



GetForwardFlankingLeftLocation(object)

Returns location to the forward left flank of the target

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

constants: 

DISTANCE_* Constants



 author: Michael Nork