mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Moved handcuffing/uncuffing to top level actions, as we apparently won't be interacting with hands for anything else for the moment
This commit is contained in:
parent
84a7c5de46
commit
2235f84408
@ -2,34 +2,26 @@ class CfgVehicles {
|
|||||||
class Man;
|
class Man;
|
||||||
class CAManBase: Man {
|
class CAManBase: Man {
|
||||||
class ACE_Actions {
|
class ACE_Actions {
|
||||||
class ACE_RightHandActions {
|
|
||||||
selection = "righthand";
|
|
||||||
displayName = "Right hand";
|
|
||||||
distance = 5;
|
|
||||||
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(canApplyHandcuffs)) || ([ARR_2(_player, _target)] call FUNC(canRemoveHandcuffs)));
|
|
||||||
class ACE_ApplyHandcuffs {
|
class ACE_ApplyHandcuffs {
|
||||||
displayName = "$STR_ACE_Captives_SetCaptive";
|
displayName = "$STR_ACE_Captives_SetCaptive";
|
||||||
distance = 4;
|
selection = "righthand";
|
||||||
|
distance = 2;
|
||||||
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canApplyHandcuffs));
|
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canApplyHandcuffs));
|
||||||
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doApplyHandcuffs));
|
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doApplyHandcuffs));
|
||||||
exceptions[] = {};
|
exceptions[] = {};
|
||||||
showDisabled = 0;
|
|
||||||
priority = 2.4;
|
|
||||||
icon = QUOTE(PATHTOF(UI\handcuff_ca.paa));
|
icon = QUOTE(PATHTOF(UI\handcuff_ca.paa));
|
||||||
hotkey = "C";
|
|
||||||
};
|
};
|
||||||
class ACE_RemoveHandcuffs {
|
class ACE_RemoveHandcuffs {
|
||||||
displayName = "$STR_ACE_Captives_ReleaseCaptive";
|
displayName = "$STR_ACE_Captives_ReleaseCaptive";
|
||||||
distance = 4;
|
selection = "righthand";
|
||||||
|
distance = 2;
|
||||||
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRemoveHandcuffs));
|
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRemoveHandcuffs));
|
||||||
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doRemoveHandcuffs));
|
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doRemoveHandcuffs));
|
||||||
exceptions[] = {};
|
exceptions[] = {};
|
||||||
showDisabled = 0;
|
|
||||||
priority = 2.4;
|
|
||||||
icon = QUOTE(PATHTOF(UI\handcuff_ca.paa));
|
icon = QUOTE(PATHTOF(UI\handcuff_ca.paa));
|
||||||
hotkey = "R";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class ACE_MainActions {
|
class ACE_MainActions {
|
||||||
class ACE_EscortCaptive {
|
class ACE_EscortCaptive {
|
||||||
displayName = "$STR_ACE_Captives_EscortCaptive";
|
displayName = "$STR_ACE_Captives_EscortCaptive";
|
||||||
|
Loading…
Reference in New Issue
Block a user