object - commandobject - unit - tank - transporter
int FindFreePlaceToPutUnitFromHook(int nX, int nY, int nZ, int nSearchRange)
Scope: private
Parameters
nX - X-coordinate of point where we want to put unit.
nY - Y-coordinate of point where we want to put unit.
nZ - Z-coordinate of point where we want to put unit.
nSearchRange - range of looking for free place
Return values
True if free place was found, false otherwise.
Description
[MP]
This function searches for free place where unit from hook can be put, begining
from point (nX, nY, nZ) and in range nSearchRange from this point. If there is
no unit in hook then function returns false. Found point can be obtained be
functions below.
See also
GetFoundFreePlaceToPutUnitX, GetFoundFreePlaceToPutUnitY, GetFoundFreePlaceToPutUnitZ