GetAheadLocation
From NWN Lexicon
Jump to navigationJump to search
GetAheadLocation(object)
This function returns a location directly in front of the target.
Parameters
oTarget
Target to be in front of
Description
Returns location directly ahead of the target and facing same direction as the target (think leading the target).
Calls
location GenerateNewLocation(object oTarget, float DISTANCE_MEDIUM, float fAngleToRightFlank, float fDir)
Requirements
#include " x0_i0_position "
Version
1.61
See Also
constants: |
author: Michael Nork, editor: Mistress