Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_TutorialNavigation18.c
Go to the documentation of this file.
1 [EntityEditorProps(insertable: false)]
3 {
4 };
5 
6 //------------------------------------------------------------------------------------------------
8 {
9  IEntity m_Waypoint;
10  //------------------------------------------------------------------------------------------------
11  override protected void Setup()
12  {
13  SCR_HintManagerComponent.HideHint();
14  SCR_HintManagerComponent.ClearLatestHint();
15 
16  m_Waypoint = GetGame().GetWorld().FindEntityByName("WP_GREENHOUSE");
17  if (!m_Waypoint)
18  return;
19 
20  m_bShowWaypoint = false;
21 
22  SCR_MapDescriptorComponent descriptor = SCR_MapDescriptorComponent.Cast(m_Waypoint.FindComponent(SCR_MapDescriptorComponent));
23  descriptor.Item().SetVisible(true);
24 
25  RegisterWaypoint(m_Waypoint);
26 
27  m_fWaypointCompletionRadius = 50;
28 
29  PlaySoundSystem("Navigation_OrientationCarGetIn", true);
30  HintOnVoiceOver();
31  }
32 };
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
SCR_TutorialNavigation18
Definition: SCR_TutorialNavigation18.c:7
SCR_TutorialNavigation18Class
Definition: SCR_TutorialNavigation18.c:2
m_Waypoint
protected AIWaypoint m_Waypoint
Definition: SCR_AmbientPatrolSpawnPointComponent.c:48
SCR_BaseCampaignTutorialArlandStageClass
Definition: SCR_BaseCampaignTutorialArlandStage.c:2