Fix reinforcements in Nod06a not playing a notification
This commit is contained in:
@@ -106,6 +106,7 @@ end
|
|||||||
|
|
||||||
Obj2TriggerFunction = function()
|
Obj2TriggerFunction = function()
|
||||||
player.MarkCompletedObjective(NodObjective2)
|
player.MarkCompletedObjective(NodObjective2)
|
||||||
|
Media.PlaySpeechNotification(player, "Reinforce")
|
||||||
Reinforcements.Reinforce(player, Obj2Units, { Obj2UnitsEntry.Location, waypoint13.Location }, 15)
|
Reinforcements.Reinforce(player, Obj2Units, { Obj2UnitsEntry.Location, waypoint13.Location }, 15)
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -129,7 +130,7 @@ end
|
|||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
player = Player.GetPlayer("Nod")
|
player = Player.GetPlayer("Nod")
|
||||||
enemy = Player.GetPlayer("GDI")
|
enemy = Player.GetPlayer("GDI")
|
||||||
|
|
||||||
Trigger.OnObjectiveAdded(player, function(p, id)
|
Trigger.OnObjectiveAdded(player, function(p, id)
|
||||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
|
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user