ACE3/addons/logistics_uavbattery/CfgVehicles.hpp

40 lines
1.2 KiB
C++
Raw Normal View History

class CfgVehicles {
class Air;
class Helicopter: Air {
2015-04-11 21:48:49 +00:00
class ACE_Actions {
class ACE_MainActions {};
};
};
class Helicopter_Base_F: Helicopter {
class ACE_Actions: ACE_Actions{
class ACE_MainActions: ACE_MainActions {};
};
};
class UAV_01_base_F: Helicopter_Base_F {
class ACE_Actions: ACE_Actions{
class ACE_MainActions: ACE_MainActions {
2015-04-11 21:48:49 +00:00
class GVAR(RefuelUAV) {
displayName = CSTRING(Recharge);
2015-04-11 21:48:49 +00:00
distance = 4;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRefuelUAV));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(refuelUAV));
showDisabled = 0;
priority = 1.245;
2015-04-11 21:48:49 +00:00
icon = QUOTE(PATHTOF(ui\UAV_battery_ca.paa));
};
};
};
};
2015-04-11 21:48:49 +00:00
// Misc box content
class Box_NATO_Support_F;
class ACE_Box_Misc: Box_NATO_Support_F {
class TransportItems {
class _xx_ACE_UAVBattery {
count = 6;
name = "ACE_UAVBattery";
};
};
};
};