Some polish for allies05a

* Viewport follows the truck automatically
* Greece's reinforcements arrive only after the heli has left the scene
* Added "Reinforcements have arrived" notification
* Adds all the Lua files of the recent missions to the solution
This commit is contained in:
Oliver Brakmann
2015-02-02 16:09:49 +01:00
committed by abcdefg30
parent aab54218e5
commit ccc34806de
2 changed files with 12 additions and 3 deletions

View File

@@ -67,6 +67,7 @@ end
Tick = function()
if FollowTruk then
TrukCamera.Teleport(Truk.Location)
Camera.Position = Truk.CenterPosition
end
if ussr.HasNoRequiredUnits() then
@@ -87,6 +88,8 @@ SendReinforcements = function()
Reinforcements.ReinforceWithTransport(greece, InsertionTransport, reinforceTable[1], reinforceTable[2], { SpyEntry.Location })
end)
Media.PlaySpeechNotification(greece, "AlliedReinforcementsArrived")
ActivateAI()
end
@@ -98,9 +101,11 @@ ExtractTanya = function()
ExtractionHeli.Move(CPos.New(ExtractionPath[1].X, ExtractionHeli.Location.Y))
ExtractionHeli.Destroy()
greece.MarkCompletedObjective(mainObj)
SendReinforcements()
PrisonCamera.Destroy()
Trigger.OnRemovedFromWorld(ExtractionHeli, function()
greece.MarkCompletedObjective(mainObj)
SendReinforcements()
PrisonCamera.Destroy()
end)
end
WarfactoryInfiltrated = function()