object - commandobject - unit - tank - harvester
int FindResource()
Scope: private
Parameters
none
Return values
True if some point with resurces were found, false otherwise.
Description
This function is used to search for closest point with resources. If such a point were
found then function returns true, point is stored in static variable and can be obtained
with functions GetFoundResourceX, GetFoundResourceY and
GetFoundResourceZ.
Search is performed on the whole level (without fog).
See also
GetFoundResourceX, GetFoundResourceY, GetFoundResourceZ