Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ORCondition.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
5 {
6  //------------------------------------------------------------------------------------------------
9  override bool IsAvailable(SCR_AvailableActionsConditionData data)
10  {
11  bool isOk = false;
12  foreach (auto subCondition : m_aConditions)
13  {
14  if (subCondition && subCondition.IsAvailable(data))
15  {
16  isOk = true;
17  break;
18  }
19  }
20 
21  return GetReturnResult(isOk);
22  }
23 };
SCR_AvailableActionsGroupCondition
Base for any condition containing multiple sub-conditions.
Definition: SCR_AvailableActionsGroupCondition.c:4
SCR_AvailableActionsConditionData
Definition: SCR_AvailableActionsConditionData.c:5
SCR_ORCondition
Checks all sub conditions and returns true if at least one condition returns true,...
Definition: SCR_ORCondition.c:4
data
Get all prefabs that have the spawner data
Definition: SCR_EntityCatalogManagerComponent.c:305
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition: SCR_AIGoalReaction.c:468