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 {
|
|
||||||
|
class ACE_ApplyHandcuffs {
|
||||||
|
displayName = "$STR_ACE_Captives_SetCaptive";
|
||||||
selection = "righthand";
|
selection = "righthand";
|
||||||
displayName = "Right hand";
|
distance = 2;
|
||||||
distance = 5;
|
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canApplyHandcuffs));
|
||||||
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(canApplyHandcuffs)) || ([ARR_2(_player, _target)] call FUNC(canRemoveHandcuffs)));
|
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doApplyHandcuffs));
|
||||||
class ACE_ApplyHandcuffs {
|
exceptions[] = {};
|
||||||
displayName = "$STR_ACE_Captives_SetCaptive";
|
icon = QUOTE(PATHTOF(UI\handcuff_ca.paa));
|
||||||
distance = 4;
|
|
||||||
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canApplyHandcuffs));
|
|
||||||
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doApplyHandcuffs));
|
|
||||||
exceptions[] = {};
|
|
||||||
showDisabled = 0;
|
|
||||||
priority = 2.4;
|
|
||||||
icon = QUOTE(PATHTOF(UI\handcuff_ca.paa));
|
|
||||||
hotkey = "C";
|
|
||||||
};
|
|
||||||
class ACE_RemoveHandcuffs {
|
|
||||||
displayName = "$STR_ACE_Captives_ReleaseCaptive";
|
|
||||||
distance = 4;
|
|
||||||
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRemoveHandcuffs));
|
|
||||||
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doRemoveHandcuffs));
|
|
||||||
exceptions[] = {};
|
|
||||||
showDisabled = 0;
|
|
||||||
priority = 2.4;
|
|
||||||
icon = QUOTE(PATHTOF(UI\handcuff_ca.paa));
|
|
||||||
hotkey = "R";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
class ACE_RemoveHandcuffs {
|
||||||
|
displayName = "$STR_ACE_Captives_ReleaseCaptive";
|
||||||
|
selection = "righthand";
|
||||||
|
distance = 2;
|
||||||
|
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRemoveHandcuffs));
|
||||||
|
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doRemoveHandcuffs));
|
||||||
|
exceptions[] = {};
|
||||||
|
icon = QUOTE(PATHTOF(UI\handcuff_ca.paa));
|
||||||
|
};
|
||||||
|
|
||||||
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