Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CampaignTutorialArlandDrivingAdvanced2.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  RegisterWaypoint("Hummer");
13  m_TutorialComponent.SetWaypointMiscImage("GETIN", true);
14 
15  if (!m_TutorialComponent.GetVoiceSystem().IsPlaying())
16  PlaySoundSystem("GetInHmw", true);
17  else
18  GetGame().GetCallqueue().CallLater(PlaySoundSystem, 1000, false, "GetInHmw", true);
19 
20  m_fWaypointCompletionRadius = 10;
21 
22  }
23 
24  //------------------------------------------------------------------------------------------------
25  override protected bool GetIsFinished()
26  {
27  if (!m_TutorialComponent.GetVoiceSystem().IsPlaying())
28  {
29  SCR_HintManagerComponent.ShowHint(m_TutorialHintList.GetHint(m_TutorialComponent.GetStage()));
30  }
31  return m_Player.IsInVehicle() && !m_TutorialComponent.GetVoiceSystem().IsPlaying();
32  }
33 };
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_CampaignTutorialArlandDrivingAdvanced2Class
Definition: SCR_CampaignTutorialArlandDrivingAdvanced2.c:2
GetGame
ArmaReforgerScripted GetGame()
Definition: game.c:1424
SCR_CampaignTutorialArlandDrivingAdvanced2
Definition: SCR_CampaignTutorialArlandDrivingAdvanced2.c:7
m_Player
protected ChimeraCharacter m_Player
Definition: SCR_CampaignTutorialComponentArland.c:40
SCR_BaseCampaignTutorialArlandStageClass
Definition: SCR_BaseCampaignTutorialArlandStage.c:2