Properly unload passengers in nod05

Also lets the transport fly out of the map
This commit is contained in:
abcdefg30
2018-01-01 13:22:40 +01:00
committed by reaperrr
parent 11db40a2b3
commit 94a062b3e7

View File

@@ -122,13 +122,8 @@ Atk6TriggerFunction = function()
end
Atk1TriggerFunction = function()
Reinforcements.ReinforceWithTransport(enemy, 'tran', GDIReinforceUnits, { waypoint9.Location, waypoint26.Location }, nil,
function(transport, cargo)
transport.UnloadPassengers()
Utils.Do(cargo, function(actor)
IdleHunt(actor)
end)
end)
local cargo = Reinforcements.ReinforceWithTransport(enemy, 'tran', GDIReinforceUnits, { waypoint9.Location, waypoint26.Location }, { waypoint9.Location })[2]
Utils.Do(cargo, IdleHunt)
end
AutoTriggerFunction = function()