From f16f9b8ae3de3726219a13d92b04eb887e12263d Mon Sep 17 00:00:00 2001 From: Arular101 Date: Fri, 10 Nov 2017 15:01:01 +0100 Subject: [PATCH] Allies06a Radar Reveal Added beacon and message --- mods/ra/maps/allies-06a/allies06a.lua | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/mods/ra/maps/allies-06a/allies06a.lua b/mods/ra/maps/allies-06a/allies06a.lua index 9092b15e54..f3e61221ef 100644 --- a/mods/ra/maps/allies-06a/allies06a.lua +++ b/mods/ra/maps/allies-06a/allies06a.lua @@ -115,6 +115,19 @@ CaptureRadarDome = function() Trigger.OnCapture(Radar, function() player.MarkCompletedObjective(CaptureRadarDomeObj) + Beacon.New(player, TechLab1.CenterPosition) + Beacon.New(player, TechLab2.CenterPosition) + Beacon.New(player, TechLab3.CenterPosition) + Media.DisplayMessage("Coordinates of the Soviet tech centers discovered.") + if Map.LobbyOption("difficulty") ~= "hard" then + Utils.Do(TechLabCams, function(a) + Actor.Create("TECH.CAM", true, { Owner = player, Location = a.Location }) + end) + + if Map.LobbyOption("difficulty") == "easy" then + Actor.Create("Camera", true, { Owner = player, Location = Weapcam.Location }) + end + end end) end @@ -202,16 +215,6 @@ WorldLoaded = function() Camera.Position = DefaultCameraPosition.CenterPosition - if Map.LobbyOption("difficulty") ~= "hard" then - Utils.Do(TechLabCams, function(a) - Actor.Create("TECH.CAM", true, { Owner = player, Location = a.Location }) - end) - - if Map.LobbyOption("difficulty") == "easy" then - Actor.Create("Camera", true, { Owner = player, Location = Weapcam.Location }) - end - end - Utils.Do(BadGuys, function(a) a.AttackMove(MCVStopLocation.Location) end)