Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_HelicopterAutohoverCondition.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
5 {
6  //------------------------------------------------------------------------------------------------
7  override bool IsAvailable(SCR_AvailableActionsConditionData data)
8  {
9  if (!data)
10  return false;
11 
12  HelicopterControllerComponent controller = HelicopterControllerComponent.Cast(data.GetCurrentVehicleController());
13  if (!controller)
14  return false;
15 
16  return GetReturnResult(controller.GetAutohoverEnabled());
17  }
18 };
SCR_AvailableActionsConditionData
Definition: SCR_AvailableActionsConditionData.c:5
SCR_HelicopterAutohoverCondition
Returns true if autohover is on.
Definition: SCR_HelicopterAutohoverCondition.c:4
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