Use the new Beacon function in survival 01 and 02
This commit is contained in:
@@ -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 })
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user