Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CharacterBleedingCondition.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
5 {
6  [Attribute("0", UIWidgets.EditBox, "Minimum bleeding time to activate this hint", "")]
7  private float m_fValue;
8 
9  //------------------------------------------------------------------------------------------------
10  override bool IsAvailable(SCR_AvailableActionsConditionData data)
11  {
12  if (!data)
13  return false;
14 
15  bool result = data.GetIsCharacterBleeding() && data.GetCharacterBleedingTime() > m_fValue;
16  return GetReturnResult(result);
17  }
18 };
SCR_CharacterBleedingCondition
Returns true if character is bleeding for ceratain time.
Definition: SCR_CharacterBleedingCondition.c:4
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.
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