object - commandobject - unit - tank - carrier


int GetContainerTakeLocationX(int nX, int nY, int nZ)

Scope: private

Parameters
nX - X-coordinates of point where is single container.
nY - Y-coordinates of point where is single container.
nZ - Z-coordinates of point where is single container.

Return values
X-coordinate of point from which we can get container laying on ground in point (nX, nY, nZ).

Description
This function calculates point where we should move to get container laying on ground in point (nX, nY, nZ). This location is stored in static variable so this function must be called before functions GetContainerTakeLocationY and GetContainerTakeLocationZ.

See also
FindSingleContainer, GetContainerTakeLocationY, GetContainerTakeLocationZ