Index    Objects hierarchy


harvester object

object
 +-- commandobject
      +-- unit
           +-- tank
                +-- harvester

Description

Scripts of type harvester are attached to Harvester units.

Functions

void CallHarvest()
void CallPutResource()
int  IsHarvesting()
int  IsPuttingResource()
int  SetHarvesterBuilding(unit uBuilding)
unit GetHarvesterBuilding()
void SetCurrentHarvestPoint(int nX, int nY, int nZ)
void InvalidateCurrentHarvestPoint()
int  GetHarvesterBuildingPutLocationX()
int  GetHarvesterBuildingPutLocationY()
int  GetHarvesterBuildingPutLocationZ()
int  HaveFullResources()
int  HaveSomeResources()
int  FindResource()
int  GetFoundResourceX()
int  GetFoundResourceY()
int  GetFoundResourceZ()
unit FindHarvesterRefineryBuilding()
unit FindHarvesterTransportBaseBuilding()