ACE3/addons/reload/CfgVehicles.hpp

39 lines
1.5 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 {
2015-04-22 00:35:04 +00:00
class GVAR(LinkBelt) {
displayName = CSTRING(LinkBelt);
2015-03-06 01:52:29 +00:00
distance = 2.0;
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(getAmmoToLinkBelt)) > 0);
statement = QUOTE([ARR_2(_player, _target)] call FUNC(startLinkingBelt));
exceptions[] = {"isNotInside"};
};
2015-04-22 00:35:04 +00:00
class GVAR(CheckAmmo) {
displayName = CSTRING(checkAmmo);
distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canCheckAmmo));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(checkAmmo));
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
};
};
};
};
class LandVehicle;
class StaticWeapon: LandVehicle {
class ACE_Actions {
class ACE_MainActions {
2015-04-22 00:35:04 +00:00
class GVAR(CheckAmmo) {
displayName = CSTRING(checkAmmo);
distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canCheckAmmo));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(checkAmmo));
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
};
};
};
};
};