object - commandobject - unit


int GetResourcesCount(int nX, int nY, int nZ)

Scope: private

Parameters
nX - X-coordinate of point.
nY - Y-coordinate of point.
nZ - Z-coordinate of point.

Return values
Count of resources in point (nX, nY, nZ).

Description
Returned value is not CR-value of this resource but containers count which can be mined from this point (it is settings-dependent - one container can contain more than one resource).
If point (nX, nY, nZ) is under fog function returns 0.

See also
IsResourceInPoint