GetAheadLocation(object)

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

location GetAheadLocation(
    object oTarget
);

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

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


 author: Michael Nork, editor: Mistress