Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_LastUsedInputDevice.c
Go to the documentation of this file.
3{
4 [Attribute(defvalue: EInputDeviceType.KEYBOARD.ToString(), desc: "Input Device Type", uiwidget: UIWidgets.ComboBox, enumType: EInputDeviceType)]
5 private EInputDeviceType m_eInputDeviceType;
6
7 //------------------------------------------------------------------------------------------------
8 override bool IsAvailable(notnull SCR_AvailableActionsConditionData data)
9 {
10 return GetReturnResult(GetGame().GetInputManager().GetLastUsedInputDevice() == m_eInputDeviceType);
11 }
12}
ArmaReforgerScripted GetGame()
Definition game.c:1398
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
InputManager GetInputManager()
Get all prefabs that have the spawner data
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
A single available action condition representation.
SCR_FieldOfViewSettings Attribute