GetCalculatedPosAlt
From GECK
A function added by the SUP NVSE Plugin.
Contents
Description
Calculates position relative to position of a calling reference with specified angle and distance.
Syntax
GetCalculatedPosAlt fAngle:float fDistance:float xOut:float yOut:float xIn:float yIn:float
Example
float fOutX float fOutY GetCalculatedPosAlt 0 25 fOutX fOutY fxIn fyIn;
The function will calculate object position in front of the position of fxIn and fyIn with offset distance of 25 and sets coordinates to fOutX and fOutY script variables.