object - commandobject - unit - tank - sapper


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

Scope: private

Parameters
nX1 - X-coordinate of line begin.
nY1 - Y-coordinate of line begin.
nZ1 - Z-coordinate of line begin.
nX2 - X-coordinate of line end.
nY2 - Y-coordinate of line end.
nZ2 - Z-coordinate of line end.

Return values
True if line was added, false otherwise.

Description
This function is used to add minning line from point (nX1, nY1, nZ1) to (nX2, nY2, nZ2). Following points of this area can be obtained by functions NextMinePoint and GetCurrMinePointX, GetCurrMinePointY, GetCurrMinePointZ.
Function will return false if earlier one of functions AddMineAreaClose, AddMineAreaMedium or AddMineAreaFar added points for mine.

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