Update missions for yaml-defined FMV playback
This commit is contained in:
@@ -46,27 +46,16 @@ WorldLoaded = function()
|
||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective failed")
|
||||
end)
|
||||
|
||||
Media.PlayMovieFullscreen("flare.vqa", function()
|
||||
CivilProtectionObjective = france.AddPrimaryObjective("Protect the civilians.")
|
||||
VillageRaidObjective = player.AddPrimaryObjective("Raze the village.")
|
||||
JeepDemolishingBridge()
|
||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
||||
Media.PlaySpeechNotification(player, "StartGame")
|
||||
end)
|
||||
end)
|
||||
CivilProtectionObjective = france.AddPrimaryObjective("Protect the civilians.")
|
||||
VillageRaidObjective = player.AddPrimaryObjective("Raze the village.")
|
||||
JeepDemolishingBridge()
|
||||
|
||||
Trigger.OnPlayerWon(player, function()
|
||||
Media.PlaySpeechNotification(player, "Win")
|
||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
||||
Media.PlayMovieFullscreen("snstrafe.vqa")
|
||||
end)
|
||||
end)
|
||||
|
||||
Trigger.OnPlayerLost(player, function()
|
||||
Media.PlaySpeechNotification(player, "Lose")
|
||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
||||
Media.PlayMovieFullscreen("sfrozen.vqa")
|
||||
end)
|
||||
end)
|
||||
|
||||
Trigger.AfterDelay(DateTime.Seconds(2), InsertYaks)
|
||||
|
||||
Reference in New Issue
Block a user