Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_TutorialConflictCapture16.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  PlaySoundSystem("Conflict_RadioInfo");
15  HintOnVoiceOver();
16  }
17 
18  //------------------------------------------------------------------------------------------------
19  override protected bool GetIsFinished()
20  {
21  BaseRadioComponent radioComp = m_TutorialComponent.GetPlayerRadio();
22  if (!radioComp)
23  return false;
24 
25  BaseTransceiver tsv = radioComp.GetTransceiver(0);
26  if (!tsv)
27  return false;
28 
29  return tsv.GetFrequency() == DESIRED_FREQUENCY;
30  }
31 };
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_TutorialConflictCapture16Class
Definition: SCR_TutorialConflictCapture16.c:2
BaseTransceiver
Definition: BaseTransceiver.c:12
SCR_BaseCampaignTutorialArlandStageClass
Definition: SCR_BaseCampaignTutorialArlandStage.c:2
SCR_TutorialConflictCapture16
Definition: SCR_TutorialConflictCapture16.c:7