Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_TutorialConflictCapture15.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  PlaySoundSystem("Conflict_RadioPickup", true);
15  HintOnVoiceOver();
16 
17  GetGame().GetCallqueue().CallLater(DelayedPopup, 10000, false, "#AR-Tutorial_Popup_Title-UC", "#AR-Tutorial_Popup_Radios", 10, "", "", "", "");
18  SCR_InventoryStorageManagerComponent comp = SCR_InventoryStorageManagerComponent.Cast(m_Player.FindComponent(SCR_InventoryStorageManagerComponent));
19 
20  if (comp)
21  {
22  comp.m_OnItemAddedInvoker.Remove(m_TutorialComponent.CheckRadioPickup);
23  comp.m_OnItemAddedInvoker.Insert(m_TutorialComponent.CheckRadioPickup);
24  }
25  }
26 
27  //------------------------------------------------------------------------------------------------
28  override protected bool GetIsFinished()
29  {
30  return (m_TutorialComponent.GetPlayerRadio() != null);
31  }
32 };
SCR_BaseCampaignTutorialArlandStage
Definition: SCR_BaseCampaignTutorialArlandStage.c:7
SCR_TutorialConflictCapture15Class
Definition: SCR_TutorialConflictCapture15.c:2
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
m_Player
protected ChimeraCharacter m_Player
Definition: SCR_CampaignTutorialComponentArland.c:40
SCR_TutorialConflictCapture15
Definition: SCR_TutorialConflictCapture15.c:7
SCR_BaseCampaignTutorialArlandStageClass
Definition: SCR_BaseCampaignTutorialArlandStage.c:2
DelayedPopup
void DelayedPopup(string text="", string subtitle="", float duration=SCR_PopUpNotification.DEFAULT_DURATION, string param1="", string param2="", string subtitleParam1="", string subtitleParam2="")
Definition: SCR_CampaignTutorialComponentArland.c:1818