Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ORCondition.c
Go to the documentation of this file.
1
4{
5 //------------------------------------------------------------------------------------------------
8 override bool IsAvailable(notnull SCR_AvailableActionsConditionData data)
9 {
10 bool isOk = false;
11 foreach (auto subCondition : m_aConditions)
12 {
13 if (subCondition && subCondition.IsAvailable(data))
14 {
15 isOk = true;
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
Base for any condition containing multiple sub-conditions.
ref array< ref SCR_AvailableActionCondition > m_aConditions
Checks all sub conditions and returns true if at least one condition returns true,...