Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CharacterHasWeaponCondition.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
5 {
6  //------------------------------------------------------------------------------------------------
9  override bool IsAvailable(SCR_AvailableActionsConditionData data)
10  {
11  if (!data)
12  return false;
13 
14  bool result = data.GetCurrentWeaponEntity() != null;
15  return GetReturnResult(result);
16  }
17 };
SCR_CharacterHasWeaponCondition
Returns true if character has weapon equipped.
Definition: SCR_CharacterHasWeaponCondition.c:4
SCR_AvailableActionsConditionData
Definition: SCR_AvailableActionsConditionData.c:5
SCR_AvailableActionCondition
A single available action condition representation.
Definition: SCR_AvailableActionsCondition.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