Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AIGroupAutonomyCheck.c
Go to the documentation of this file.
3{
4 protected SCR_AIGroupInfoComponent m_GroupInfo;
5
6 //------------------------------------------------------------------------------------------------
7 override bool CheckCondition(SCR_AIGroup group)
8 {
9 if (!super.CheckCondition(group))
10 return false;
11
12 if (!m_GroupInfo)
13 {
14 m_GroupInfo = SCR_AIGroupInfoComponent.Cast(group.FindComponent(SCR_AIGroupInfoComponent));
15 if (!m_GroupInfo)
16 return true;
17 }
18
19 if (m_GroupInfo.GetGroupControlMode() == EGroupControlMode.AUTONOMOUS)
20 return false;
21
22 return true;
23 }
24}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
override bool CheckCondition(SCR_AIGroup group)
SCR_AIGroupInfoComponent m_GroupInfo