GetForwardFlankingRightLocation
From NWN Lexicon
Contents |
[edit] GetForwardFlankingRightLocation(object)
Returns location to the forward right flank of the target
void GetForwardFlankingRightLocation( object oTarget );
[edit] Parameters
oTarget
Target to flank
[edit] 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);
[edit] Requirements
#include " x0_i0_position "
[edit] Version
1.61
[edit] See Also
constants: |
author: Michael Nork