Update missions for yaml-defined FMV playback
This commit is contained in:
@@ -22,16 +22,10 @@ end
|
||||
|
||||
MissionAccomplished = function()
|
||||
Media.PlaySpeechNotification(player, "Win")
|
||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
||||
Media.PlayMovieFullscreen("montpass.vqa")
|
||||
end)
|
||||
end
|
||||
|
||||
MissionFailed = function()
|
||||
Media.PlaySpeechNotification(player, "Lose")
|
||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
||||
Media.PlayMovieFullscreen("frozen.vqa")
|
||||
end)
|
||||
end
|
||||
|
||||
Tick = function()
|
||||
@@ -109,9 +103,7 @@ WorldLoaded = function()
|
||||
Trigger.OnPlayerLost(player, MissionFailed)
|
||||
Trigger.OnPlayerWon(player, MissionAccomplished)
|
||||
|
||||
Media.PlayMovieFullscreen("mcv.vqa", function()
|
||||
ConquestObjective = player.AddPrimaryObjective("Secure the area.")
|
||||
end)
|
||||
ConquestObjective = player.AddPrimaryObjective("Secure the area.")
|
||||
|
||||
Trigger.AfterDelay(DateTime.Seconds(1), function() Media.PlaySpeechNotification(allies, "MissionTimerInitialised") end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user