object - commandobject - unit


int FindSupplyCenterPlace()

Scope: private

Parameters
none

Return values
True if some Supply Center were found, false otherwise.

Description
This function is used by flying units to search for buildings where they can get ammo. If such a building were found "Get" point is stored in static variable and should be obtained by functions GetFoundSupplyCenterPlaceX, GetFoundSupplyCenterPlaceY, GetFoundSupplyCenterPlaceZ.

See also
GetFoundSupplyCenterPlaceX, GetFoundSupplyCenterPlaceY, GetFoundSupplyCenterPlaceZ