From 6d5066735988c3432fa0354d42f42e207c4e2c65 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Wed, 3 Apr 2019 12:18:55 -0500 Subject: [PATCH] Fastroping - Add user setting to confirm cutting ropes (#6876) * Fastroping - Add user setting to confirm cutting ropes * always confirm * fix * Update stringtable.xml --- addons/common/stringtable.xml | 5 ++++- addons/fastroping/CfgVehicles.hpp | 9 +++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/addons/common/stringtable.xml b/addons/common/stringtable.xml index 303064ef3a..5e354ab8e2 100644 --- a/addons/common/stringtable.xml +++ b/addons/common/stringtable.xml @@ -1075,7 +1075,10 @@ - + + Confirm + + Never diff --git a/addons/fastroping/CfgVehicles.hpp b/addons/fastroping/CfgVehicles.hpp index 6dfd06ff72..2d03ddcee0 100644 --- a/addons/fastroping/CfgVehicles.hpp +++ b/addons/fastroping/CfgVehicles.hpp @@ -75,8 +75,13 @@ class CfgVehicles { }; class ACE_cutRopes { displayName = CSTRING(Interaction_cutRopes); - condition = [_target] call FUNC(canCutRopes); - statement = [_target] call FUNC(cutRopes); + condition = QUOTE(true); + statement = ""; + class confirmCutRopes { + displayName = ECSTRING(common,confirm); + condition = QUOTE([_target] call FUNC(canCutRopes)); + statement = QUOTE([_target] call FUNC(cutRopes)); + }; }; class ACE_fastRope { displayName = CSTRING(Interaction_fastRope);