12 override protected void Setup()
14 SCR_HintManagerComponent.HideHint();
15 SCR_HintManagerComponent.ClearLatestHint();
25 mapMarkersUI.GetOnCustomMarkerPlaced().Insert(MarkerPlaced);
27 PlaySoundSystem(
"Navigation_OrientationLocationMarker");
32 protected void UpdateHint()
36 if (m_iPlacedMarkers >= 5 && m_iPlacedMarkers < 10)
39 m_TutorialComponent.ShowMapDescriptor(
"LighthousePos",
true);
42 if (m_iPlacedMarkers >= 10 && m_iPlacedMarkers < 15)
45 m_TutorialComponent.ShowMapDescriptor(
"ChurchPos",
true);
48 if (m_iPlacedMarkers >= 15 && m_iPlacedMarkers < 20)
51 m_TutorialComponent.ShowMapDescriptor(
"TowerPos",
true);
54 if (m_iPlacedMarkers >= 20)
57 m_TutorialComponent.ShowMapDescriptor(
"NavigationPos",
true)
60 SCR_HintManagerComponent.ShowHint(m_TutorialHintList.GetHint(m_TutorialComponent.GetStage(), text));
64 protected void MarkerPlaced(
int posX,
int posY,
bool isLocal)
73 if (m_iPlacedMarkers == 5)
76 if (m_iPlacedMarkers == 10)
80 invoker.Insert(UpdateHint);
82 PlaySoundSystem(
"Navigation_OrientationStruggle2",
true);
85 if (m_iPlacedMarkers == 15)
86 PlaySoundSystem(
"Navigation_OrientationStruggle3");
88 if (m_iPlacedMarkers == 20)
90 PlaySoundSystem(
"Navigation_OrientationStruggle4",
true);
93 m_bPositionFound =
true;
102 m_bPositionFound =
true;
106 override protected bool GetIsFinished()
108 return m_bPositionFound;
119 invoker.Remove(UpdateHint);