mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
18 lines
610 B
C++
18 lines
610 B
C++
class CfgVehicles {
|
|
class Man;
|
|
class CAManBase: Man {
|
|
class ACE_Actions {
|
|
class ACE_MainActions {
|
|
class ACE_DisarmInventory {
|
|
displayName = "$STR_ACE_Disarming_OpenInventory";
|
|
distance = 3.5;
|
|
condition = QUOTE([ARR_2(_player,_target)] call FUNC(canPlayerDisarmUnit));
|
|
statement = QUOTE([ARR_2(_player,_target)] call FUNC(openDisarmDialog));
|
|
icon = PATHTOF(UI\disarm.paa);
|
|
exceptions[] = {};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|