2015-02-20 05:45:17 +00:00
|
|
|
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) {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(LinkBelt);
|
2015-03-06 01:52:29 +00:00
|
|
|
distance = 2.0;
|
2017-05-29 18:49:21 +00:00
|
|
|
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(getAmmoToLinkBelt)) > 0);
|
2015-02-20 05:45:17 +00:00
|
|
|
statement = QUOTE([ARR_2(_player, _target)] call FUNC(startLinkingBelt));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside"};
|
2015-02-20 05:45:17 +00:00
|
|
|
};
|
2015-04-22 00:35:04 +00:00
|
|
|
class GVAR(CheckAmmo) {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(checkAmmo);
|
2015-03-06 04:34:38 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canCheckAmmo));
|
|
|
|
statement = QUOTE([ARR_2(_player, _target)] call FUNC(checkAmmo));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2015-03-06 04:34:38 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class LandVehicle;
|
|
|
|
class StaticWeapon: LandVehicle {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-04-22 00:35:04 +00:00
|
|
|
class GVAR(CheckAmmo) {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(checkAmmo);
|
2015-03-06 04:34:38 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canCheckAmmo));
|
|
|
|
statement = QUOTE([ARR_2(_player, _target)] call FUNC(checkAmmo));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2015-03-06 04:34:38 +00:00
|
|
|
};
|
2015-02-20 05:45:17 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|