Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_LastUsedInputDevice.c
Go to the documentation of this file.
3 {
4  [Attribute("0", UIWidgets.ComboBox, "Device type", "", ParamEnumArray.FromEnum(EInputDeviceType) )]
5  private EInputDeviceType m_eInputDeviceType;
6 
7  override bool IsAvailable(SCR_AvailableActionsConditionData data)
8  {
9  if (!data)
10  return false;
11 
12  return GetReturnResult(GetGame().GetInputManager().GetLastUsedInputDevice() == m_eInputDeviceType);
13  }
14 };
SCR_AvailableActionsConditionData
Definition: SCR_AvailableActionsConditionData.c:5
GetGame
ArmaReforgerScripted GetGame()
Definition: game.c:1424
SCR_LastUsedInputDevice
Definition: SCR_LastUsedInputDevice.c:2
SCR_AvailableActionCondition
A single available action condition representation.
Definition: SCR_AvailableActionsCondition.c:3
Attribute
typedef Attribute
Post-process effect of scripted camera.
GetInputManager
protected InputManager GetInputManager()
Definition: SCR_BaseManualCameraComponent.c:65
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