Fix reinforcements in Nod06a not playing a notification

This commit is contained in:
abcdefg30
2017-11-14 11:33:53 +01:00
committed by reaperrr
parent f35f6c0813
commit 2836cec0a3

View File

@@ -106,6 +106,7 @@ end
Obj2TriggerFunction = function()
player.MarkCompletedObjective(NodObjective2)
Media.PlaySpeechNotification(player, "Reinforce")
Reinforcements.Reinforce(player, Obj2Units, { Obj2UnitsEntry.Location, waypoint13.Location }, 15)
end
@@ -129,7 +130,7 @@ end
WorldLoaded = function()
player = Player.GetPlayer("Nod")
enemy = Player.GetPlayer("GDI")
Trigger.OnObjectiveAdded(player, function(p, id)
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
end)