object - commandobject - unit - tank
void CannonFireGround(int nCannonNum, int nX, int nY, int nZ, int nShootCount)
Scope: private
Parameters
nCannonNum - cannon number.
nX - X-coordinate of point we have to shoot.
nY - Y-coordinate of point we have to shoot.
nZ - Z-coordinate of point we have to shoot.
nShootCount - shoot count to fire.
Return values
none
Description
This function orders cannon number nCannonNum to fire nShootCount-shoots to point (nX, nY,
nZ).
If nCannonNum == -1 order is given to all cannons in tank.
If nShootCount == -1 cannon will fire only once.
See also
CannonFireToTarget, StopCannonFire