object - commandobject - unit - tank


int GetCannonAngleToPoint(int nCannonNum, int nX, int nY, int nZ)

Scope: private

Parameters
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
GetCannonAngleToTarget