Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_TutorialConflictCapture10.c
Go to the documentation of this file.
1 [EntityEditorProps(insertable: false)]
3 {
4 };
5 
6 //------------------------------------------------------------------------------------------------
8 {
9  Vehicle m_MHQ;
10  //------------------------------------------------------------------------------------------------
11  override protected void Setup()
12  {
13  RegisterWaypoint("MobileHQ");
14 
15  m_fWaypointHeightOffset = 5;
16  m_bCheckWaypoint = false;
17 
18  SCR_HintManagerComponent.HideHint();
19  SCR_HintManagerComponent.ClearLatestHint();
20  PlaySoundSystem("Conflict_ExpandRangeMCU");
21  HintOnVoiceOver();
22 
23  m_MHQ = Vehicle.Cast(GetGame().GetWorld().FindEntityByName("MobileHQ"));
24  }
25 
26  //------------------------------------------------------------------------------------------------
27  override protected bool GetIsFinished()
28  {
29  if (!m_MHQ)
30  return false;
31 
32  return m_MHQ.GetPilot() == m_Player;
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
FindEntityByName
IEntity FindEntityByName(string name)
Definition: SCR_ScenarioFrameworkActionsGetters.c:40
m_Player
protected ChimeraCharacter m_Player
Definition: SCR_CampaignTutorialComponentArland.c:40
SCR_TutorialConflictCapture10Class
Definition: SCR_TutorialConflictCapture10.c:2
SCR_TutorialConflictCapture10
Definition: SCR_TutorialConflictCapture10.c:7
SCR_BaseCampaignTutorialArlandStageClass
Definition: SCR_BaseCampaignTutorialArlandStage.c:2