Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_HintConditionList.c
Go to the documentation of this file.
1[BaseContainerProps(configRoot: true)]
3{
4 [Attribute()]
5 protected ref array<ref SCR_BaseHintCondition> m_aConditions;
6
7 //------------------------------------------------------------------------------------------------
10 void Init(IEntity owner)
11 {
12 SCR_HintManagerComponent hintManager = SCR_HintManagerComponent.GetInstance();
13 if (!hintManager)
14 return;
15
16 for (int i, count = m_aConditions.Count(); i < count; i++)
17 {
18 m_aConditions[i].InitCondition(owner, hintManager);
19 }
20 }
21
22 //------------------------------------------------------------------------------------------------
25 void Exit(IEntity owner)
26 {
27 SCR_HintManagerComponent hintManager = SCR_HintManagerComponent.GetInstance();
28 if (!hintManager)
29 return;
30
31 for (int i, count = m_aConditions.Count(); i < count; i++)
32 {
33 m_aConditions[i].ExitCondition(owner, hintManager);
34 }
35 }
36}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
ref array< ref SCR_BaseHintCondition > m_aConditions
SCR_FieldOfViewSettings Attribute