Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
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}
EHint
Definition EHint.c:11
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
void OnHintHide(SCR_HintUIInfo info, bool isSilent)
SCR_FieldOfViewSettings Attribute