ACE3/addons/dagr/CfgVehicles.hpp

45 lines
1.5 KiB
C++
Raw Permalink Normal View History

2015-06-07 15:53:37 +00:00
class CfgVehicles {
class Man;
class CAManBase: Man {
class ACE_SelfActions {
class ACE_Equipment {
class GVAR(menu) {
2015-09-12 19:25:02 +00:00
displayName = CSTRING(ConfigureDAGR);
2015-06-07 15:53:37 +00:00
condition = QUOTE([ARR_2(_player,'ACE_DAGR')] call EFUNC(common,hasItem));
statement = QUOTE(call FUNC(menuInit));
2015-06-07 15:53:37 +00:00
showDisabled = 0;
2016-04-08 18:34:50 +00:00
icon = QPATHTOF(UI\DAGR_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
2015-06-07 15:53:37 +00:00
class GVAR(toggle) {
2015-09-12 19:25:02 +00:00
displayName = CSTRING(ToggleDAGR);
2015-06-07 15:53:37 +00:00
condition = QUOTE([ARR_2(_player,'ACE_DAGR')] call EFUNC(common,hasItem));
statement = QUOTE(call FUNC(toggleOverlay));
2015-06-07 15:53:37 +00:00
showDisabled = 0;
2016-04-08 18:34:50 +00:00
icon = QPATHTOF(UI\DAGR_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
2015-06-07 15:53:37 +00:00
};
};
};
};
};
class Item_Base_F;
class ACE_Item_DAGR: Item_Base_F {
author[] = {"Rosuto", "Ruthberg"};
scope = 2;
scopeCurator = 2;
2015-09-12 19:25:02 +00:00
displayName = CSTRING(Name);
2015-06-07 15:53:37 +00:00
vehicleClass = "Items";
class TransportItems {
2015-07-25 19:59:52 +00:00
MACRO_ADDITEM(ACE_DAGR,1);
2015-06-07 15:53:37 +00:00
};
};
class Box_NATO_Support_F;
class ACE_Box_Misc: Box_NATO_Support_F {
class TransportItems {
MACRO_ADDITEM(ACE_DAGR,6);
};
};
};