Standardize usage of AddObjective in RA missions

This commit is contained in:
Smittytron
2021-03-27 12:05:09 -05:00
committed by abcdefg30
parent 26fbcf6076
commit 0d3c624bbc
33 changed files with 148 additions and 148 deletions

View File

@@ -141,7 +141,7 @@ InfiltrateTechCenter = function()
return
end
infiltrated = true
DestroySovietsObj = player.AddPrimaryObjective("Destroy all Soviet buildings and units in the area.")
DestroySovietsObj = player.AddObjective("Destroy all Soviet buildings and units in the area.")
player.MarkCompletedObjective(InfiltrateTechCenterObj)
local Proxy = Actor.Create("powerproxy.paratroopers", false, { Owner = ussr })
@@ -198,8 +198,8 @@ WorldLoaded = function()
Media.PlaySpeechNotification(player, "MissionAccomplished")
end)
InfiltrateTechCenterObj = player.AddPrimaryObjective("Infiltrate one of the Soviet tech centers with a spy.")
CaptureRadarDomeObj = player.AddSecondaryObjective("Capture the Radar Dome at the shore.")
InfiltrateTechCenterObj = player.AddObjective("Infiltrate one of the Soviet tech centers with a spy.")
CaptureRadarDomeObj = player.AddObjective("Capture the Radar Dome at the shore.", "Secondary", false)
Camera.Position = DefaultCameraPosition.CenterPosition