Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_TutorialConflictCapture3.c
Go to the documentation of this file.
1 [EntityEditorProps(insertable: false)]
3 {
4 };
5 
6 //------------------------------------------------------------------------------------------------
8 {
9  protected bool m_bTaskMenuOpened;
10  //------------------------------------------------------------------------------------------------
11  override protected void Setup()
12  {
13  m_fWaypointCompletionRadius = 5;
14 
15  SCR_HintManagerComponent.HideHint();
16  SCR_HintManagerComponent.ClearLatestHint();
17  SCR_HintManagerComponent.ShowHint(m_TutorialHintList.GetHint(m_TutorialComponent.GetStage()));
18 
19  GetGame().GetInputManager().AddActionListener("TasksOpen", EActionTrigger.DOWN, RegisterTasksShown);
20  }
21 
22  //------------------------------------------------------------------------------------------------
23  override protected bool GetIsFinished()
24  {
25  return m_bTaskMenuOpened;
26  }
27 
28  //------------------------------------------------------------------------------------------------
29  void RegisterTasksShown()
30  {
31  m_bTaskMenuOpened = true;
32  GetGame().GetInputManager().RemoveActionListener("TasksOpen", EActionTrigger.DOWN, RegisterTasksShown);
33  }
34 };
SCR_BaseCampaignTutorialArlandStage
Definition: SCR_BaseCampaignTutorialArlandStage.c:7
EntityEditorProps
enum EQueryType EntityEditorProps(category:"GameScripted/Sound", description:"THIS IS THE SCRIPT DESCRIPTION.", color:"0 0 255 255")
Definition: SCR_AmbientSoundsComponent.c:12
GetGame
ArmaReforgerScripted GetGame()
Definition: game.c:1424
SCR_BaseCampaignTutorialArlandStageClass
Definition: SCR_BaseCampaignTutorialArlandStage.c:2
SCR_TutorialConflictCapture3
Definition: SCR_TutorialConflictCapture3.c:7
SCR_TutorialConflictCapture3Class
Definition: SCR_TutorialConflictCapture3.c:2