GetFlankingRightLocation

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



GetFlankingRightLocation(object)

Returns a location that is the right flank (to the right and slightly behind) the target.

Parameters

oTarget

Object to flank


Description

Returns alocation right flanking the target (to the right and slightly behind) facing same direction as the target.

Calls
float GetFacing(object oTarget)
float GetFarRightDirection(float fDir)
location GenerateNewLocation(object oTarget, float DISTANCE_MEDIUM, float fAngleToRightFlank, float fDir)



Requirements

#include " x0_i0_position "

Version

1.61

See Also

constants: 

DISTANCE_* Constants



 author: Michael Nork