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;
|
2015-02-20 05:45:17 +00:00
|
|
|
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canLinkBelt));
|
|
|
|
statement = QUOTE([ARR_2(_player, _target)] call FUNC(startLinkingBelt));
|
|
|
|
};
|
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));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
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));
|
|
|
|
};
|
2015-02-20 05:45:17 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|