Standardize usage of AddObjective in RA missions
This commit is contained in:
@@ -183,11 +183,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.")
|
||||
FindAllies = player.AddSecondaryObjective("Find our lost tanks.")
|
||||
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.")
|
||||
FindAllies = player.AddObjective("Find our lost tanks.", "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