diff --git a/Assets/UdonSharp/Game Managers/GameManagerRound1.cs b/Assets/UdonSharp/Game Managers/GameManagerRound1.cs index 6e7c7fa..370ed59 100644 --- a/Assets/UdonSharp/Game Managers/GameManagerRound1.cs +++ b/Assets/UdonSharp/Game Managers/GameManagerRound1.cs @@ -967,7 +967,9 @@ public class GameManagerRound1 : GameManagerBase if (_QuestionSubstage >= CluesList.Count) { _QuestionSubstage = 0; - EnableInteraction("End The Chase"); + + SendCustomEventDelayedSeconds(nameof(_TheChase_AdvanceToNextQuestion), 2.0f); + DisableInteraction(); return; } @@ -1065,6 +1067,10 @@ public class GameManagerRound1 : GameManagerBase _AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All, "PlaySFXAtPitch", SFXEventType.Ding, AudioManager.D6); } + public void _TheChase_AdvanceToNextQuestion() + { + AdvanceToNextQuestion(); + } private void IntroduceFinalRound() @@ -1083,6 +1089,13 @@ public class GameManagerRound1 : GameManagerBase LoadMapsIntoQueue(); + DataDictionary Presentation = _CurrentQuestion["Presentation"].DataDictionary; + if (Presentation.ContainsKey("Videos")) + { + DataList Videos = Presentation["Videos"].DataList; + _VideoPlayer.SetVideoIndex((int)Videos[_QuestionSubstage].Number); + } + EnableInteraction("Show Map Preview"); } @@ -1847,7 +1860,6 @@ public class GameManagerRound1 : GameManagerBase case 2: MultipleChoiceRevealChoice1(); break; case 3: MultipleChoiceRevealChoice2(); break; case 4: MultipleChoiceRevealChoice3(); break; - //case 5: MultipleChoiceLockAnswers(); break; case 5: MultipleChoiceFocusOnPlayer(1); break; case 6: MultipleChoiceFocusOnPlayer(2); break; case 7: MultipleChoiceFocusOnPlayer(3); break;