mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
xx
This commit is contained in:
parent
9227252976
commit
bf7c49708f
@ -1643,6 +1643,8 @@ function CTLD:New(Coalition, Prefixes, Alias)
|
|||||||
-- @param #string To State.
|
-- @param #string To State.
|
||||||
-- @param Wrapper.Group#GROUP Group Group Object.
|
-- @param Wrapper.Group#GROUP Group Group Object.
|
||||||
-- @param Wrapper.Unit#UNIT Unit Unit Object.
|
-- @param Wrapper.Unit#UNIT Unit Unit Object.
|
||||||
|
-- @param #string ZoneName Name of the Zone where the Troops have been RTB'd.
|
||||||
|
-- @param Core.Zone#ZONE_Radius ZoneObject of the Zone where the Troops have been RTB'd.
|
||||||
|
|
||||||
--- FSM Function OnAfterTroopsPickedUp.
|
--- FSM Function OnAfterTroopsPickedUp.
|
||||||
-- @function [parent=#CTLD] OnAfterTroopsPickedUp
|
-- @function [parent=#CTLD] OnAfterTroopsPickedUp
|
||||||
@ -3361,7 +3363,7 @@ function CTLD:_UnloadTroops(Group, Unit)
|
|||||||
end -- cargotable loop
|
end -- cargotable loop
|
||||||
else -- droppingatbase
|
else -- droppingatbase
|
||||||
self:_SendMessage("Troops have returned to base!", 10, false, Group)
|
self:_SendMessage("Troops have returned to base!", 10, false, Group)
|
||||||
self:__TroopsRTB(1, Group, Unit)
|
self:__TroopsRTB(1, Group, Unit, zonename, zone)
|
||||||
end
|
end
|
||||||
-- cleanup load list
|
-- cleanup load list
|
||||||
local loaded = {} -- #CTLD.LoadedCargo
|
local loaded = {} -- #CTLD.LoadedCargo
|
||||||
@ -5794,8 +5796,10 @@ end
|
|||||||
-- @param #string To State.
|
-- @param #string To State.
|
||||||
-- @param Wrapper.Group#GROUP Group Group Object.
|
-- @param Wrapper.Group#GROUP Group Group Object.
|
||||||
-- @param Wrapper.Unit#UNIT Unit Unit Object.
|
-- @param Wrapper.Unit#UNIT Unit Unit Object.
|
||||||
|
-- @param #string ZoneName Name of the Zone where the Troops have been RTB'd.
|
||||||
|
-- @param Core.Zone#ZONE_Radius ZoneObject of the Zone where the Troops have been RTB'd.
|
||||||
-- @return #CTLD self
|
-- @return #CTLD self
|
||||||
function CTLD:onbeforeTroopsRTB(From, Event, To, Group, Unit)
|
function CTLD:onbeforeTroopsRTB(From, Event, To, Group, Unit, ZoneName, ZoneObject)
|
||||||
self:T({From, Event, To})
|
self:T({From, Event, To})
|
||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user