Moved all deployables to equipment submenu

This commit is contained in:
BaerMitUmlaut 2016-06-02 10:35:33 +02:00
parent 95573ee711
commit cc83bf64d6
2 changed files with 18 additions and 14 deletions

View File

@ -5,13 +5,15 @@ class CfgVehicles {
class Man; class Man;
class CAManBase: Man { class CAManBase: Man {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_TacticalLadders { class ACE_Equipment {
displayName = CSTRING(Deploy); class ACE_TacticalLadders {
condition = QUOTE(backpack _player == 'ACE_TacticalLadder_Pack'); displayName = CSTRING(Deploy);
statement = QUOTE([_player] call FUNC(deployTL)); condition = QUOTE(backpack _player == 'ACE_TacticalLadder_Pack');
exceptions[] = {}; statement = QUOTE([_player] call FUNC(deployTL));
showDisabled = 1; exceptions[] = {};
priority = 4; showDisabled = 1;
priority = 4;
};
}; };
}; };
}; };

View File

@ -5,13 +5,15 @@ class CfgVehicles {
class Man; class Man;
class CAManBase: Man { class CAManBase: Man {
class ACE_SelfActions { class ACE_SelfActions {
class GVAR(place) { class ACE_Equipment {
displayName = CSTRING(Placedown); class GVAR(place) {
condition = QUOTE([ARR_2(_player,'ACE_Tripod')] call EFUNC(common,hasItem)); displayName = CSTRING(Placedown);
statement = QUOTE([ARR_2(_player,'ACE_Tripod')] call FUNC(place)); condition = QUOTE([ARR_2(_player,'ACE_Tripod')] call EFUNC(common,hasItem));
showDisabled = 0; statement = QUOTE([ARR_2(_player,'ACE_Tripod')] call FUNC(place));
priority = 2; showDisabled = 0;
icon = QPATHTOF(UI\w_sniper_tripod_ca.paa); priority = 2;
icon = QPATHTOF(UI\w_sniper_tripod_ca.paa);
};
}; };
}; };
}; };