Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_TutorialNavigation10.c
Go to the documentation of this file.
1 [EntityEditorProps(insertable: false)]
3 {
4 };
5 
6 //------------------------------------------------------------------------------------------------
8 {
9  //------------------------------------------------------------------------------------------------
10  override protected void Setup()
11  {
12  SCR_HintManagerComponent.HideHint();
13  SCR_HintManagerComponent.ClearLatestHint();
14 
15  m_fConditionCheckPeriod = 1;
16 
17  PlaySoundSystem("Navigation_CompassNorth", true);
18  HintOnVoiceOver();
19  }
20 
21  //------------------------------------------------------------------------------------------------
22  override protected bool GetIsFinished()
23  {
24  float angle = Math.RAD2DEG * m_Player.GetCharacterController().GetInputContext().GetAimingAngles()[0];
25  return (Math.AbsFloat(angle) < 3);
26  }
27 };
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
SCR_TutorialNavigation10Class
Definition: SCR_TutorialNavigation10.c:2
m_Player
protected ChimeraCharacter m_Player
Definition: SCR_CampaignTutorialComponentArland.c:40
SCR_TutorialNavigation10
Definition: SCR_TutorialNavigation10.c:7
SCR_BaseCampaignTutorialArlandStageClass
Definition: SCR_BaseCampaignTutorialArlandStage.c:2