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

@@ -180,7 +180,7 @@ SendTrucks = function()
DateTime.TimeLimit = 0
UserInterface.SetMissionText("")
ConvoyObjective = player.AddPrimaryObjective("Escort the convoy.")
ConvoyObjective = player.AddObjective("Escort the convoy.")
Media.PlaySpeechNotification(player, "ConvoyApproaching")
Trigger.AfterDelay(DateTime.Seconds(3), function()
@@ -234,10 +234,10 @@ WorldLoaded = function()
Media.PlaySpeechNotification(player, "MissionAccomplished")
end)
ussrObj = ussr.AddPrimaryObjective("Deny the allies!")
ussrObj = ussr.AddObjective("Deny the allies!")
SecureObjective = player.AddPrimaryObjective("Secure the convoy's path.")
ConquestObjective = player.AddPrimaryObjective("Eliminate the entire soviet presence in this area.")
SecureObjective = player.AddObjective("Secure the convoy's path.")
ConquestObjective = player.AddObjective("Eliminate the entire soviet presence in this area.")
Trigger.AfterDelay(DateTime.Seconds(1), function() Media.PlaySpeechNotification(allies, "MissionTimerInitialised") end)