From 928a9b9485269f78d38d4770eea44c4834a4eac5 Mon Sep 17 00:00:00 2001 From: esteldunedain Date: Wed, 2 Mar 2016 15:25:41 -0300 Subject: [PATCH 1/2] Increase interaction distance with explosives from 1m to 1.5m. Fix #3379 --- addons/explosives/CfgVehicles.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/addons/explosives/CfgVehicles.hpp b/addons/explosives/CfgVehicles.hpp index ce77ce0d79..db9c7c9b7e 100644 --- a/addons/explosives/CfgVehicles.hpp +++ b/addons/explosives/CfgVehicles.hpp @@ -56,7 +56,7 @@ class CfgVehicles { class ACE_Actions { class ACE_MainActions { selection = ""; - distance = 1; + distance = 1.5; condition = "true"; class ACE_Defuse { displayName = CSTRING(Defuse); @@ -88,12 +88,11 @@ class CfgVehicles { class ACE_Actions { class ACE_MainActions { selection = ""; - distance = 1; + distance = 1.5; condition = "true"; class ACE_SetTrigger { selection = ""; displayName = CSTRING(TriggerMenu); - distance = 1; condition = "true"; statement = ""; insertChildren = QUOTE([ARR_3(_target getVariable QUOTE(QGVAR(class)),_target,_player)] call FUNC(addTriggerActions);); @@ -105,7 +104,6 @@ class CfgVehicles { class ACE_PickUp { selection = ""; displayName = CSTRING(Pickup); - distance = 1; condition = "true"; statement = QUOTE([ARR_2(_player,_target getVariable QUOTE(QGVAR(class)))] call EFUNC(common,addToInventory);deleteVehicle _target;); showDisabled = 0; From e0493458c0a65f8ab2da87056be766e5c3f6fcd7 Mon Sep 17 00:00:00 2001 From: esteldunedain Date: Wed, 2 Mar 2016 16:19:38 -0300 Subject: [PATCH 2/2] Reduce interaction distance for defusing back to 1m --- addons/explosives/CfgVehicles.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/explosives/CfgVehicles.hpp b/addons/explosives/CfgVehicles.hpp index db9c7c9b7e..5f81bde127 100644 --- a/addons/explosives/CfgVehicles.hpp +++ b/addons/explosives/CfgVehicles.hpp @@ -56,7 +56,7 @@ class CfgVehicles { class ACE_Actions { class ACE_MainActions { selection = ""; - distance = 1.5; + distance = 1; condition = "true"; class ACE_Defuse { displayName = CSTRING(Defuse); @@ -66,7 +66,6 @@ class CfgVehicles { showDisabled = 0; icon = PATHTOF(UI\Defuse_ca.paa); priority = 0.8; - distance = 1; }; }; };