ACE3/addons/disarming/CfgVehicles.hpp

63 lines
3.1 KiB
C++
Raw Normal View History

2015-02-11 01:55:53 +00:00
class CfgVehicles {
class Man;
class CAManBase: Man {
class ACE_Actions {
class ACE_Disarm {
displayName = "Disarm >>";
distance = 3;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canDisarm));
statement = "";
showDisabled = 0;
priority = 3.2;
// icon = PATHTOF(UI\team\team_management_ca.paa);
subMenu[] = {"ACE_Disarm", 0};
// hotkey = "M";
enableInside = 0;
2015-02-11 20:37:18 +00:00
class ACE_primaryweapononly {
displayName = "primaryweapononly";
2015-02-11 01:55:53 +00:00
distance = 3;
2015-02-11 20:37:18 +00:00
condition = QUOTE([ARR_3(_player, _target, 'primaryweapononly')] call FUNC(canDisarm));
statement = QUOTE([ARR_3(_player, _target, 'primaryweapononly')] call FUNC(startDisarmCaller));
2015-02-11 01:55:53 +00:00
exceptions[] = {};
showDisabled = 1;
2015-02-11 20:37:18 +00:00
priority = 80085;
2015-02-11 01:55:53 +00:00
// icon = QUOTE(PATHTOF(UI\handcuff_ca.paa));
// hotkey = "C";
};
2015-02-11 20:37:18 +00:00
class ACE_secondaryweapononly: ACE_primaryweapononly {
displayName = "secondaryweapononly";
condition = QUOTE([ARR_3(_player, _target, 'secondaryweapononly')] call FUNC(canDisarm));
statement = QUOTE([ARR_3(_player, _target, 'secondaryweapononly')] call FUNC(startDisarmCaller));
priority = 80084;
};
class ACE_handgunweapononly: ACE_primaryweapononly {
displayName = "handgunweapononly";
condition = QUOTE([ARR_3(_player, _target, 'handgunweapononly')] call FUNC(canDisarm));
statement = QUOTE([ARR_3(_player, _target, 'handgunweapononly')] call FUNC(startDisarmCaller));
priority = 80083;
};
class ACE_backpack: ACE_primaryweapononly {
displayName = "handgunweapononly";
2015-02-11 01:55:53 +00:00
condition = QUOTE([ARR_3(_player, _target, 'backpack')] call FUNC(canDisarm));
statement = QUOTE([ARR_3(_player, _target, 'backpack')] call FUNC(startDisarmCaller));
2015-02-11 20:37:18 +00:00
priority = 80082;
2015-02-11 01:55:53 +00:00
};
2015-02-11 20:37:18 +00:00
class ACE_alldangerous: ACE_primaryweapononly {
displayName = "alldangerous";
condition = QUOTE([ARR_3(_player, _target, 'alldangerous')] call FUNC(canDisarm));
statement = QUOTE([ARR_3(_player, _target, 'alldangerous')] call FUNC(startDisarmCaller));
priority = 80081;
};
class ACE_strip: ACE_primaryweapononly {
displayName = "strip";
condition = QUOTE([ARR_3(_player, _target, 'strip')] call FUNC(canDisarm));
statement = QUOTE([ARR_3(_player, _target, 'strip')] call FUNC(startDisarmCaller));
priority = 80080;
2015-02-11 01:55:53 +00:00
};
2015-02-11 20:37:18 +00:00
2015-02-11 01:55:53 +00:00
};
};
};
};