Use the new Beacon function in survival 01 and 02

This commit is contained in:
abcdefg30
2015-06-22 20:53:45 +02:00
parent a4fd34558d
commit db0b20f5f8
2 changed files with 2 additions and 0 deletions

View File

@@ -263,6 +263,7 @@ TimerExpired = function()
SpawningInfantry = false
SpawnNavalUnits = false
Beacon.New(allies, SovietEntryPoint7.CenterPosition - WVec.New(3 * 1024, 0, 0))
Media.PlaySpeechNotification(allies, "AlliedReinforcementsArrived")
Reinforcements.Reinforce(allies, FrenchReinforcements, { SovietEntryPoint7.Location, Alliesbase.Location })

View File

@@ -151,6 +151,7 @@ end
SendFrenchReinforcements = function()
local camera = Actor.Create("camera", true, { Owner = allies, Location = SovietRally1.Location })
Beacon.New(allies, FranceEntry.CenterPosition - WVec.New(0, 3 * 1024, 0))
Media.PlaySpeechNotification(allies, "AlliedReinforcementsArrived")
Reinforcements.Reinforce(allies, FrenchSquad, { FranceEntry.Location, FranceRally.Location })
Trigger.AfterDelay(DateTime.Seconds(3), function() camera.Destroy() end)