Cleanup unused priority entry for interact menu actions (#6372)

This commit is contained in:
mharis001 2018-05-30 17:48:19 -04:00 committed by PabstMirror
parent bdc58441f4
commit f3f57c6a38
37 changed files with 2 additions and 181 deletions

View File

@ -8,7 +8,6 @@ class CfgVehicles {
condition = QUOTE(call FUNC(can_show)); condition = QUOTE(call FUNC(can_show));
statement = QUOTE(call FUNC(create_dialog)); statement = QUOTE(call FUNC(create_dialog));
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\ATRAG_Icon.paa); icon = QPATHTOF(UI\ATRAG_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
}; };

View File

@ -8,7 +8,6 @@
insertChildren = QUOTE(_this call FUNC(getChildrenAttachActions)); \ insertChildren = QUOTE(_this call FUNC(getChildrenAttachActions)); \
exceptions[] = {"isNotSwimming"}; \ exceptions[] = {"isNotSwimming"}; \
showDisabled = 0; \ showDisabled = 0; \
priority = 0; \
icon = QPATHTOF(UI\attach_ca.paa); \ icon = QPATHTOF(UI\attach_ca.paa); \
}; \ }; \
class GVAR(DetachVehicle) { \ class GVAR(DetachVehicle) { \
@ -17,7 +16,6 @@
statement = QUOTE(_this call FUNC(detach) ); \ statement = QUOTE(_this call FUNC(detach) ); \
exceptions[] = {"isNotSwimming"}; \ exceptions[] = {"isNotSwimming"}; \
showDisabled = 0; \ showDisabled = 0; \
priority = 0.1; \
icon = QPATHTOF(UI\detach_ca.paa); \ icon = QPATHTOF(UI\detach_ca.paa); \
}; \ }; \
}; \ }; \
@ -57,7 +55,6 @@ class CfgVehicles {
insertChildren = QUOTE(_this call FUNC(getChildrenAttachActions)); insertChildren = QUOTE(_this call FUNC(getChildrenAttachActions));
exceptions[] = {"isNotDragging", "isNotSwimming"}; exceptions[] = {"isNotDragging", "isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = 5;
icon = QPATHTOF(UI\attach_ca.paa); icon = QPATHTOF(UI\attach_ca.paa);
}; };
class GVAR(Detach) { class GVAR(Detach) {
@ -66,7 +63,6 @@ class CfgVehicles {
statement = QUOTE(_this call FUNC(detach)); statement = QUOTE(_this call FUNC(detach));
exceptions[] = {"isNotDragging", "isNotSwimming"}; exceptions[] = {"isNotDragging", "isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = 5;
icon = QPATHTOF(UI\detach_ca.paa); icon = QPATHTOF(UI\detach_ca.paa);
}; };
}; };

View File

@ -30,7 +30,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 0; showDisabled = 0;
icon = QPATHTOF(UI\captive_ca.paa); icon = QPATHTOF(UI\captive_ca.paa);
priority = 2.3;
}; };
class ACE_StopEscorting { class ACE_StopEscorting {
displayName = CSTRING(StopEscorting); displayName = CSTRING(StopEscorting);
@ -40,7 +39,6 @@ class CfgVehicles {
exceptions[] = {"isNotEscorting", "isNotSwimming"}; exceptions[] = {"isNotEscorting", "isNotSwimming"};
showDisabled = 0; showDisabled = 0;
icon = QPATHTOF(UI\captive_ca.paa); icon = QPATHTOF(UI\captive_ca.paa);
priority = 2.3;
}; };
class ACE_LoadCaptive { class ACE_LoadCaptive {
displayName = CSTRING(LoadCaptive); displayName = CSTRING(LoadCaptive);
@ -50,7 +48,6 @@ class CfgVehicles {
exceptions[] = {"isNotEscorting", "isNotSwimming"}; exceptions[] = {"isNotEscorting", "isNotSwimming"};
showDisabled = 0; showDisabled = 0;
icon = QPATHTOF(UI\captive_ca.paa); icon = QPATHTOF(UI\captive_ca.paa);
priority = 2.2;
insertChildren = QUOTE(call DFUNC(addLoadCaptiveActions)); insertChildren = QUOTE(call DFUNC(addLoadCaptiveActions));
}; };
class GVAR(UnloadCaptive) { class GVAR(UnloadCaptive) {
@ -59,7 +56,6 @@ class CfgVehicles {
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canUnloadCaptive)); condition = QUOTE([ARR_2(_player, _target)] call FUNC(canUnloadCaptive));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(doUnloadCaptive)); statement = QUOTE([ARR_2(_player, _target)] call FUNC(doUnloadCaptive));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
priority = 1.2;
}; };
}; };
}; };
@ -71,7 +67,6 @@ class CfgVehicles {
statement = QUOTE([ARR_3(_player,objNull, false)] call FUNC(doEscortCaptive)); statement = QUOTE([ARR_3(_player,objNull, false)] call FUNC(doEscortCaptive));
exceptions[] = {"isNotEscorting", "isNotSwimming"}; exceptions[] = {"isNotEscorting", "isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = 2.3;
}; };
class ACE_StartSurrenderingSelf { class ACE_StartSurrenderingSelf {
displayName = CSTRING(StartSurrendering); displayName = CSTRING(StartSurrendering);
@ -79,7 +74,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player, true)] call FUNC(setSurrendered)); statement = QUOTE([ARR_2(_player, true)] call FUNC(setSurrendered));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = 0;
icon = QPATHTOF(UI\Surrender_ca.paa); icon = QPATHTOF(UI\Surrender_ca.paa);
}; };
class ACE_StopSurrenderingSelf { class ACE_StopSurrenderingSelf {
@ -88,7 +82,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player, false)] call FUNC(setSurrendered)); statement = QUOTE([ARR_2(_player, false)] call FUNC(setSurrendered));
exceptions[] = {"isNotSurrendering", "isNotSwimming"}; exceptions[] = {"isNotSurrendering", "isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = 0;
icon = QPATHTOF(UI\Surrender_ca.paa); icon = QPATHTOF(UI\Surrender_ca.paa);
}; };
}; };
@ -103,7 +96,6 @@ class CfgVehicles {
condition = QUOTE([ARR_3(_player, objNull, _target)] call FUNC(canLoadCaptive)); \ condition = QUOTE([ARR_3(_player, objNull, _target)] call FUNC(canLoadCaptive)); \
statement = QUOTE([ARR_3(_player, objNull, _target)] call FUNC(doLoadCaptive)); \ statement = QUOTE([ARR_3(_player, objNull, _target)] call FUNC(doLoadCaptive)); \
exceptions[] = {"isNotEscorting", "isNotSwimming"}; \ exceptions[] = {"isNotEscorting", "isNotSwimming"}; \
priority = 1.2; \
}; \ }; \
}; \ }; \
}; };

View File

@ -2,7 +2,6 @@
class CBA_Extended_EventHandlers; class CBA_Extended_EventHandlers;
class CfgVehicles { class CfgVehicles {
class Man; class Man;
class CAManBase: Man { class CAManBase: Man {
class ACE_SelfActions { class ACE_SelfActions {
@ -15,7 +14,6 @@ class CfgVehicles {
exceptions[] = {"isNotDragging", "isNotSwimming", "notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotDragging", "isNotSwimming", "notOnMap", "isNotInside", "isNotSitting"};
insertChildren = QUOTE(_this call DFUNC(compileChemlightMenu)); insertChildren = QUOTE(_this call DFUNC(compileChemlightMenu));
showDisabled = 0; showDisabled = 0;
priority = 99;
}; };
}; };
}; };

View File

@ -90,7 +90,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_target,_player)] call FUNC(dismount)); statement = QUOTE([ARR_2(_target,_player)] call FUNC(dismount));
showDisabled = 0; showDisabled = 0;
exceptions[] = {}; exceptions[] = {};
priority = 5;
icon = QPATHTOF(UI\icon_sandbag_ca.paa); icon = QPATHTOF(UI\icon_sandbag_ca.paa);
}; };
}; };
@ -137,7 +136,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2({_this call FUNC(deploy)}, [ARR_2(_target,_player)])] call CBA_fnc_execNextFrame); statement = QUOTE([ARR_2({_this call FUNC(deploy)}, [ARR_2(_target,_player)])] call CBA_fnc_execNextFrame);
showDisabled = 0; showDisabled = 0;
exceptions[] = {}; exceptions[] = {};
priority = 5;
icon = QPATHTOF(UI\icon_sandbag_ca.paa); icon = QPATHTOF(UI\icon_sandbag_ca.paa);
}; };
}; };

View File

@ -8,7 +8,6 @@ class CfgVehicles {
condition = QUOTE([ARR_2(_player,'ACE_DAGR')] call EFUNC(common,hasItem)); condition = QUOTE([ARR_2(_player,'ACE_DAGR')] call EFUNC(common,hasItem));
statement = QUOTE(call FUNC(menuInit)); statement = QUOTE(call FUNC(menuInit));
showDisabled = 0; showDisabled = 0;
priority = 0.1;
icon = QPATHTOF(UI\DAGR_Icon.paa); icon = QPATHTOF(UI\DAGR_Icon.paa);
exceptions[] = {"isNotInside", "isNotSitting"}; exceptions[] = {"isNotInside", "isNotSitting"};
class GVAR(toggle) { class GVAR(toggle) {
@ -16,7 +15,6 @@ class CfgVehicles {
condition = QUOTE([ARR_2(_player,'ACE_DAGR')] call EFUNC(common,hasItem)); condition = QUOTE([ARR_2(_player,'ACE_DAGR')] call EFUNC(common,hasItem));
statement = QUOTE(call FUNC(toggleOverlay)); statement = QUOTE(call FUNC(toggleOverlay));
showDisabled = 0; showDisabled = 0;
priority = 0.2;
icon = QPATHTOF(UI\DAGR_Icon.paa); icon = QPATHTOF(UI\DAGR_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
}; };

View File

@ -17,7 +17,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player,_target)] call FUNC(checkDogtag)); statement = QUOTE([ARR_2(_player,_target)] call FUNC(checkDogtag));
exceptions[] = {"isNotSwimming", "isNotInside"}; exceptions[] = {"isNotSwimming", "isNotInside"};
showDisabled = 0; showDisabled = 0;
priority = 3;
icon = QPATHTOF(data\dogtag_icon_ca.paa); icon = QPATHTOF(data\dogtag_icon_ca.paa);
}; };
class ACE_TakeDogtag { class ACE_TakeDogtag {
@ -26,7 +25,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player,_target)] call FUNC(takeDogtag)); statement = QUOTE([ARR_2(_player,_target)] call FUNC(takeDogtag));
exceptions[] = {"isNotSwimming", "isNotInside"}; exceptions[] = {"isNotSwimming", "isNotInside"};
showDisabled = 0; showDisabled = 0;
priority = 3;
icon = QPATHTOF(data\dogtag_icon_ca.paa); icon = QPATHTOF(data\dogtag_icon_ca.paa);
}; };
}; };

View File

@ -11,10 +11,8 @@ class CfgVehicles {
statement = ""; statement = "";
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"};
showDisabled = 1; showDisabled = 1;
priority = 4;
icon = QPATHTOF(UI\Explosives_Menu_ca.paa); icon = QPATHTOF(UI\Explosives_Menu_ca.paa);
insertChildren = QUOTE([_player] call FUNC(addTransmitterActions);); insertChildren = QUOTE([_player] call FUNC(addTransmitterActions););
//Sub-menu items
class ACE_Place { class ACE_Place {
displayName = CSTRING(Place); displayName = CSTRING(Place);
condition = QUOTE((vehicle _player == _player) and {[_player] call FUNC(hasExplosives)}); condition = QUOTE((vehicle _player == _player) and {[_player] call FUNC(hasExplosives)});
@ -23,7 +21,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
icon = QPATHTOF(UI\Place_Explosive_ca.paa); icon = QPATHTOF(UI\Place_Explosive_ca.paa);
priority = 1;
}; };
class ACE_Cellphone { class ACE_Cellphone {
displayName = CSTRING(cellphone_displayName); displayName = CSTRING(cellphone_displayName);
@ -32,7 +29,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"};
showDisabled = 0; showDisabled = 0;
icon = QPATHTOF(Data\UI\Cellphone_UI.paa); icon = QPATHTOF(Data\UI\Cellphone_UI.paa);
priority = 0.8;
}; };
}; };
}; };
@ -95,7 +91,6 @@ class CfgVehicles {
insertChildren = QUOTE([ARR_3(_target getVariable QUOTE(QGVAR(class)),_target,_player)] call FUNC(addTriggerActions);); insertChildren = QUOTE([ARR_3(_target getVariable QUOTE(QGVAR(class)),_target,_player)] call FUNC(addTriggerActions););
showDisabled = 0; showDisabled = 0;
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
priority = 5;
icon = QPATHTOF(UI\Explosives_Menu_ca.paa); icon = QPATHTOF(UI\Explosives_Menu_ca.paa);
}; };
class ACE_PickUp { class ACE_PickUp {
@ -105,7 +100,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player,_target getVariable QUOTE(QGVAR(class)))] call EFUNC(common,addToInventory);deleteVehicle _target;); statement = QUOTE([ARR_2(_player,_target getVariable QUOTE(QGVAR(class)))] call EFUNC(common,addToInventory);deleteVehicle _target;);
showDisabled = 0; showDisabled = 0;
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
priority = 5;
icon = "\A3\ui_f\data\IGUI\Cfg\Actions\Obsolete\ui_action_takemine_ca.paa"; icon = "\A3\ui_f\data\IGUI\Cfg\Actions\Obsolete\ui_action_takemine_ca.paa";
}; };
}; };

View File

@ -43,35 +43,30 @@ class CfgVehicles {
condition = QUOTE([vehicle _player] call FUNC(canPrepareFRIES)); condition = QUOTE([vehicle _player] call FUNC(canPrepareFRIES));
statement = QUOTE([vehicle _player] call FUNC(prepareFRIES)); statement = QUOTE([vehicle _player] call FUNC(prepareFRIES));
showDisabled = 0; showDisabled = 0;
priority = 1;
}; };
class ACE_stowFRIES { class ACE_stowFRIES {
displayName = CSTRING(Interaction_stowFRIES); displayName = CSTRING(Interaction_stowFRIES);
condition = QUOTE([vehicle _player] call FUNC(canStowFRIES)); condition = QUOTE([vehicle _player] call FUNC(canStowFRIES));
statement = QUOTE([vehicle _player] call FUNC(stowFRIES)); statement = QUOTE([vehicle _player] call FUNC(stowFRIES));
showDisabled = 0; showDisabled = 0;
priority = 1;
}; };
class ACE_deployRopes { class ACE_deployRopes {
displayName = CSTRING(Interaction_deployRopes); displayName = CSTRING(Interaction_deployRopes);
condition = QUOTE([ARR_2(_player, vehicle _player)] call FUNC(canDeployRopes)); condition = QUOTE([ARR_2(_player, vehicle _player)] call FUNC(canDeployRopes));
statement = QUOTE([ARR_2(QUOTE(QGVAR(deployRopes)), [vehicle _player])] call CBA_fnc_serverEvent); statement = QUOTE([ARR_2(QUOTE(QGVAR(deployRopes)), [vehicle _player])] call CBA_fnc_serverEvent);
showDisabled = 0; showDisabled = 0;
priority = 1;
}; };
class ACE_cutRopes { class ACE_cutRopes {
displayName = CSTRING(Interaction_cutRopes); displayName = CSTRING(Interaction_cutRopes);
condition = [vehicle _player] call FUNC(canCutRopes); condition = [vehicle _player] call FUNC(canCutRopes);
statement = [vehicle _player] call FUNC(cutRopes); statement = [vehicle _player] call FUNC(cutRopes);
showDisabled = 0; showDisabled = 0;
priority = 1;
}; };
class ACE_fastRope { class ACE_fastRope {
displayName = CSTRING(Interaction_fastRope); displayName = CSTRING(Interaction_fastRope);
condition = [_player, vehicle _player] call FUNC(canFastRope); condition = [_player, vehicle _player] call FUNC(canFastRope);
statement = [_player, vehicle _player] call FUNC(fastRope); statement = [_player, vehicle _player] call FUNC(fastRope);
showDisabled = 0; showDisabled = 0;
priority = 1;
}; };
}; };
}; };

View File

@ -29,7 +29,6 @@ class CfgVehicles {
condition = QUOTE(_player call FUNC(canResetFCS)); condition = QUOTE(_player call FUNC(canResetFCS));
statement = QUOTE([ARR_2(vehicle _player,[_player] call DEFUNC(common,getTurretIndex))] call DFUNC(reset);); statement = QUOTE([ARR_2(vehicle _player,[_player] call DEFUNC(common,getTurretIndex))] call DFUNC(reset););
showDisabled = 0; showDisabled = 0;
priority = 1;
icon = ""; icon = "";
}; };
}; };
@ -42,7 +41,6 @@ class CfgVehicles {
condition = QUOTE(_player call FUNC(canResetFCS)); condition = QUOTE(_player call FUNC(canResetFCS));
statement = QUOTE([ARR_2(vehicle _player,[_player] call DEFUNC(common,getTurretIndex))] call DFUNC(reset);); statement = QUOTE([ARR_2(vehicle _player,[_player] call DEFUNC(common,getTurretIndex))] call DFUNC(reset););
showDisabled = 0; showDisabled = 0;
priority = 1;
icon = ""; icon = "";
}; };
}; };

View File

@ -8,16 +8,13 @@ class CfgVehicles {
statement = ""; statement = "";
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
priority = 3.5;
icon = QPATHTOF(UI\gestures_ca.paa); icon = QPATHTOF(UI\gestures_ca.paa);
class GVAR(Advance) { class GVAR(Advance) {
displayName = CSTRING(Advance); displayName = CSTRING(Advance);
condition = QUOTE(true); condition = QUOTE(true);
statement = QUOTE([ARR_2(_target,'gestureAdvance')] call EFUNC(common,doGesture)); statement = QUOTE([ARR_2(_target,'gestureAdvance')] call EFUNC(common,doGesture));
//exceptions[] = {"isNotSwimming"}; // Does not work underwaterexceptions[] = {"isNotSwimming"}; //exceptions[] = {"isNotSwimming"}; // Does not work underwaterexceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
priority = 1.9;
}; };
class GVAR(Go) { class GVAR(Go) {
displayName = CSTRING(Go); displayName = CSTRING(Go);
@ -25,7 +22,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_target,selectRandom [ARR_2('gestureGo','gestureGoB')])] call EFUNC(common,doGesture)); statement = QUOTE([ARR_2(_target,selectRandom [ARR_2('gestureGo','gestureGoB')])] call EFUNC(common,doGesture));
//exceptions[] = {"isNotSwimming"}; // Does not work underwater //exceptions[] = {"isNotSwimming"}; // Does not work underwater
showDisabled = 1; showDisabled = 1;
priority = 1.8;
}; };
class GVAR(Follow) { class GVAR(Follow) {
displayName = CSTRING(Follow); displayName = CSTRING(Follow);
@ -33,7 +29,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_target,'gestureFollow')] call EFUNC(common,doGesture)); statement = QUOTE([ARR_2(_target,'gestureFollow')] call EFUNC(common,doGesture));
//exceptions[] = {"isNotSwimming"}; // Does not work underwater //exceptions[] = {"isNotSwimming"}; // Does not work underwater
showDisabled = 1; showDisabled = 1;
priority = 1.7;
}; };
class GVAR(Up) { class GVAR(Up) {
displayName = CSTRING(Up); displayName = CSTRING(Up);
@ -41,7 +36,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_target,'gestureUp')] call EFUNC(common,doGesture)); statement = QUOTE([ARR_2(_target,'gestureUp')] call EFUNC(common,doGesture));
//exceptions[] = {"isNotSwimming"}; // Does not work underwater //exceptions[] = {"isNotSwimming"}; // Does not work underwater
showDisabled = 1; showDisabled = 1;
priority = 1.5;
}; };
class GVAR(CeaseFire) { class GVAR(CeaseFire) {
displayName = CSTRING(CeaseFire); displayName = CSTRING(CeaseFire);
@ -49,7 +43,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_target,'gestureCeaseFire')] call EFUNC(common,doGesture)); statement = QUOTE([ARR_2(_target,'gestureCeaseFire')] call EFUNC(common,doGesture));
//exceptions[] = {"isNotSwimming"}; // Does not work underwater //exceptions[] = {"isNotSwimming"}; // Does not work underwater
showDisabled = 1; showDisabled = 1;
priority = 1.3;
}; };
class GVAR(Stop) { class GVAR(Stop) {
displayName = CSTRING(Stop); displayName = CSTRING(Stop);
@ -57,7 +50,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_target,'gestureFreeze')] call EFUNC(common,doGesture)); // BI animation - is actually "stop" in all stances but prone statement = QUOTE([ARR_2(_target,'gestureFreeze')] call EFUNC(common,doGesture)); // BI animation - is actually "stop" in all stances but prone
//exceptions[] = {"isNotSwimming"}; // Does not work underwater //exceptions[] = {"isNotSwimming"}; // Does not work underwater
showDisabled = 1; showDisabled = 1;
priority = 1.2;
}; };
class GVAR(Forward) { class GVAR(Forward) {
displayName = CSTRING(Forward); displayName = CSTRING(Forward);
@ -65,7 +57,6 @@ class CfgVehicles {
statement = QUOTE(QUOTE(QGVAR(forward)) call FUNC(playSignal)); statement = QUOTE(QUOTE(QGVAR(forward)) call FUNC(playSignal));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
priority = 1.9;
}; };
class GVAR(Regroup) { class GVAR(Regroup) {
displayName = CSTRING(Regroup); displayName = CSTRING(Regroup);
@ -73,7 +64,6 @@ class CfgVehicles {
statement = QUOTE(QUOTE(QGVAR(regroup)) call FUNC(playSignal)); statement = QUOTE(QUOTE(QGVAR(regroup)) call FUNC(playSignal));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
priority = 1.8;
}; };
class GVAR(Freeze) { class GVAR(Freeze) {
displayName = CSTRING(Freeze); displayName = CSTRING(Freeze);
@ -81,7 +71,6 @@ class CfgVehicles {
statement = QUOTE(QUOTE(QGVAR(freeze)) call FUNC(playSignal)); statement = QUOTE(QUOTE(QGVAR(freeze)) call FUNC(playSignal));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
priority = 1.7;
}; };
class GVAR(Cover) { class GVAR(Cover) {
displayName = CSTRING(Cover); displayName = CSTRING(Cover);
@ -89,7 +78,6 @@ class CfgVehicles {
statement = QUOTE(QUOTE(QGVAR(cover)) call FUNC(playSignal)); statement = QUOTE(QUOTE(QGVAR(cover)) call FUNC(playSignal));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
priority = 1.6;
}; };
class GVAR(Point) { class GVAR(Point) {
displayName = CSTRING(Point); displayName = CSTRING(Point);
@ -97,7 +85,6 @@ class CfgVehicles {
statement = QUOTE(QUOTE(QGVAR(point)) call FUNC(playSignal)); statement = QUOTE(QUOTE(QGVAR(point)) call FUNC(playSignal));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
priority = 1.5;
}; };
class GVAR(Engage) { class GVAR(Engage) {
displayName = CSTRING(Engage); displayName = CSTRING(Engage);
@ -105,7 +92,6 @@ class CfgVehicles {
statement = QUOTE(QUOTE(QGVAR(engage)) call FUNC(playSignal)); statement = QUOTE(QUOTE(QGVAR(engage)) call FUNC(playSignal));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
priority = 1.4;
}; };
class GVAR(Hold) { class GVAR(Hold) {
displayName = CSTRING(Hold); displayName = CSTRING(Hold);
@ -113,7 +99,6 @@ class CfgVehicles {
statement = QUOTE(QUOTE(QGVAR(hold)) call FUNC(playSignal)); statement = QUOTE(QUOTE(QGVAR(hold)) call FUNC(playSignal));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
priority = 1.3;
}; };
class GVAR(Warning) { class GVAR(Warning) {
displayName = CSTRING(Warning); displayName = CSTRING(Warning);
@ -121,7 +106,6 @@ class CfgVehicles {
statement = QUOTE(QUOTE(QGVAR(warning)) call FUNC(playSignal)); statement = QUOTE(QUOTE(QGVAR(warning)) call FUNC(playSignal));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
priority = 1.2;
}; };
}; };
}; };

View File

@ -8,7 +8,6 @@ class CfgVehicles {
condition = QUOTE(([_target] call FUNC(hasGunbag)) && {[ARR_2(_player,_target)] call FUNC(canInteract) == 0}); condition = QUOTE(([_target] call FUNC(hasGunbag)) && {[ARR_2(_player,_target)] call FUNC(canInteract) == 0});
statement = QUOTE([ARR_2(_player,_target)] call FUNC(toGunbag)); statement = QUOTE([ARR_2(_player,_target)] call FUNC(toGunbag));
showDisabled = 0; showDisabled = 0;
priority = 1;
icon = QPATHTOF(ui\gunbag_icon_ca.paa); icon = QPATHTOF(ui\gunbag_icon_ca.paa);
}; };
class GVAR(weaponOff) { class GVAR(weaponOff) {
@ -16,7 +15,6 @@ class CfgVehicles {
condition = QUOTE(([_target] call FUNC(hasGunbag)) && {[ARR_2(_player,_target)] call FUNC(canInteract) == 1}); condition = QUOTE(([_target] call FUNC(hasGunbag)) && {[ARR_2(_player,_target)] call FUNC(canInteract) == 1});
statement = QUOTE([ARR_2(_player,_target)] call FUNC(offGunbag)); statement = QUOTE([ARR_2(_player,_target)] call FUNC(offGunbag));
showDisabled = 0; showDisabled = 0;
priority = 1;
icon = QPATHTOF(ui\gunbag_icon_ca.paa); icon = QPATHTOF(ui\gunbag_icon_ca.paa);
}; };
class GVAR(status) { class GVAR(status) {
@ -24,7 +22,6 @@ class CfgVehicles {
condition = QUOTE([_target] call FUNC(hasGunbag)); condition = QUOTE([_target] call FUNC(hasGunbag));
statement = QUOTE([_target] call FUNC(status)); statement = QUOTE([_target] call FUNC(status));
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(ui\gunbag_icon_ca.paa); icon = QPATHTOF(ui\gunbag_icon_ca.paa);
}; };
}; };
@ -36,15 +33,12 @@ class CfgVehicles {
displayName = CSTRING(Displayname); displayName = CSTRING(Displayname);
condition = QUOTE([_player] call FUNC(hasGunbag)); condition = QUOTE([_player] call FUNC(hasGunbag));
showDisabled = 0; showDisabled = 0;
priority = 0.1;
icon = QPATHTOF(ui\gunbag_icon_ca.paa); icon = QPATHTOF(ui\gunbag_icon_ca.paa);
class GVAR(weaponTo) { class GVAR(weaponTo) {
displayName = CSTRING(ToGunbag); displayName = CSTRING(ToGunbag);
condition = QUOTE([ARR_2(_player,_player)] call FUNC(canInteract) == 0); condition = QUOTE([ARR_2(_player,_player)] call FUNC(canInteract) == 0);
statement = QUOTE([ARR_2(_player,_player)] call FUNC(toGunbag)); statement = QUOTE([ARR_2(_player,_player)] call FUNC(toGunbag));
showDisabled = 0; showDisabled = 0;
priority = 1;
icon = QPATHTOF(ui\gunbag_icon_ca.paa); icon = QPATHTOF(ui\gunbag_icon_ca.paa);
}; };
class GVAR(weaponOff) { class GVAR(weaponOff) {
@ -52,7 +46,6 @@ class CfgVehicles {
condition = QUOTE([ARR_2(_player,_player)] call FUNC(canInteract) == 1); condition = QUOTE([ARR_2(_player,_player)] call FUNC(canInteract) == 1);
statement = QUOTE([ARR_2(_player,_player)] call FUNC(offGunbag)); statement = QUOTE([ARR_2(_player,_player)] call FUNC(offGunbag));
showDisabled = 0; showDisabled = 0;
priority = 1;
icon = QPATHTOF(ui\gunbag_icon_ca.paa); icon = QPATHTOF(ui\gunbag_icon_ca.paa);
}; };
class GVAR(status) { class GVAR(status) {
@ -60,7 +53,6 @@ class CfgVehicles {
condition = QUOTE([_player] call FUNC(hasGunbag)); condition = QUOTE([_player] call FUNC(hasGunbag));
statement = QUOTE([_player] call FUNC(status)); statement = QUOTE([_player] call FUNC(status));
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(ui\gunbag_icon_ca.paa); icon = QPATHTOF(ui\gunbag_icon_ca.paa);
}; };
}; };

View File

@ -9,7 +9,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"};
statement = QUOTE( [_player] call FUNC(putInEarPlugs) ); statement = QUOTE( [_player] call FUNC(putInEarPlugs) );
showDisabled = 0; showDisabled = 0;
priority = 2.5;
icon = QPATHTOF(UI\ACE_earplugs_x_ca.paa); icon = QPATHTOF(UI\ACE_earplugs_x_ca.paa);
}; };
class ACE_RemoveEarplugs { class ACE_RemoveEarplugs {
@ -18,7 +17,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"};
statement = QUOTE( [_player] call FUNC(removeEarPlugs) ); statement = QUOTE( [_player] call FUNC(removeEarPlugs) );
showDisabled = 0; showDisabled = 0;
priority = 2.5;
icon = QPATHTOF(UI\ACE_earplugs_x_ca.paa); icon = QPATHTOF(UI\ACE_earplugs_x_ca.paa);
}; };
}; };

View File

@ -9,7 +9,6 @@ class CfgVehicles {
condition = QUOTE([ARR_2(ACE_player,'ACE_HuntIR_monitor')] call EFUNC(common,hasItem)); condition = QUOTE([ARR_2(ACE_player,'ACE_HuntIR_monitor')] call EFUNC(common,hasItem));
statement = QUOTE([FUNC(huntir)] call CBA_fnc_execNextFrame;); statement = QUOTE([FUNC(huntir)] call CBA_fnc_execNextFrame;);
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\w_huntir_monitor_ca.paa); icon = QPATHTOF(UI\w_huntir_monitor_ca.paa);
exceptions[] = {}; exceptions[] = {};
}; };

View File

@ -48,7 +48,6 @@ class CfgVehicles {
statement = ""; statement = "";
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = 3.3;
icon = "\a3\ui_f\data\gui\Rsc\RscDisplayArsenal\cargomag_ca.paa"; icon = "\a3\ui_f\data\gui\Rsc\RscDisplayArsenal\cargomag_ca.paa";
class ACE_PassMagazinePrimary { class ACE_PassMagazinePrimary {
@ -57,7 +56,6 @@ class CfgVehicles {
statement = QUOTE([ARR_3(_player,_target,primaryWeapon _target)] call FUNC(passMagazine)); statement = QUOTE([ARR_3(_player,_target,primaryWeapon _target)] call FUNC(passMagazine));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = 3;
icon = "\a3\ui_f\data\gui\Rsc\RscDisplayArsenal\primaryweapon_ca.paa"; icon = "\a3\ui_f\data\gui\Rsc\RscDisplayArsenal\primaryweapon_ca.paa";
}; };
class ACE_PassMagazineHandgun { class ACE_PassMagazineHandgun {
@ -66,7 +64,6 @@ class CfgVehicles {
statement = QUOTE([ARR_3(_player,_target,handgunWeapon _target)] call FUNC(passMagazine)); statement = QUOTE([ARR_3(_player,_target,handgunWeapon _target)] call FUNC(passMagazine));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = 1;
icon = "\a3\ui_f\data\gui\Rsc\RscDisplayArsenal\handgun_ca.paa"; icon = "\a3\ui_f\data\gui\Rsc\RscDisplayArsenal\handgun_ca.paa";
}; };
}; };
@ -77,7 +74,6 @@ class CfgVehicles {
statement = ""; statement = "";
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = 3.2;
icon = QPATHTOF(UI\team\team_management_ca.paa); icon = QPATHTOF(UI\team\team_management_ca.paa);
class ACE_AssignTeamRed { class ACE_AssignTeamRed {
@ -87,7 +83,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
icon = QPATHTOF(UI\team\team_red_ca.paa); icon = QPATHTOF(UI\team\team_red_ca.paa);
priority = 2.4;
}; };
class ACE_AssignTeamGreen { class ACE_AssignTeamGreen {
displayName = CSTRING(AssignTeamGreen); displayName = CSTRING(AssignTeamGreen);
@ -96,7 +91,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
icon = QPATHTOF(UI\team\team_green_ca.paa); icon = QPATHTOF(UI\team\team_green_ca.paa);
priority = 2.3;
}; };
class ACE_AssignTeamBlue { class ACE_AssignTeamBlue {
displayName = CSTRING(AssignTeamBlue); displayName = CSTRING(AssignTeamBlue);
@ -105,7 +99,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
icon = QPATHTOF(UI\team\team_blue_ca.paa); icon = QPATHTOF(UI\team\team_blue_ca.paa);
priority = 2.2;
}; };
class ACE_AssignTeamYellow { class ACE_AssignTeamYellow {
displayName = CSTRING(AssignTeamYellow); displayName = CSTRING(AssignTeamYellow);
@ -114,7 +107,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
icon = QPATHTOF(UI\team\team_yellow_ca.paa); icon = QPATHTOF(UI\team\team_yellow_ca.paa);
priority = 2.1;
}; };
class ACE_UnassignTeam { class ACE_UnassignTeam {
displayName = CSTRING(LeaveTeam); displayName = CSTRING(LeaveTeam);
@ -123,7 +115,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 1; showDisabled = 1;
icon = QPATHTOF(UI\team\team_white_ca.paa); icon = QPATHTOF(UI\team\team_white_ca.paa);
priority = 2.5;
}; };
}; };
@ -134,7 +125,6 @@ class CfgVehicles {
modifierFunction = QUOTE(call FUNC(modifyJoinGroupAction)); modifierFunction = QUOTE(call FUNC(modifyJoinGroupAction));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = 2.6;
icon = QPATHTOF(UI\team\team_management_ca.paa); icon = QPATHTOF(UI\team\team_management_ca.paa);
}; };
class ACE_GetDown { class ACE_GetDown {
@ -142,7 +132,6 @@ class CfgVehicles {
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canInteractWithCivilian)); condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canInteractWithCivilian));
statement = QUOTE([ARR_2(_player,_target)] call DFUNC(getDown)); statement = QUOTE([ARR_2(_player,_target)] call DFUNC(getDown));
showDisabled = 0; showDisabled = 0;
priority = 2.2;
}; };
class ACE_SendAway { class ACE_SendAway {
displayName = CSTRING(SendAway); displayName = CSTRING(SendAway);
@ -150,7 +139,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player,_target)] call DFUNC(sendAway)); statement = QUOTE([ARR_2(_player,_target)] call DFUNC(sendAway));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = 2.0;
}; };
class ACE_Pardon { class ACE_Pardon {
displayName = CSTRING(Pardon); displayName = CSTRING(Pardon);
@ -158,7 +146,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player,_target)] call DFUNC(pardon)); statement = QUOTE([ARR_2(_player,_target)] call DFUNC(pardon));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = 2.5;
}; };
class ACE_GetOut { class ACE_GetOut {
displayName = CSTRING(GetOut); displayName = CSTRING(GetOut);
@ -166,7 +153,6 @@ class CfgVehicles {
statement = QUOTE([_target] call EFUNC(common,unloadPerson)); statement = QUOTE([_target] call EFUNC(common,unloadPerson));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = 2.6;
}; };
class GVAR(PullOutBody) { class GVAR(PullOutBody) {
@ -259,7 +245,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"}; exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
statement = ""; statement = "";
showDisabled = 1; showDisabled = 1;
priority = 3.2;
icon = QPATHTOF(UI\team\team_management_ca.paa); icon = QPATHTOF(UI\team\team_management_ca.paa);
class ACE_JoinTeamRed { class ACE_JoinTeamRed {
@ -268,7 +253,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"}; exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
statement = QUOTE([ARR_2(_player,'RED')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'RED')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
priority = 2.4;
icon = QPATHTOF(UI\team\team_red_ca.paa); icon = QPATHTOF(UI\team\team_red_ca.paa);
}; };
class ACE_JoinTeamGreen { class ACE_JoinTeamGreen {
@ -277,7 +261,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"}; exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
statement = QUOTE([ARR_2(_player,'GREEN')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'GREEN')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
priority = 2.3;
icon = QPATHTOF(UI\team\team_green_ca.paa); icon = QPATHTOF(UI\team\team_green_ca.paa);
}; };
class ACE_JoinTeamBlue { class ACE_JoinTeamBlue {
@ -286,7 +269,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"}; exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
statement = QUOTE([ARR_2(_player,'BLUE')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'BLUE')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
priority = 2.2;
icon = QPATHTOF(UI\team\team_blue_ca.paa); icon = QPATHTOF(UI\team\team_blue_ca.paa);
}; };
class ACE_JoinTeamYellow { class ACE_JoinTeamYellow {
@ -295,7 +277,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"}; exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
statement = QUOTE([ARR_2(_player,'YELLOW')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'YELLOW')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
priority = 2.1;
icon = QPATHTOF(UI\team\team_yellow_ca.paa); icon = QPATHTOF(UI\team\team_yellow_ca.paa);
}; };
class ACE_LeaveTeam { class ACE_LeaveTeam {
@ -304,7 +285,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"}; exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
statement = QUOTE([ARR_2(_player,'MAIN')] call DFUNC(joinTeam)); statement = QUOTE([ARR_2(_player,'MAIN')] call DFUNC(joinTeam));
showDisabled = 1; showDisabled = 1;
priority = 2.5;
icon = QPATHTOF(UI\team\team_white_ca.paa); icon = QPATHTOF(UI\team\team_white_ca.paa);
}; };
class ACE_BecomeLeader { class ACE_BecomeLeader {
@ -313,7 +293,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"}; exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
statement = QUOTE(_this call DFUNC(doBecomeLeader)); statement = QUOTE(_this call DFUNC(doBecomeLeader));
showDisabled = 1; showDisabled = 1;
priority = 1.0;
icon = QPATHTOF(UI\team\team_white_ca.paa); icon = QPATHTOF(UI\team\team_white_ca.paa);
}; };
class ACE_LeaveGroup { class ACE_LeaveGroup {
@ -322,7 +301,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"}; exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
statement = QUOTE(_oldGroup = units group _player; _newGroup = createGroup side _player; [_player] joinSilent _newGroup; {_player reveal _x} forEach _oldGroup;); statement = QUOTE(_oldGroup = units group _player; _newGroup = createGroup side _player; [_player] joinSilent _newGroup; {_player reveal _x} forEach _oldGroup;);
showDisabled = 1; showDisabled = 1;
priority = 1.2;
icon = QPATHTOF(UI\team\team_management_ca.paa); icon = QPATHTOF(UI\team\team_management_ca.paa);
}; };
}; };
@ -333,7 +311,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"}; exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
statement = ""; statement = "";
showDisabled = 1; showDisabled = 1;
priority = 4.5;
icon = ""; // @todo icon = ""; // @todo
}; };
}; };
@ -543,7 +520,6 @@ class CfgVehicles {
statement = QUOTE(_this call FUNC(push)); statement = QUOTE(_this call FUNC(push));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = -1;
}; };
class ACE_Passengers { class ACE_Passengers {
displayName = CSTRING(Passengers); displayName = CSTRING(Passengers);
@ -637,17 +613,14 @@ class CfgVehicles {
selection = ""; selection = "";
distance = 2; distance = 2;
condition = "true"; condition = "true";
class ACE_OpenBox { class ACE_OpenBox {
displayName = CSTRING(OpenBox); displayName = CSTRING(OpenBox);
condition = QUOTE((alive _target) && {(getNumber (configFile >> 'CfgVehicles' >> (typeOf _target) >> 'disableInventory')) == 0}); condition = QUOTE((alive _target) && {(getNumber (configFile >> 'CfgVehicles' >> (typeOf _target) >> 'disableInventory')) == 0});
statement = QUOTE(_player action [ARR_2(QUOTE(QUOTE(Gear)), _target)]); statement = QUOTE(_player action [ARR_2(QUOTE(QUOTE(Gear)), _target)]);
showDisabled = 0; showDisabled = 0;
priority = -1;
}; };
}; };
}; };
class ACE_SelfActions {}; class ACE_SelfActions {};
}; };
class Slingload_base_F: ReammoBox_F {}; class Slingload_base_F: ReammoBox_F {};

View File

@ -8,7 +8,6 @@ class CfgVehicles {
condition = QUOTE(call FUNC(canShow) && !GVAR(Kestrel4500)); condition = QUOTE(call FUNC(canShow) && !GVAR(Kestrel4500));
statement = QUOTE(call FUNC(createKestrelDialog)); statement = QUOTE(call FUNC(createKestrelDialog));
showDisabled = 0; showDisabled = 0;
priority = 0.1;
icon = QPATHTOF(UI\Kestrel4500_Icon.paa); icon = QPATHTOF(UI\Kestrel4500_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
class GVAR(show) { class GVAR(show) {
@ -16,7 +15,6 @@ class CfgVehicles {
condition = QUOTE(call FUNC(canShow) && !GVAR(Overlay)); condition = QUOTE(call FUNC(canShow) && !GVAR(Overlay));
statement = QUOTE(call FUNC(displayKestrel)); statement = QUOTE(call FUNC(displayKestrel));
showDisabled = 0; showDisabled = 0;
priority = 0.2;
icon = QPATHTOF(UI\Kestrel4500_Icon.paa); icon = QPATHTOF(UI\Kestrel4500_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
}; };
@ -25,7 +23,6 @@ class CfgVehicles {
condition = QUOTE(GVAR(Overlay)); condition = QUOTE(GVAR(Overlay));
statement = QUOTE(call FUNC(displayKestrel)); statement = QUOTE(call FUNC(displayKestrel));
showDisabled = 0; showDisabled = 0;
priority = 0.3;
icon = QPATHTOF(UI\Kestrel4500_Icon.paa); icon = QPATHTOF(UI\Kestrel4500_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
}; };

View File

@ -7,7 +7,6 @@ class CfgVehicles {
condition = QUOTE(true); condition = QUOTE(true);
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"}; exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
insertChildren = QUOTE(_this call FUNC(getMagazineChildren)); insertChildren = QUOTE(_this call FUNC(getMagazineChildren));
priority = -2;
icon = QPATHTOEF(common,UI\repack_ca.paa); icon = QPATHTOEF(common,UI\repack_ca.paa);
}; };
}; };

View File

@ -10,7 +10,6 @@ class CfgVehicles {
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
insertChildren = QUOTE(_this call DFUNC(compileFlashlightMenu)); insertChildren = QUOTE(_this call DFUNC(compileFlashlightMenu));
showDisabled = 0; showDisabled = 0;
priority = 99;
}; };
}; };
}; };

View File

@ -2,14 +2,12 @@ class CfgVehicles {
class Man; class Man;
class CAManBase: Man { class CAManBase: Man {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_MapGpsShow { class ACE_MapGpsShow {
displayName = CSTRING(MapGpsShow); displayName = CSTRING(MapGpsShow);
condition = QUOTE((!GVAR(mapGpsShow)) && {call FUNC(canUseMapGPS)}); condition = QUOTE((!GVAR(mapGpsShow)) && {call FUNC(canUseMapGPS)});
statement = QUOTE(GVAR(mapGpsShow) = true; [GVAR(mapGpsShow)] call FUNC(openMapGps)); statement = QUOTE(GVAR(mapGpsShow) = true; [GVAR(mapGpsShow)] call FUNC(openMapGps));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
showDisabled = 0; showDisabled = 0;
priority = 0;
}; };
class ACE_MapGpsHide { class ACE_MapGpsHide {
displayName = CSTRING(MapGpsHide); displayName = CSTRING(MapGpsHide);
@ -17,24 +15,19 @@ class CfgVehicles {
statement = QUOTE(GVAR(mapGpsShow) = false; [GVAR(mapGpsShow)] call FUNC(openMapGps)); statement = QUOTE(GVAR(mapGpsShow) = false; [GVAR(mapGpsShow)] call FUNC(openMapGps));
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
showDisabled = 0; showDisabled = 0;
priority = 0;
}; };
class ACE_MapTools { class ACE_MapTools {
displayName = CSTRING(MapTools_Menu); displayName = CSTRING(MapTools_Menu);
condition = QUOTE(call FUNC(canUseMapTools)); condition = QUOTE(call FUNC(canUseMapTools));
statement = ""; statement = "";
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
showDisabled = 0; showDisabled = 0;
priority = 100;
class ACE_MapToolsHide { class ACE_MapToolsHide {
displayName = CSTRING(MapToolsHide); displayName = CSTRING(MapToolsHide);
condition = QUOTE(GVAR(mapTool_Shown) != 0); condition = QUOTE(GVAR(mapTool_Shown) != 0);
statement = QUOTE(GVAR(mapTool_Shown) = 0;); statement = QUOTE(GVAR(mapTool_Shown) = 0;);
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
showDisabled = 1; showDisabled = 1;
priority = 5;
}; };
class ACE_MapToolsShowNormal { class ACE_MapToolsShowNormal {
displayName = CSTRING(MapToolsShowNormal); displayName = CSTRING(MapToolsShowNormal);
@ -42,7 +35,6 @@ class CfgVehicles {
statement = QUOTE(GVAR(mapTool_Shown) = 1;); statement = QUOTE(GVAR(mapTool_Shown) = 1;);
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
showDisabled = 1; showDisabled = 1;
priority = 4;
}; };
class ACE_MapToolsShowSmall { class ACE_MapToolsShowSmall {
displayName = CSTRING(MapToolsShowSmall); displayName = CSTRING(MapToolsShowSmall);
@ -50,7 +42,6 @@ class CfgVehicles {
statement = QUOTE(GVAR(mapTool_Shown) = 2;); statement = QUOTE(GVAR(mapTool_Shown) = 2;);
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
showDisabled = 1; showDisabled = 1;
priority = 3;
}; };
class ACE_MapToolsAlignNorth { class ACE_MapToolsAlignNorth {
displayName = CSTRING(MapToolsAlignNorth); displayName = CSTRING(MapToolsAlignNorth);
@ -58,7 +49,6 @@ class CfgVehicles {
statement = QUOTE(GVAR(mapTool_angle) = 0;); statement = QUOTE(GVAR(mapTool_angle) = 0;);
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
showDisabled = 1; showDisabled = 1;
priority = 2;
}; };
class ACE_MapToolsAlignCompass { class ACE_MapToolsAlignCompass {
displayName = CSTRING(MapToolsAlignCompass); displayName = CSTRING(MapToolsAlignCompass);
@ -66,7 +56,6 @@ class CfgVehicles {
statement = QUOTE(GVAR(mapTool_angle) = getDir ACE_player;); statement = QUOTE(GVAR(mapTool_angle) = getDir ACE_player;);
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
showDisabled = 1; showDisabled = 1;
priority = 1;
}; };
}; };
}; };

View File

@ -15,7 +15,6 @@ class ACE_Head {
statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
showDisabled = 1; showDisabled = 1;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
// Advanced medical // Advanced medical
@ -26,7 +25,6 @@ class ACE_Head {
statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
@ -92,7 +90,6 @@ class ACE_Torso {
statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
showDisabled = 1; showDisabled = 1;
priority = 2;
enableInside = 1; enableInside = 1;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -103,7 +100,6 @@ class ACE_Torso {
statement = QUOTE([ARR_4(_player, _target, 'body', 'BodyBag')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'BodyBag')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
showDisabled = 1; showDisabled = 1;
priority = 2;
enableInside = 1; enableInside = 1;
}; };
class TriageCard { class TriageCard {
@ -113,7 +109,6 @@ class ACE_Torso {
statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard)); statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard));
EXCEPTIONS EXCEPTIONS
showDisabled = 1; showDisabled = 1;
priority = 2;
enableInside = 1; enableInside = 1;
icon = QPATHTOF(UI\icons\triageCard.paa); icon = QPATHTOF(UI\icons\triageCard.paa);
}; };
@ -124,7 +119,6 @@ class ACE_Torso {
statement = QUOTE([ARR_4(_player, _target, 'body', 'Diagnose')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'Diagnose')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = ""; icon = "";
}; };
@ -136,7 +130,6 @@ class ACE_Torso {
statement = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
showDisabled = 0; showDisabled = 0;
priority = 2;
enableInside = 1; enableInside = 1;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -200,7 +193,6 @@ class ACE_ArmLeft {
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
showDisabled = 1; showDisabled = 1;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -212,7 +204,6 @@ class ACE_ArmLeft {
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
@ -363,7 +354,6 @@ class ACE_ArmRight {
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
showDisabled = 1; showDisabled = 1;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -375,7 +365,6 @@ class ACE_ArmRight {
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
@ -524,7 +513,6 @@ class ACE_LegLeft {
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
showDisabled = 1; showDisabled = 1;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -537,7 +525,6 @@ class ACE_LegLeft {
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
@ -672,7 +659,6 @@ class ACE_LegRight {
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
showDisabled = 1; showDisabled = 1;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -685,7 +671,6 @@ class ACE_LegRight {
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(treatment));
EXCEPTIONS EXCEPTIONS
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {

View File

@ -22,7 +22,6 @@ class Medical {
exceptions[] = {"isNotInside", "isNotSwimming"}; exceptions[] = {"isNotInside", "isNotSwimming"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment));
showDisabled = 1; showDisabled = 1;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
// Advanced medical // Advanced medical
@ -33,7 +32,6 @@ class Medical {
exceptions[] = {"isNotInside", "isNotSwimming"}; exceptions[] = {"isNotInside", "isNotSwimming"};
statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
@ -80,7 +78,6 @@ class Medical {
statement = QUOTE([ARR_3(_target, true, 1)] call DFUNC(displayPatientInformation)); statement = QUOTE([ARR_3(_target, true, 1)] call DFUNC(displayPatientInformation));
modifierFunction = QUOTE([ARR_4(_target,_player,1,_this select 3)] call FUNC(modifyMedicalAction)); modifierFunction = QUOTE([ARR_4(_target,_player,1,_this select 3)] call FUNC(modifyMedicalAction));
showDisabled = 1; showDisabled = 1;
priority = 2;
icon = QPATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
class Bandage { class Bandage {
@ -90,7 +87,6 @@ class Medical {
exceptions[] = {"isNotInside", "isNotSwimming"}; exceptions[] = {"isNotInside", "isNotSwimming"};
statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment));
showDisabled = 1; showDisabled = 1;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -101,7 +97,6 @@ class Medical {
exceptions[] = {"isNotInside", "isNotSwimming"}; exceptions[] = {"isNotInside", "isNotSwimming"};
statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard)); statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard));
showDisabled = 1; showDisabled = 1;
priority = 2;
icon = QPATHTOF(UI\icons\triageCard.paa); icon = QPATHTOF(UI\icons\triageCard.paa);
}; };
@ -113,7 +108,6 @@ class Medical {
exceptions[] = {"isNotInside", "isNotSwimming"}; exceptions[] = {"isNotInside", "isNotSwimming"};
statement = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
@ -154,7 +148,6 @@ class Medical {
exceptions[] = {"isNotInside", "isNotSwimming"}; exceptions[] = {"isNotInside", "isNotSwimming"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment));
showDisabled = 1; showDisabled = 1;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -166,7 +159,6 @@ class Medical {
exceptions[] = {"isNotInside", "isNotSwimming"}; exceptions[] = {"isNotInside", "isNotSwimming"};
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
@ -261,7 +253,6 @@ class Medical {
exceptions[] = {"isNotInside", "isNotSwimming"}; exceptions[] = {"isNotInside", "isNotSwimming"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment));
showDisabled = 1; showDisabled = 1;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -273,7 +264,6 @@ class Medical {
exceptions[] = {"isNotInside", "isNotSwimming"}; exceptions[] = {"isNotInside", "isNotSwimming"};
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
@ -364,7 +354,6 @@ class Medical {
exceptions[] = {"isNotInside", "isNotSwimming"}; exceptions[] = {"isNotInside", "isNotSwimming"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment));
showDisabled = 1; showDisabled = 1;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -377,7 +366,6 @@ class Medical {
exceptions[] = {"isNotInside", "isNotSwimming"}; exceptions[] = {"isNotInside", "isNotSwimming"};
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {
@ -456,7 +444,6 @@ class Medical {
exceptions[] = {"isNotInside", "isNotSwimming"}; exceptions[] = {"isNotInside", "isNotSwimming"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment));
showDisabled = 1; showDisabled = 1;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
@ -469,7 +456,6 @@ class Medical {
exceptions[] = {"isNotInside", "isNotSwimming"}; exceptions[] = {"isNotInside", "isNotSwimming"};
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(treatment)); statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\icons\bandage.paa); icon = QPATHTOF(UI\icons\bandage.paa);
}; };
class PackingBandage: fieldDressing { class PackingBandage: fieldDressing {

View File

@ -548,7 +548,6 @@ class CfgVehicles {
condition = QUOTE(_target getVariable [ARR_2(QUOTE(QUOTE(ACE_isUnconscious)), false)] && {alive _target} && {vehicle _target == _target}); condition = QUOTE(_target getVariable [ARR_2(QUOTE(QUOTE(ACE_isUnconscious)), false)] && {alive _target} && {vehicle _target == _target});
statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionLoadUnit)); statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionLoadUnit));
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
exceptions[] = {"isNotDragging", "isNotCarrying", "isNotSwimming"}; exceptions[] = {"isNotDragging", "isNotCarrying", "isNotSwimming"};
insertChildren = QUOTE(call DFUNC(addLoadPatientActions)); insertChildren = QUOTE(call DFUNC(addLoadPatientActions));
@ -559,7 +558,6 @@ class CfgVehicles {
condition = QUOTE(_target getVariable [ARR_2(QUOTE(QUOTE(ACE_isUnconscious)), false)] && {alive _target} && {vehicle _target != _target} && {vehicle _player == _player}); condition = QUOTE(_target getVariable [ARR_2(QUOTE(QUOTE(ACE_isUnconscious)), false)] && {alive _target} && {vehicle _target != _target} && {vehicle _player == _player});
statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionUnloadUnit)); statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionUnloadUnit));
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\icons\medical_cross.paa); icon = QPATHTOF(UI\icons\medical_cross.paa);
exceptions[] = {"isNotDragging", "isNotCarrying", "isNotInside", "isNotSwimming"}; exceptions[] = {"isNotDragging", "isNotCarrying", "isNotInside", "isNotSwimming"};
}; };
@ -914,20 +912,17 @@ class CfgVehicles {
class ACE_Actions: ACE_Actions { class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions { class ACE_MainActions: ACE_MainActions {
selection = "cover_action"; selection = "cover_action";
class ACE_OpenLid { class ACE_OpenLid {
displayName = CSTRING(openLid); displayName = CSTRING(openLid);
condition = QUOTE(alive _target && {_target animationPhase 'Cover' < 0.5}); condition = QUOTE(alive _target && {_target animationPhase 'Cover' < 0.5});
statement = QUOTE(_target animate ARR_2(['Cover',1])); statement = QUOTE(_target animate ARR_2(['Cover',1]));
showDisabled = 0; showDisabled = 0;
priority = -1;
}; };
class ACE_CloseLid { class ACE_CloseLid {
displayName = CSTRING(closeLid); displayName = CSTRING(closeLid);
condition = QUOTE(alive _target && {_target animationPhase 'Cover' >= 0.5}); condition = QUOTE(alive _target && {_target animationPhase 'Cover' >= 0.5});
statement = QUOTE(_target animate ARR_2(['Cover',0])); statement = QUOTE(_target animate ARR_2(['Cover',0]));
showDisabled = 0; showDisabled = 0;
priority = -1;
}; };
}; };
}; };

View File

@ -7,7 +7,6 @@ class CfgVehicles {
displayName = CSTRING(rangetable_action); displayName = CSTRING(rangetable_action);
condition = QUOTE(_this call FUNC(rangeTableCanUse)); condition = QUOTE(_this call FUNC(rangeTableCanUse));
statement = QUOTE(_this call FUNC(rangeTableOpen)); statement = QUOTE(_this call FUNC(rangeTableOpen));
priority = 0;
icon = QPATHTOF(UI\icon_rangeTable.paa); icon = QPATHTOF(UI\icon_rangeTable.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
}; };

View File

@ -10,7 +10,6 @@ class CfgVehicles {
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"}; exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
statement = QUOTE( [ARR_2(_player, currentMuzzle _player)] call FUNC(clearJam); ); statement = QUOTE( [ARR_2(_player, currentMuzzle _player)] call FUNC(clearJam); );
showDisabled = 0; showDisabled = 0;
priority = 4;
icon = QPATHTOEF(common,UI\repack_ca.paa); icon = QPATHTOEF(common,UI\repack_ca.paa);
}; };
class GVAR(SwapBarrel) { class GVAR(SwapBarrel) {
@ -19,7 +18,6 @@ class CfgVehicles {
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"}; exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
statement = QUOTE( [ARR_3(_player, _player, currentWeapon _player)] call FUNC(swapBarrel); ); statement = QUOTE( [ARR_3(_player, _player, currentWeapon _player)] call FUNC(swapBarrel); );
showDisabled = 0; showDisabled = 0;
priority = 3;
icon = QPATHTOF(UI\spare_barrel_ca.paa); icon = QPATHTOF(UI\spare_barrel_ca.paa);
}; };
class GVAR(CheckTemperature) { class GVAR(CheckTemperature) {
@ -28,7 +26,6 @@ class CfgVehicles {
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"}; exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
statement = QUOTE( [ARR_3(_player, _player, currentWeapon _player)] call FUNC(checkTemperature); ); statement = QUOTE( [ARR_3(_player, _player, currentWeapon _player)] call FUNC(checkTemperature); );
showDisabled = 0; showDisabled = 0;
priority = 2.9;
icon = QPATHTOF(UI\temp_ca.paa); icon = QPATHTOF(UI\temp_ca.paa);
}; };
class GVAR(CheckTemperatureSpareBarrels) { class GVAR(CheckTemperatureSpareBarrels) {
@ -37,7 +34,6 @@ class CfgVehicles {
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"}; exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
statement = QUOTE( [_player] call FUNC(checkSpareBarrelsTemperatures); ); statement = QUOTE( [_player] call FUNC(checkSpareBarrelsTemperatures); );
showDisabled = 0; showDisabled = 0;
priority = 2.8;
icon = QUOTE(PATHTOF(UI\temp_ca.paa)); icon = QUOTE(PATHTOF(UI\temp_ca.paa));
}; };
}; };

View File

@ -17,7 +17,6 @@ class CfgVehicles {
condition = QUOTE(_target getVariable [ARR_2(QQGVAR(canCut),false)]); condition = QUOTE(_target getVariable [ARR_2(QQGVAR(canCut),false)]);
statement = QUOTE([ARR_2(_player,_target)] call FUNC(cutParachute)); statement = QUOTE([ARR_2(_player,_target)] call FUNC(cutParachute));
showDisabled = 0; showDisabled = 0;
priority = 2.9;
icon = QPATHTOF(UI\cut_ca.paa); icon = QPATHTOF(UI\cut_ca.paa);
}; };
}; };

View File

@ -19,7 +19,6 @@ class CfgVehicles {
condition = QUOTE(call FUNC(canShow) && !GVAR(RangeCardOpened)); condition = QUOTE(call FUNC(canShow) && !GVAR(RangeCardOpened));
statement = QUOTE(false call FUNC(openRangeCard)); statement = QUOTE(false call FUNC(openRangeCard));
showDisabled = 0; showDisabled = 0;
priority = 0.1;
icon = QPATHTOF(UI\RangeCard_Icon.paa); icon = QPATHTOF(UI\RangeCard_Icon.paa);
exceptions[] = {"notOnMap"}; exceptions[] = {"notOnMap"};
class GVAR(openCopy) { class GVAR(openCopy) {
@ -27,7 +26,6 @@ class CfgVehicles {
condition = QUOTE(call FUNC(canShowCopy) && !GVAR(RangeCardOpened)); condition = QUOTE(call FUNC(canShowCopy) && !GVAR(RangeCardOpened));
statement = QUOTE(true call FUNC(openRangeCard)); statement = QUOTE(true call FUNC(openRangeCard));
showDisabled = 0; showDisabled = 0;
priority = 0.1;
icon = QPATHTOF(UI\RangeCard_Icon.paa); icon = QPATHTOF(UI\RangeCard_Icon.paa);
exceptions[] = {"notOnMap"}; exceptions[] = {"notOnMap"};
}; };
@ -36,7 +34,6 @@ class CfgVehicles {
condition = QUOTE(call FUNC(canShow) && !GVAR(RangeCardOpened)); condition = QUOTE(call FUNC(canShow) && !GVAR(RangeCardOpened));
statement = QUOTE(GVAR(zeroRangeCopy)=GVAR(zeroRange); GVAR(boreHeightCopy)=GVAR(boreHeight); GVAR(ammoClassCopy)=GVAR(ammoClass); GVAR(magazineClassCopy)=GVAR(magazineClass); GVAR(weaponClassCopy)=GVAR(weaponClass);); statement = QUOTE(GVAR(zeroRangeCopy)=GVAR(zeroRange); GVAR(boreHeightCopy)=GVAR(boreHeight); GVAR(ammoClassCopy)=GVAR(ammoClass); GVAR(magazineClassCopy)=GVAR(magazineClass); GVAR(weaponClassCopy)=GVAR(weaponClass););
showDisabled = 0; showDisabled = 0;
priority = 0.1;
icon = QPATHTOF(UI\RangeCard_Icon.paa); icon = QPATHTOF(UI\RangeCard_Icon.paa);
exceptions[] = {"notOnMap"}; exceptions[] = {"notOnMap"};
}; };

View File

@ -179,7 +179,6 @@ class CfgVehicles {
statement = QUOTE(_this call FUNC(grabAmmo)); statement = QUOTE(_this call FUNC(grabAmmo));
exceptions[] = {"isNotInside"}; exceptions[] = {"isNotInside"};
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(ui\icon_rearm_interact.paa); icon = QPATHTOF(ui\icon_rearm_interact.paa);
}; };
}; };

View File

@ -8,7 +8,6 @@
statement = ""; \ statement = ""; \
exceptions[] = {INTERACT_EXCEPTIONS}; \ exceptions[] = {INTERACT_EXCEPTIONS}; \
showDisabled = 0; \ showDisabled = 0; \
priority = 2; \
icon = QPATHTOF(ui\icon_refuel_interact.paa); \ icon = QPATHTOF(ui\icon_refuel_interact.paa); \
class GVAR(PickUpNozzle) { \ class GVAR(PickUpNozzle) { \
displayName = CSTRING(TakeNozzle); \ displayName = CSTRING(TakeNozzle); \

View File

@ -7,7 +7,6 @@
statement = ""; \ statement = ""; \
runOnHover = 1; \ runOnHover = 1; \
showDisabled = 0; \ showDisabled = 0; \
priority = 2; \
icon = "\A3\ui_f\data\igui\cfg\actions\repair_ca.paa"; \ icon = "\A3\ui_f\data\igui\cfg\actions\repair_ca.paa"; \
distance = 4; \ distance = 4; \
exceptions[] = {"isNotSwimming", "isNotOnLadder"}; \ exceptions[] = {"isNotSwimming", "isNotOnLadder"}; \
@ -408,12 +407,12 @@ class CfgVehicles {
class ReammoBox_F; class ReammoBox_F;
class Land_RepairDepot_01_base_F: ReammoBox_F { // TanksDLC - Repair Depo Thing class Land_RepairDepot_01_base_F: ReammoBox_F { // TanksDLC - Repair Depo Thing
GVAR(canRepair) = 1; GVAR(canRepair) = 1;
transportRepair = 0; transportRepair = 0;
}; };
class Van_02_base_F; class Van_02_base_F;
class Van_02_service_base_F: Van_02_base_F { // OrangeDLC class Van_02_service_base_F: Van_02_base_F { // OrangeDLC
GVAR(canRepair) = 1; GVAR(canRepair) = 1;
transportRepair = 0; transportRepair = 0;
}; };
class Slingload_01_Base_F; class Slingload_01_Base_F;

View File

@ -72,7 +72,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player, side group _player)] call FUNC(moveRallypoint)); statement = QUOTE([ARR_2(_player, side group _player)] call FUNC(moveRallypoint));
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = -0.5;
}; };
}; };
}; };
@ -113,7 +112,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
position = "[-0.05,-0.35,-2.6]"; position = "[-0.05,-0.35,-2.6]";
showDisabled = 1; showDisabled = 1;
priority = 1;
}; };
}; };
}; };
@ -136,7 +134,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
position = "[-0.05,-0.35,-2.6]"; position = "[-0.05,-0.35,-2.6]";
showDisabled = 1; showDisabled = 1;
priority = 1;
}; };
}; };
}; };
@ -159,7 +156,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
position = "[-0.05,-0.35,-2.6]"; position = "[-0.05,-0.35,-2.6]";
showDisabled = 1; showDisabled = 1;
priority = 1;
}; };
}; };
}; };
@ -183,7 +179,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
position = "[-0.05,-0.35,-2.6]"; position = "[-0.05,-0.35,-2.6]";
showDisabled = 1; showDisabled = 1;
priority = 1;
}; };
}; };
}; };
@ -206,7 +201,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
position = "[-0.05,-0.35,-2.6]"; position = "[-0.05,-0.35,-2.6]";
showDisabled = 1; showDisabled = 1;
priority = 1;
}; };
}; };
}; };
@ -229,7 +223,6 @@ class CfgVehicles {
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
position = "[-0.05,-0.35,-2.6]"; position = "[-0.05,-0.35,-2.6]";
showDisabled = 1; showDisabled = 1;
priority = 1;
}; };
}; };
}; };

View File

@ -12,7 +12,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2({_this call FUNC(deploy)},_this)] call CBA_fnc_execNextFrame); statement = QUOTE([ARR_2({_this call FUNC(deploy)},_this)] call CBA_fnc_execNextFrame);
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};
showDisabled = 0; showDisabled = 0;
priority = 4;
icon = QPATHTOF(UI\icon_sandbag_ca.paa); icon = QPATHTOF(UI\icon_sandbag_ca.paa);
}; };
}; };
@ -92,7 +91,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player,_target)] call FUNC(pickup)); statement = QUOTE([ARR_2(_player,_target)] call FUNC(pickup));
showDisabled = 0; showDisabled = 0;
exceptions[] = {}; exceptions[] = {};
priority = 5;
icon = QPATHTOF(UI\icon_sandbag_ca.paa); icon = QPATHTOF(UI\icon_sandbag_ca.paa);
}; };
}; };

View File

@ -9,7 +9,6 @@ class CfgVehicles {
condition = QUOTE([ACE_player] call FUNC(canAdjustZero)); condition = QUOTE([ACE_player] call FUNC(canAdjustZero));
statement = QUOTE([ACE_player] call FUNC(adjustZero)); statement = QUOTE([ACE_player] call FUNC(adjustZero));
showDisabled = 0; showDisabled = 0;
priority = 0.2;
//icon = QPATHTOF(UI\...); // TODO //icon = QPATHTOF(UI\...); // TODO
exceptions[] = {"notOnMap", "isNotInside", "isNotSwimming", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSwimming", "isNotSitting"};
}; };
@ -19,7 +18,6 @@ class CfgVehicles {
condition = QUOTE([ACE_player] call FUNC(canResetZero)); condition = QUOTE([ACE_player] call FUNC(canResetZero));
statement = QUOTE([ACE_player] call FUNC(resetZero)); statement = QUOTE([ACE_player] call FUNC(resetZero));
showDisabled = 0; showDisabled = 0;
priority = 0.2;
//icon = QPATHTOF(UI\...); // TODO //icon = QPATHTOF(UI\...); // TODO
exceptions[] = {"notOnMap", "isNotInside", "isNotSwimming", "isNotSitting"}; exceptions[] = {"notOnMap", "isNotInside", "isNotSwimming", "isNotSitting"};
}; };

View File

@ -11,7 +11,6 @@ class CfgVehicles {
condition = QUOTE([ARR_2(_player,'ACE_SpottingScope')] call EFUNC(common,hasItem)); condition = QUOTE([ARR_2(_player,'ACE_SpottingScope')] call EFUNC(common,hasItem));
statement = QUOTE([ARR_2(_player,'ACE_SpottingScope')] call FUNC(place)); statement = QUOTE([ARR_2(_player,'ACE_SpottingScope')] call FUNC(place));
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\w_spottingscope_ca.paa); icon = QPATHTOF(UI\w_spottingscope_ca.paa);
}; };
}; };
@ -60,7 +59,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_target,_player)] call FUNC(pickup)); statement = QUOTE([ARR_2(_target,_player)] call FUNC(pickup));
showDisabled = 0; showDisabled = 0;
exceptions[] = {}; exceptions[] = {};
priority = 5;
icon = QPATHTOF(UI\w_spottingscope_ca.paa); icon = QPATHTOF(UI\w_spottingscope_ca.paa);
}; };
}; };

View File

@ -12,7 +12,6 @@ class CfgVehicles {
statement = QUOTE([_player] call FUNC(deployTL)); statement = QUOTE([_player] call FUNC(deployTL));
exceptions[] = {}; exceptions[] = {};
showDisabled = 1; showDisabled = 1;
priority = 4;
}; };
}; };
}; };
@ -86,7 +85,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player,_target)] call FUNC(pickupTL)); statement = QUOTE([ARR_2(_player,_target)] call FUNC(pickupTL));
showDisabled = 0; showDisabled = 0;
exceptions[] = {}; exceptions[] = {};
priority = 5;
}; };
class ACE_Position { class ACE_Position {
@ -98,7 +96,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2({_this call FUNC(positionTL)},[ARR_2(_player,_target)])] call CBA_fnc_execNextFrame); statement = QUOTE([ARR_2({_this call FUNC(positionTL)},[ARR_2(_player,_target)])] call CBA_fnc_execNextFrame);
showDisabled = 0; showDisabled = 0;
exceptions[] = {}; exceptions[] = {};
priority = 5;
}; };
}; };
}; };

View File

@ -10,13 +10,11 @@ class CBA_Extended_EventHandlers;
displayName = CSTRING(ContinueDiggingTrench); \ displayName = CSTRING(ContinueDiggingTrench); \
condition = QUOTE([ARR_2(_target,_player)] call FUNC(canContinueDiggingTrench)); \ condition = QUOTE([ARR_2(_target,_player)] call FUNC(canContinueDiggingTrench)); \
statement = QUOTE([ARR_2(_target,_player)] call FUNC(continueDiggingTrench);); \ statement = QUOTE([ARR_2(_target,_player)] call FUNC(continueDiggingTrench);); \
priority = -1; \
}; \ }; \
class ACE_RemoveTrench { \ class ACE_RemoveTrench { \
displayName = CSTRING(RemoveEnvelope); \ displayName = CSTRING(RemoveEnvelope); \
condition = QUOTE([ARR_2(_target,_player)] call FUNC(canRemoveTrench)); \ condition = QUOTE([ARR_2(_target,_player)] call FUNC(canRemoveTrench)); \
statement = QUOTE([ARR_2(_target,_player)] call FUNC(removeTrench);); \ statement = QUOTE([ARR_2(_target,_player)] call FUNC(removeTrench);); \
priority = -1; \
}; \ }; \
}; \ }; \
} }
@ -33,7 +31,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2({_this call FUNC(placeTrench)},[ARR_2(_this select 0,'ACE_envelope_small')])] call CBA_fnc_execNextFrame); statement = QUOTE([ARR_2({_this call FUNC(placeTrench)},[ARR_2(_this select 0,'ACE_envelope_small')])] call CBA_fnc_execNextFrame);
exceptions[] = {}; exceptions[] = {};
showDisabled = 0; showDisabled = 0;
priority = 4;
//icon = QPATHTOF(UI\icon_sandbag_ca.paa); //icon = QPATHTOF(UI\icon_sandbag_ca.paa);
}; };
class GVAR(digEnvelopeBig) { class GVAR(digEnvelopeBig) {
@ -43,7 +40,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2({_this call FUNC(placeTrench)},[ARR_2(_this select 0,'ACE_envelope_big')])] call CBA_fnc_execNextFrame); statement = QUOTE([ARR_2({_this call FUNC(placeTrench)},[ARR_2(_this select 0,'ACE_envelope_big')])] call CBA_fnc_execNextFrame);
exceptions[] = {}; exceptions[] = {};
showDisabled = 0; showDisabled = 0;
priority = 4;
//icon = QPATHTOF(UI\icon_sandbag_ca.paa); //icon = QPATHTOF(UI\icon_sandbag_ca.paa);
}; };
}; };

View File

@ -11,7 +11,6 @@ class CfgVehicles {
condition = QUOTE([ARR_2(_player,'ACE_Tripod')] call EFUNC(common,hasItem)); condition = QUOTE([ARR_2(_player,'ACE_Tripod')] call EFUNC(common,hasItem));
statement = QUOTE([ARR_2(_player,'ACE_Tripod')] call FUNC(place)); statement = QUOTE([ARR_2(_player,'ACE_Tripod')] call FUNC(place));
showDisabled = 0; showDisabled = 0;
priority = 2;
icon = QPATHTOF(UI\w_sniper_tripod_ca.paa); icon = QPATHTOF(UI\w_sniper_tripod_ca.paa);
}; };
}; };
@ -78,7 +77,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player,_target)] call FUNC(pickup)); statement = QUOTE([ARR_2(_player,_target)] call FUNC(pickup));
showDisabled = 0; showDisabled = 0;
exceptions[] = {}; exceptions[] = {};
priority = 5;
icon = QPATHTOF(UI\w_sniper_tripod_ca.paa); icon = QPATHTOF(UI\w_sniper_tripod_ca.paa);
}; };
@ -91,7 +89,6 @@ class CfgVehicles {
statement = QUOTE([ARR_2({_this call FUNC(adjust)}, [ARR_2(_player,_target)])] call CBA_fnc_execNextFrame); statement = QUOTE([ARR_2({_this call FUNC(adjust)}, [ARR_2(_player,_target)])] call CBA_fnc_execNextFrame);
showDisabled = 0; showDisabled = 0;
exceptions[] = {}; exceptions[] = {};
priority = 5;
icon = QPATHTOF(UI\w_sniper_tripod_ca.paa); icon = QPATHTOF(UI\w_sniper_tripod_ca.paa);
}; };
}; };

View File

@ -4,21 +4,18 @@
displayName = CSTRING(Action_UnLock); \ displayName = CSTRING(Action_UnLock); \
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(2,3)]}); \ condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(2,3)]}); \
statement = QUOTE([ARR_3(QUOTE(QGVAR(setVehicleLock)), [ARR_2(_target,false)], [_target])] call CBA_fnc_targetEvent); \ statement = QUOTE([ARR_3(QUOTE(QGVAR(setVehicleLock)), [ARR_2(_target,false)], [_target])] call CBA_fnc_targetEvent); \
priority = 0.3; \
icon = QPATHTOF(UI\key_menuIcon_ca.paa); \ icon = QPATHTOF(UI\key_menuIcon_ca.paa); \
}; \ }; \
class ACE_lockVehicle { \ class ACE_lockVehicle { \
displayName = CSTRING(Action_Lock); \ displayName = CSTRING(Action_Lock); \
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(0,1)]}); \ condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(0,1)]}); \
statement = QUOTE([ARR_3(QUOTE(QGVAR(setVehicleLock)), [ARR_2(_target,true)], [_target])] call CBA_fnc_targetEvent); \ statement = QUOTE([ARR_3(QUOTE(QGVAR(setVehicleLock)), [ARR_2(_target,true)], [_target])] call CBA_fnc_targetEvent); \
priority = 0.2; \
icon = QPATHTOF(UI\key_menuIcon_ca.paa); \ icon = QPATHTOF(UI\key_menuIcon_ca.paa); \
}; \ }; \
class ACE_lockpickVehicle { \ class ACE_lockpickVehicle { \
displayName = CSTRING(Action_Lockpick); \ displayName = CSTRING(Action_Lockpick); \
condition = QUOTE([ARR_3(_player, _target, 'canLockpick')] call FUNC(lockpick)); \ condition = QUOTE([ARR_3(_player, _target, 'canLockpick')] call FUNC(lockpick)); \
statement = QUOTE([ARR_3(_player, _target, 'startLockpick')] call FUNC(lockpick)); \ statement = QUOTE([ARR_3(_player, _target, 'startLockpick')] call FUNC(lockpick)); \
priority = 0.1; \
}; \ }; \
}; \ }; \
class ACE_Actions { \ class ACE_Actions { \
@ -29,7 +26,6 @@
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(2,3)]}); \ condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(2,3)]}); \
statement = QUOTE([ARR_3(QUOTE(QGVAR(setVehicleLock)), [ARR_2(_target,false)], [_target])] call CBA_fnc_targetEvent); \ statement = QUOTE([ARR_3(QUOTE(QGVAR(setVehicleLock)), [ARR_2(_target,false)], [_target])] call CBA_fnc_targetEvent); \
exceptions[] = {"isNotSwimming"}; \ exceptions[] = {"isNotSwimming"}; \
priority = 0.3; \
icon = QPATHTOF(UI\key_menuIcon_ca.paa); \ icon = QPATHTOF(UI\key_menuIcon_ca.paa); \
}; \ }; \
class ACE_lockVehicle { \ class ACE_lockVehicle { \
@ -38,7 +34,6 @@
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(0,1)]}); \ condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(0,1)]}); \
statement = QUOTE([ARR_3(QUOTE(QGVAR(setVehicleLock)), [ARR_2(_target,true)], [_target])] call CBA_fnc_targetEvent); \ statement = QUOTE([ARR_3(QUOTE(QGVAR(setVehicleLock)), [ARR_2(_target,true)], [_target])] call CBA_fnc_targetEvent); \
exceptions[] = {"isNotSwimming"}; \ exceptions[] = {"isNotSwimming"}; \
priority = 0.2; \
icon = QPATHTOF(UI\key_menuIcon_ca.paa); \ icon = QPATHTOF(UI\key_menuIcon_ca.paa); \
}; \ }; \
class ACE_lockpickVehicle { \ class ACE_lockpickVehicle { \
@ -47,7 +42,6 @@
condition = QUOTE([ARR_3(_player, _target, 'canLockpick')] call FUNC(lockpick)); \ condition = QUOTE([ARR_3(_player, _target, 'canLockpick')] call FUNC(lockpick)); \
statement = QUOTE([ARR_3(_player, _target, 'startLockpick')] call FUNC(lockpick)); \ statement = QUOTE([ARR_3(_player, _target, 'startLockpick')] call FUNC(lockpick)); \
exceptions[] = {"isNotSwimming"}; \ exceptions[] = {"isNotSwimming"}; \
priority = 0.1; \
}; \ }; \
}; \ }; \
}; };