ACE3/addons/disarming/CfgVehicles.hpp

18 lines
614 B
C++
Raw Normal View History

2015-02-11 01:55:53 +00:00
class CfgVehicles {
class Man;
class CAManBase: Man {
class ACE_Actions {
2015-02-28 00:38:23 +00:00
class ACE_MainActions {
class ACE_DisarmInventory {
displayName = CSTRING(OpenInventory);
2015-04-04 05:52:21 +00:00
distance = 3.5;
2015-03-21 01:17:49 +00:00
condition = QUOTE([ARR_2(_player,_target)] call FUNC(canPlayerDisarmUnit));
2015-02-28 00:38:23 +00:00
statement = QUOTE([ARR_2(_player,_target)] call FUNC(openDisarmDialog));
exceptions[] = {"isNotSwimming"};
2016-04-08 18:34:50 +00:00
icon = QPATHTOF(UI\disarm.paa);
2015-02-28 00:38:23 +00:00
};
2015-02-11 01:55:53 +00:00
};
};
};
};