mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
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:
@ -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">
|
||||||
|
@ -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);
|
||||||
|
Reference in New Issue
Block a user