Auxiliary map screens now show during The Chase, and disappear on podium reset.
This commit is contained in:
parent
e4b901a172
commit
ccd73c5895
@ -56,13 +56,6 @@ public class GameManagerRound1 : GameManagerBase
|
|||||||
_QuestionIndex = 0;
|
_QuestionIndex = 0;
|
||||||
_QuestionStage = 0;
|
_QuestionStage = 0;
|
||||||
|
|
||||||
for (int i = 0; i < _PlayerPodiums.Length; i++)
|
|
||||||
{
|
|
||||||
_PlayerPodiums[i].SendCustomNetworkEvent(NetworkEventTarget.All, "ResetPodium");
|
|
||||||
_PlayerPodiums[i].SendCustomNetworkEvent(NetworkEventTarget.All, "ShowAuxiliaryVideoScreen", false);
|
|
||||||
_PlayerPodiums[i].SendCustomNetworkEvent(NetworkEventTarget.All, "ShowAuxiliaryMapScreen", false);
|
|
||||||
}
|
|
||||||
|
|
||||||
_PlayerBuzzInAllowed = new bool[_PlayerPodiums.Length];
|
_PlayerBuzzInAllowed = new bool[_PlayerPodiums.Length];
|
||||||
|
|
||||||
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All, "PlayMusic", MusicEventType.WhereInTheWorld);
|
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All, "PlayMusic", MusicEventType.WhereInTheWorld);
|
||||||
@ -625,6 +618,11 @@ public class GameManagerRound1 : GameManagerBase
|
|||||||
|
|
||||||
private void TheChaseCluesLoop()
|
private void TheChaseCluesLoop()
|
||||||
{
|
{
|
||||||
|
for (int i = 0; i < _PlayerPodiums.Length; i++)
|
||||||
|
{
|
||||||
|
_PlayerPodiums[i].SendCustomNetworkEvent(NetworkEventTarget.Owner, "ShowAuxiliaryMapScreen", true);
|
||||||
|
}
|
||||||
|
|
||||||
DataList CluesList = _CurrentQuestion["Clues"].DataList;
|
DataList CluesList = _CurrentQuestion["Clues"].DataList;
|
||||||
if (_QuestionSubstage >= CluesList.Count)
|
if (_QuestionSubstage >= CluesList.Count)
|
||||||
{
|
{
|
||||||
@ -753,6 +751,11 @@ public class GameManagerRound1 : GameManagerBase
|
|||||||
}
|
}
|
||||||
public void ThinkAboutItCountdownFinished()
|
public void ThinkAboutItCountdownFinished()
|
||||||
{
|
{
|
||||||
|
for (int i = 0; i < _PlayerPodiums.Length; i++)
|
||||||
|
{
|
||||||
|
_PlayerPodiums[i].SendCustomNetworkEvent(NetworkEventTarget.Owner, "ShowAuxiliaryMapScreen", false);
|
||||||
|
}
|
||||||
|
|
||||||
HostCardMultipleChoiceInterface Interface =
|
HostCardMultipleChoiceInterface Interface =
|
||||||
(HostCardMultipleChoiceInterface)GetHostCardInterface(RoundSegmentType.FinalRound);
|
(HostCardMultipleChoiceInterface)GetHostCardInterface(RoundSegmentType.FinalRound);
|
||||||
|
|
||||||
@ -1028,11 +1031,6 @@ public class GameManagerRound1 : GameManagerBase
|
|||||||
DisableRiskCards();
|
DisableRiskCards();
|
||||||
DisableBuzzers();
|
DisableBuzzers();
|
||||||
|
|
||||||
for (int i = 0; i < _PlayerPodiums.Length; i++)
|
|
||||||
{
|
|
||||||
_PlayerPodiums[i].SendCustomNetworkEvent(NetworkEventTarget.Owner, "ShowAuxiliaryMapScreen", false);
|
|
||||||
}
|
|
||||||
|
|
||||||
_VideoPlayer.SendCustomNetworkEvent(NetworkEventTarget.All, "ClearScreen");
|
_VideoPlayer.SendCustomNetworkEvent(NetworkEventTarget.All, "ClearScreen");
|
||||||
|
|
||||||
_QuestionIndex++;
|
_QuestionIndex++;
|
||||||
@ -1070,6 +1068,11 @@ public class GameManagerRound1 : GameManagerBase
|
|||||||
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All,
|
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All,
|
||||||
"PlayMusicLoop", MusicEventType.CapitalLoop);
|
"PlayMusicLoop", MusicEventType.CapitalLoop);
|
||||||
|
|
||||||
|
for (int i = 0; i < _PlayerPodiums.Length; i++)
|
||||||
|
{
|
||||||
|
_PlayerPodiums[i].SendCustomNetworkEvent(NetworkEventTarget.All, "ResetPodium");
|
||||||
|
}
|
||||||
|
|
||||||
_CaseManager.ContinueToRound2();
|
_CaseManager.ContinueToRound2();
|
||||||
|
|
||||||
EnableInteraction("End Game");
|
EnableInteraction("End Game");
|
||||||
|
|||||||
@ -87,6 +87,9 @@ public class PlayerPodium : UdonSharpBehaviour
|
|||||||
EnableChoiceCards(false);
|
EnableChoiceCards(false);
|
||||||
EnableBuzzer(false);
|
EnableBuzzer(false);
|
||||||
EnableBuzzInEffect(false);
|
EnableBuzzInEffect(false);
|
||||||
|
ShowAuxiliaryVideoScreen(false);
|
||||||
|
ShowAuxiliaryMapScreen(false);
|
||||||
|
|
||||||
PlayerScore = 50;
|
PlayerScore = 50;
|
||||||
ShowScoreCard = false;
|
ShowScoreCard = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user