object - commandobject - unit - tank - sapper


int AddMineAreaMedium(int nX1, int nY1, int nZ1, int nX2, int nY2, int nZ2)

Scope: private

Parameters
nX1 - X-coordinate of first point.
nY1 - Y-coordinate of first point.
nZ1 - Z-coordinate of first point.
nX2 - X-coordinate of second point.
nY2 - Y-coordinate of second point.
nZ2 - Z-coordinate of second point.

Return values
True if area was added, false otherwise.

Description
This function is used to add minning rectangle with opposite corners (nX1, nY1, nZ1) and (nX2, nY2, nZ2). Following points of this area can be obtained by functions NextMinePoint and GetCurrMinePointX, GetCurrMinePointY, GetCurrMinePointZ.
For this function every second point from this area will be return.
Function will return false if earlier any function added points for mine.

See also
AddMineAreaClose, AddMineAreaFar, AddMineLine, AddMinePoint, ResetMinePoints, NextMinePoint