ACE3/addons/reload/CfgVehicles.hpp

36 lines
1.3 KiB
C++
Raw Normal View History

class CfgVehicles {
class Man;
class CAManBase: Man {
class ACE_Actions {
2015-03-06 01:52:29 +00:00
class ACE_Weapon {
class ACE_LinkBelt {
displayName = "$STR_ACE_Reload_LinkBelt";
2015-03-06 01:52:29 +00:00
distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canLinkBelt));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(startLinkingBelt));
};
class ACE_CheckAmmo {
displayName = "$STR_ACE_Reload_checkAmmo";
distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canCheckAmmo));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(checkAmmo));
};
};
};
};
class LandVehicle;
class StaticWeapon: LandVehicle {
class ACE_Actions {
class ACE_MainActions {
class ACE_CheckAmmo {
displayName = "$STR_ACE_Reload_checkAmmo";
distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canCheckAmmo));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(checkAmmo));
};
};
};
};
};