Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ANDCondition.c
Go to the documentation of this file.
1
4{
5 //------------------------------------------------------------------------------------------------
8 override bool IsAvailable(notnull SCR_AvailableActionsConditionData data)
9 {
10 bool isOk = true;
11 foreach (auto subCondition : m_aConditions)
12 {
13 if (subCondition && !subCondition.IsAvailable(data))
14 {
15 isOk = false;
16 break;
17 }
18 }
19
20 return GetReturnResult(isOk);
21 }
22}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Get all prefabs that have the spawner data
Checks all sub conditions and returns true if all conditions return true, false otherwise.
Base for any condition containing multiple sub-conditions.
ref array< ref SCR_AvailableActionCondition > m_aConditions