Fastroping - Add user setting to confirm cutting ropes (#6876)

* Fastroping - Add user setting to confirm cutting ropes

* always confirm

* fix

* Update stringtable.xml
This commit is contained in:
PabstMirror 2019-04-03 12:18:55 -05:00 committed by GitHub
parent ece1031c4d
commit 6d50667359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

View File

@ -1075,7 +1075,10 @@
<Chinese></Chinese>
<Chinesesimp></Chinesesimp>
</Key>
<Key ID="STR_ACE_Common_Never">
<Key ID="STR_ACE_Common_Confirm">
<English>Confirm</English>
</Key>
<Key ID="STR_ACE_Common_Never">
<English>Never</English>
</Key>
<Key ID="STR_ACE_Common_VehiclesOnly">

View File

@ -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);