From 783180550a81d68a3cc74325400af7e17ae5b15e Mon Sep 17 00:00:00 2001
From: Will/KJW <100206101+SpicyBagpipes@users.noreply.github.com>
Date: Mon, 4 May 2026 15:09:38 +0100
Subject: [PATCH 1/7] Add checkbox setting for enableISR in XEH_preInit
---
addons/isr/XEH_preInit.sqf | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/addons/isr/XEH_preInit.sqf b/addons/isr/XEH_preInit.sqf
index 6110dfc..71293b1 100644
--- a/addons/isr/XEH_preInit.sqf
+++ b/addons/isr/XEH_preInit.sqf
@@ -25,6 +25,15 @@ GVAR(menuStack) = [];
}
] call CBA_fnc_addSetting;
+[
+ QGVAR(enableISR),
+ "CHECKBOX",
+ LLSTRING(Setting_enableISR),
+ "ARC - ISR",
+ false,
+ 1
+] call CBA_fnc_addSetting;
+
_fnc_numpad = {
params ["_line"];
switch (_line) do {
From 54dfac61bb2c38a6b3eec7c29cc5b0a5f591d932 Mon Sep 17 00:00:00 2001
From: Will/KJW <100206101+SpicyBagpipes@users.noreply.github.com>
Date: Mon, 4 May 2026 15:11:07 +0100
Subject: [PATCH 2/7] Update XEH_preInit.sqf
---
addons/isr/XEH_preInit.sqf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/addons/isr/XEH_preInit.sqf b/addons/isr/XEH_preInit.sqf
index 71293b1..3fe4a10 100644
--- a/addons/isr/XEH_preInit.sqf
+++ b/addons/isr/XEH_preInit.sqf
@@ -30,7 +30,7 @@ GVAR(menuStack) = [];
"CHECKBOX",
LLSTRING(Setting_enableISR),
"ARC - ISR",
- false,
+ true,
1
] call CBA_fnc_addSetting;
From f73602b2253aea7f1dfbf5d9e9e61fb0deb0db6e Mon Sep 17 00:00:00 2001
From: Will/KJW <100206101+SpicyBagpipes@users.noreply.github.com>
Date: Mon, 4 May 2026 15:11:40 +0100
Subject: [PATCH 3/7] Update fnc_isISR.sqf
---
addons/isr/functions/fnc_isISR.sqf | 2 ++
1 file changed, 2 insertions(+)
diff --git a/addons/isr/functions/fnc_isISR.sqf b/addons/isr/functions/fnc_isISR.sqf
index ae44967..abe3012 100644
--- a/addons/isr/functions/fnc_isISR.sqf
+++ b/addons/isr/functions/fnc_isISR.sqf
@@ -1,5 +1,7 @@
#include "..\script_component.hpp"
+if !GVAR(enableISR) exitWith { false };
+
private _control = UAVControl getConnectedUAV ACE_player;
if (_control#0 == ACE_player && _control#1 != "") exitWith { true };
From 8fbf31173d4b7c01c7287903b7fab81521f777dd Mon Sep 17 00:00:00 2001
From: Will/KJW <100206101+SpicyBagpipes@users.noreply.github.com>
Date: Mon, 4 May 2026 15:13:12 +0100
Subject: [PATCH 4/7] Add 'Enable ISR Menu' string to stringtable
---
addons/isr/stringtable.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/addons/isr/stringtable.xml b/addons/isr/stringtable.xml
index 1082436..a985452 100644
--- a/addons/isr/stringtable.xml
+++ b/addons/isr/stringtable.xml
@@ -198,5 +198,8 @@
Distancia Máx Marcadores
Макс Дистанция Маркера
+
+ Enable ISR Menu
+
From d9229a9326bcb7376d6e3e4c0bcdf19ecf1447ed Mon Sep 17 00:00:00 2001
From: Will/KJW <100206101+SpicyBagpipes@users.noreply.github.com>
Date: Tue, 19 May 2026 22:14:32 -0400
Subject: [PATCH 5/7] Update XEH_preInit.sqf
---
addons/isr/XEH_preInit.sqf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/addons/isr/XEH_preInit.sqf b/addons/isr/XEH_preInit.sqf
index 3fe4a10..b838ffc 100644
--- a/addons/isr/XEH_preInit.sqf
+++ b/addons/isr/XEH_preInit.sqf
@@ -27,10 +27,10 @@ GVAR(menuStack) = [];
[
QGVAR(enableISR),
- "CHECKBOX",
+ "LIST",
LLSTRING(Setting_enableISR),
"ARC - ISR",
- true,
+ [[LLSTRING(enabled),LLSTRING(disabled),LLSTRING(uavOnly)],[0,1,2],0],
1
] call CBA_fnc_addSetting;
From bca80db41570c1353dad3ff25e4f1f8ff8f8d4cf Mon Sep 17 00:00:00 2001
From: Will/KJW <100206101+SpicyBagpipes@users.noreply.github.com>
Date: Tue, 19 May 2026 22:15:40 -0400
Subject: [PATCH 6/7] Update stringtable.xml
---
addons/isr/stringtable.xml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/addons/isr/stringtable.xml b/addons/isr/stringtable.xml
index a985452..174a9d7 100644
--- a/addons/isr/stringtable.xml
+++ b/addons/isr/stringtable.xml
@@ -201,5 +201,14 @@
Enable ISR Menu
+
+ Enabled
+
+
+ Disabled
+
+
+ UAV Only
+
From 39f117b5f98dcd503659724fa5e8aa05a064604d Mon Sep 17 00:00:00 2001
From: Will/KJW <100206101+SpicyBagpipes@users.noreply.github.com>
Date: Tue, 19 May 2026 22:17:36 -0400
Subject: [PATCH 7/7] Update fnc_isISR.sqf
---
addons/isr/functions/fnc_isISR.sqf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/addons/isr/functions/fnc_isISR.sqf b/addons/isr/functions/fnc_isISR.sqf
index abe3012..e1010c4 100644
--- a/addons/isr/functions/fnc_isISR.sqf
+++ b/addons/isr/functions/fnc_isISR.sqf
@@ -1,13 +1,13 @@
#include "..\script_component.hpp"
-if !GVAR(enableISR) exitWith { false };
-
private _control = UAVControl getConnectedUAV ACE_player;
if (_control#0 == ACE_player && _control#1 != "") exitWith { true };
private _currentVehicle = vehicle ACE_player;
if (_currentVehicle isEqualTo ACE_player) exitWith {false};
+if !([true, false, (unitIsUAV _currentVehicle)] select GVAR(enableISR)) exitWith {};
+
if (cameraView != "GUNNER") exitWith {false};
private _vehConfig = configOf _currentVehicle;