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
2 changed files with 11 additions and 3 deletions

View File

@ -1075,7 +1075,10 @@
<Chinese></Chinese> <Chinese></Chinese>
<Chinesesimp></Chinesesimp> <Chinesesimp></Chinesesimp>
</Key> </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> <English>Never</English>
</Key> </Key>
<Key ID="STR_ACE_Common_VehiclesOnly"> <Key ID="STR_ACE_Common_VehiclesOnly">

View File

@ -75,8 +75,13 @@ class CfgVehicles {
}; };
class ACE_cutRopes { class ACE_cutRopes {
displayName = CSTRING(Interaction_cutRopes); displayName = CSTRING(Interaction_cutRopes);
condition = [_target] call FUNC(canCutRopes); condition = QUOTE(true);
statement = [_target] call FUNC(cutRopes); statement = "";
class confirmCutRopes {
displayName = ECSTRING(common,confirm);
condition = QUOTE([_target] call FUNC(canCutRopes));
statement = QUOTE([_target] call FUNC(cutRopes));
};
}; };
class ACE_fastRope { class ACE_fastRope {
displayName = CSTRING(Interaction_fastRope); displayName = CSTRING(Interaction_fastRope);