Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_TutorialConflictCapture1.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  m_fDuration = 5;
13  m_bConditionPassCheck = true;
14 
15  if (!m_TutorialComponent)
16  return;
17 
18  m_TutorialComponent.StageReset_ResetSeizing();
19 
20  SCR_HintManagerComponent.HideHint();
21  SCR_HintManagerComponent.ClearLatestHint();
22  GetGame().GetCallqueue().CallLater(PlaySoundSystem, 2000, false, "Conflict_Start", false);
23  }
24 
25  //------------------------------------------------------------------------------------------------
26  override bool GetIsFinished()
27  {
28  return !m_TutorialComponent.GetVoiceSystem().IsPlaying();
29  }
30 };
SCR_BaseCampaignTutorialArlandStage
Definition: SCR_BaseCampaignTutorialArlandStage.c:7
m_fDuration
float m_fDuration
Definition: SendGoalMessage.c:437
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_TutorialConflictCapture1Class
Definition: SCR_TutorialConflictCapture1.c:2
SCR_BaseCampaignTutorialArlandStageClass
Definition: SCR_BaseCampaignTutorialArlandStage.c:2
SCR_TutorialConflictCapture1
Definition: SCR_TutorialConflictCapture1.c:7