GetForwardFlankingLeftLocation
From NWN Lexicon
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: |
author: Michael Nork