GetOppositeLocation(object)

Returns a location that is directly behind the target

location GetOppositeLocation(
    object oTarget
);

Parameters

oTarget

Target object


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)



Requirements

#include "x0_i0_position"

Version

1.61

See Also

categories: Area Functions | Combat Functions | Movement Functions
constants: DISTANCE_* Constants


 author: Michael Nork