Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AvailableActionsCondition.c
Go to the documentation of this file.
4 {
5  [Attribute("1", UIWidgets.CheckBox)]
6  protected bool m_bEnabled;
7 
8  [Attribute("0", UIWidgets.CheckBox)]
9  protected bool m_bNegateCondition;
10 
11  //------------------------------------------------------------------------------------------------
14  bool IsEnabled()
15  {
16  return m_bEnabled;
17  }
18 
19  //------------------------------------------------------------------------------------------------
22  protected bool GetReturnResult(bool desiredResult)
23  {
24  if (m_bNegateCondition)
25  return !desiredResult;
26 
27  return desiredResult;
28  }
29 
30  //------------------------------------------------------------------------------------------------
35  bool IsAvailable(SCR_AvailableActionsConditionData data)
36  {
37  return GetReturnResult(true);
38  }
39 }
SCR_AvailableActionsConditionData
Definition: SCR_AvailableActionsConditionData.c:5
SCR_AvailableActionCondition
A single available action condition representation.
Definition: SCR_AvailableActionsCondition.c:3
Attribute
typedef Attribute
Post-process effect of scripted camera.
m_bEnabled
private bool m_bEnabled
Definition: SCR_BaseManualCameraComponent.c:3
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