GetOppositeLocation

From NWN Lexicon



Contents

[edit] GetOppositeLocation(object)

Returns a location that is directly behind the target

location GetOppositeLocation(
    object oTarget
);

[edit] Parameters

oTarget

Target object


[edit] Description

This function returns a location that is directly behind the target and facing the same direction as the target (Think following)

Calls
float GetFacing(object oTarget)
float GetOppositeDirection(float fDir)
location GenerateNewLocation(object oTarget, float DISTANCE_MEDIUM, float fDir, float fAngleOpposite)



[edit] Requirements

#include " x0_i0_position "

[edit] Version

1.61

[edit] See Also

constants: 

DISTANCE_* Constants



 author: Michael Nork
 

Personal tools
Categories