Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_TutorialNavigation1.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_fDuration = 5;
16  m_bConditionPassCheck = true;
17 
18  m_TutorialComponent.SpawnAsset("Navigation_car", "{5674FAEB9AB7BDD0}Prefabs/Vehicles/Wheeled/M998/M998.et");
19 
20  GetGame().GetCallqueue().CallLater(PlaySoundSystem, 2000, false, "Navigation_Start", false);
21  }
22 
23  //------------------------------------------------------------------------------------------------
24  override bool GetIsFinished()
25  {
26  return !m_TutorialComponent.GetVoiceSystem().IsPlaying();
27  }
28 };
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_TutorialNavigation1Class
Definition: SCR_TutorialNavigation1.c:2
SCR_TutorialNavigation1
Definition: SCR_TutorialNavigation1.c:7
SCR_BaseCampaignTutorialArlandStageClass
Definition: SCR_BaseCampaignTutorialArlandStage.c:2