Standardize usage of AddObjective in RA missions
This commit is contained in:
@@ -119,11 +119,11 @@ InitObjectives = function()
|
||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
|
||||
end)
|
||||
|
||||
KillBridges = player.AddPrimaryObjective("Destroy all bridges.")
|
||||
TanyaSurvive = player.AddPrimaryObjective("Tanya must survive.")
|
||||
KillUSSR = player.AddSecondaryObjective("Destroy all Soviet oil pumps.")
|
||||
FreePrisoners = player.AddSecondaryObjective("Free all Allied soldiers and keep them alive.")
|
||||
ussr.AddPrimaryObjective("Bridges must not be destroyed.")
|
||||
KillBridges = player.AddObjective("Destroy all bridges.")
|
||||
TanyaSurvive = player.AddObjective("Tanya must survive.")
|
||||
KillUSSR = player.AddObjective("Destroy all Soviet oil pumps.", "Secondary", false)
|
||||
FreePrisoners = player.AddObjective("Free all Allied soldiers and keep them alive.", "Secondary", false)
|
||||
ussr.AddObjective("Bridges must not be destroyed.")
|
||||
|
||||
Trigger.OnObjectiveCompleted(player, function(p, id)
|
||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective completed")
|
||||
|
||||
Reference in New Issue
Block a user