Added pickup action to put down explosives.

This commit is contained in:
Garth L-H de Wet 2015-03-31 17:12:12 +02:00
parent ece4c8e0bc
commit 37fe824426
2 changed files with 14 additions and 1 deletions

View File

@ -5,7 +5,6 @@
class CfgVehicles {
class Man;
class CAManBase: Man {
class ACE_SelfActions {
class ACE_Explosives {
@ -89,6 +88,17 @@ class CfgVehicles {
priority = 5;
icon = QUOTE(PATHTOF(UI\Explosives_Menu_ca.paa));
};
class ACE_PickUp {
selection = "";
displayName = "$STR_ACE_Explosives_Pickup";
distance = 4;
condition = "true";
statement = QUOTE(_player addMagazine (_target getVariable QUOTE(QGVAR(class)));destroyVehicle _target;);
showDisabled = 0;
exceptions[] = {};
priority = 5;
icon = QUOTE(PATHTOF(UI\Explosives_Menu_ca.paa));
};
};
};
};

View File

@ -490,5 +490,8 @@
<Hungarian>Robbanóanyagok távoli robbantásához</Hungarian>
<Russian>Используется для дистанционного подрыва, после смерти оператора.</Russian>
</Key>
<Key ID="STR_ACE_Explosives_Pickup">
<English>Pick up</English>
</Key>
</Package>
</Project>