object - commandobject - platoon
int GetCannonAngleToPoint(int nUnit, int nCannonNum, int nX, int nY, int nZ)
Scope: private
Parameters
nUnit - unit number
nCannonNum - cannon number.
nX - X-coordinate of point to which we are calculating angle.
nY - Y-coordinate of point to which we are calculating angle.
nZ - Z-coordinate of point to which we are calculating angle.
Return values
Angle alpha from normal (ahead) position of cannon number nCannonNum to point (nX, nY,
nZ).
Description
See also