mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
17 lines
329 B
Plaintext
17 lines
329 B
Plaintext
// by commy2
|
|
|
|
private "_key";
|
|
|
|
_key = _this select 1;
|
|
|
|
if (_key in [28, 57, 156, 200, 208, 203, 205, 201, 209]) exitWith {true};
|
|
|
|
_index = AGM_Interaction_Shortcuts find _key;
|
|
|
|
if (_index != -1 && {ctrlEnabled (findDisplay 1713999 displayCtrl (_index + 10))}) exitWith {
|
|
_index call AGM_Interaction_fnc_onClick;
|
|
true
|
|
};
|
|
|
|
false
|