ACE3/addons/kestrel4500/CfgVehicles.hpp

53 lines
1.9 KiB
C++
Raw Normal View History

class CfgVehicles {
class Man;
class CAManBase: Man {
class ACE_SelfActions {
class ACE_Equipment {
class GVAR(open) {
displayName = CSTRING(OpenKestrel);
condition = QUOTE(call FUNC(canShow) && !GVAR(Kestrel4500));
statement = QUOTE(call FUNC(createKestrelDialog));
showDisabled = 0;
2016-04-08 18:34:50 +00:00
icon = QPATHTOF(UI\Kestrel4500_Icon.paa);
2015-06-13 19:46:55 +00:00
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
2015-05-12 03:22:24 +00:00
class GVAR(show) {
displayName = CSTRING(ShowKestrel);
2015-05-12 03:22:24 +00:00
condition = QUOTE(call FUNC(canShow) && !GVAR(Overlay));
statement = QUOTE(call FUNC(displayKestrel));
showDisabled = 0;
2016-04-08 18:34:50 +00:00
icon = QPATHTOF(UI\Kestrel4500_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
2015-05-12 03:22:24 +00:00
};
class GVAR(hide) {
displayName = CSTRING(HideKestrel);
2015-05-12 03:22:24 +00:00
condition = QUOTE(GVAR(Overlay));
statement = QUOTE(call FUNC(displayKestrel));
showDisabled = 0;
2016-04-08 18:34:50 +00:00
icon = QPATHTOF(UI\Kestrel4500_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
2015-05-12 03:22:24 +00:00
};
};
};
};
};
class Item_Base_F;
class ACE_Item_Kestrel4500: Item_Base_F {
author = "Ruthberg";
scope = 2;
scopeCurator = 2;
displayName = CSTRING(Name);
vehicleClass = "Items";
class TransportItems {
2015-07-25 19:59:52 +00:00
MACRO_ADDITEM(ACE_Kestrel4500,1);
};
};
class Box_NATO_Support_F;
class ACE_Box_Misc: Box_NATO_Support_F {
class TransportItems {
MACRO_ADDITEM(ACE_Kestrel4500,6);
};
};
};