Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_SequenceHintCondition.c
Go to the documentation of this file.
1 [BaseContainerProps(), SCR_BaseContainerHintCondition()]
3 {
4  [Attribute("0", UIWidgets.SearchComboBox, "", enums: ParamEnumArray.FromEnum(EHint))]
5  protected EHint m_Type;
6 
7  //------------------------------------------------------------------------------------------------
8  protected void OnHintHide(SCR_HintUIInfo info, bool isSilent)
9  {
10  if (info && info.GetType() == m_Type)
11  Activate();
12  }
13 
14  //------------------------------------------------------------------------------------------------
15  override protected void OnInitCondition(Managed owner)
16  {
17  SCR_HintManagerComponent hintManager = SCR_HintManagerComponent.GetInstance();
18  if (hintManager)
19  hintManager.GetOnHintHide().Insert(OnHintHide);
20  }
21 
22  //------------------------------------------------------------------------------------------------
23  override protected void OnExitCondition(Managed owner)
24  {
25  SCR_HintManagerComponent hintManager = SCR_HintManagerComponent.GetInstance();
26  if (hintManager)
27  hintManager.GetOnHintHide().Remove(OnHintHide);
28  }
29 }
SCR_BaseHintCondition
Definition: SCR_BaseHintCondition.c:2
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_HintUIInfo
Definition: SCR_HintUIInfo.c:2
m_Type
protected EEditableEntityType m_Type
Definition: SCR_EntitiesToolbarEditorUIComponent.c:3
SCR_SequenceHintCondition
Definition: SCR_SequenceHintCondition.c:2
Activate
protected void Activate()
Definition: SCR_BaseHintCondition.c:9
EHint
EHint
Definition: EHint.c:10
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition: SCR_AIGoalReaction.c:468