GetAheadLocation

From NWN Lexicon



Contents

[edit] GetAheadLocation(object)

This function returns a location directly in front of the target.

location GetAheadLocation(
    object oTarget
);

[edit] Parameters

oTarget

Target to be in front of


[edit] 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)



[edit] Requirements

#include " x0_i0_position "

[edit] Version

1.61

[edit] See Also

constants: 

DISTANCE_* Constants



 author: Michael Nork, editor: Mistress
 

Personal tools
Categories