GetBehindLocation
Contents |
[edit] GetBehindLocation(object)
Returns location directly behind the target and facing same direction as the target
location GetBehindLocation( object oTarget );
[edit] Parameters
oTarget
Target to get behind
[edit] Description
Returns location directly behind the target and facing same direction as the target (useful for backstabbing attacks).
Calls
float GetFacing(object oTarget)
float GetOppositeDirection(float fDir)
location GenerateNewLocation(object oTarget, float DISTANCE_MEDIUM, float fAngleToRightFlank, float fDir)
[edit] Remarks
This function is functionally the same as
location GetOppositeLocation(object oTarget)
The only difference being that GetOppositeLocation calls GenerateNewLocation(oTarget, DISTANCE_MEDIUM, fDir, fAngleOpposite)
And GetBehindLocation calls
GenerateNewLocation(oTarget, DISTANCE_MEDIUM, fAngleOpposite, fDir);
[edit] Requirements
#include " x0_i0_position "
[edit] Version
1.61
[edit] See Also
constants: |
author: Michael Nork