This commit is contained in:
Frank
2018-09-26 21:40:18 +02:00
parent 7ab14e0bf9
commit a76ea8f393
4 changed files with 5 additions and 2 deletions

View File

@@ -472,6 +472,7 @@ do -- CARGO
self.LoadRadius = LoadRadius or 500 self.LoadRadius = LoadRadius or 500
self.NearRadius = NearRadius or 25 self.NearRadius = NearRadius or 25
env.info("FF nearradius = ".. self.NearRadius)
self:SetDeployed( false ) self:SetDeployed( false )

View File

@@ -226,6 +226,8 @@ do -- CARGO_UNIT
-- @param #string Event -- @param #string Event
-- @param #string From -- @param #string From
-- @param #string To -- @param #string To
-- @param Wrapper.Group#GROUP CargoCarrier
-- @param #number NearRadius
function CARGO_UNIT:onafterBoard( From, Event, To, CargoCarrier, NearRadius, ... ) function CARGO_UNIT:onafterBoard( From, Event, To, CargoCarrier, NearRadius, ... )
self:F( { From, Event, To, CargoCarrier, NearRadius } ) self:F( { From, Event, To, CargoCarrier, NearRadius } )

View File

@@ -3350,7 +3350,7 @@ function WAREHOUSE:onafterRequest(From, Event, To, Request)
local CargoGroups --Core.Set#SET_CARGO local CargoGroups --Core.Set#SET_CARGO
-- Board radius, i.e. when the cargo will begin to board the carrier -- Board radius, i.e. when the cargo will begin to board the carrier
local _boardradius=5000 local _boardradius=500
if Request.transporttype==WAREHOUSE.TransportType.AIRPLANE then if Request.transporttype==WAREHOUSE.TransportType.AIRPLANE then
_boardradius=5000 _boardradius=5000