2015-03-14 19:58:05 +00:00
|
|
|
class CfgVehicles {
|
|
|
|
class Man;
|
|
|
|
class CAManBase: Man {
|
|
|
|
class ACE_SelfActions {
|
2016-06-02 19:36:25 +00:00
|
|
|
class ACE_MapGpsShow {
|
|
|
|
displayName = CSTRING(MapGpsShow);
|
|
|
|
condition = QUOTE((!GVAR(mapGpsShow)) && {call FUNC(canUseMapGPS)});
|
2019-09-05 20:58:05 +00:00
|
|
|
statement = QUOTE(GVAR(mapGpsShow) = true;);
|
2016-06-02 19:36:25 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
|
|
|
showDisabled = 0;
|
|
|
|
};
|
|
|
|
class ACE_MapGpsHide {
|
|
|
|
displayName = CSTRING(MapGpsHide);
|
|
|
|
condition = QUOTE((GVAR(mapGpsShow)) && {call FUNC(canUseMapGPS)});
|
2019-09-05 20:58:05 +00:00
|
|
|
statement = QUOTE(GVAR(mapGpsShow) = false;);
|
2016-06-02 19:36:25 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
|
|
|
showDisabled = 0;
|
|
|
|
};
|
2015-03-14 19:58:05 +00:00
|
|
|
class ACE_MapTools {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapTools_Menu);
|
2016-06-02 19:36:25 +00:00
|
|
|
condition = QUOTE(call FUNC(canUseMapTools));
|
2015-03-14 19:58:05 +00:00
|
|
|
statement = "";
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
class ACE_MapToolsHide {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapToolsHide);
|
2016-06-02 19:36:25 +00:00
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 0);
|
2015-08-18 21:57:56 +00:00
|
|
|
statement = QUOTE(GVAR(mapTool_Shown) = 0;);
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
};
|
|
|
|
class ACE_MapToolsShowNormal {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapToolsShowNormal);
|
2016-06-02 19:36:25 +00:00
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 1);
|
2022-04-06 21:49:27 +00:00
|
|
|
statement = QUOTE(if (GVAR(mapTool_Shown) == 0) then {GVAR(mapTool_moveToMouse) = true}; GVAR(mapTool_Shown) = 1;);
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
};
|
|
|
|
class ACE_MapToolsShowSmall {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapToolsShowSmall);
|
2016-06-02 19:36:25 +00:00
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 2);
|
2022-04-06 21:49:27 +00:00
|
|
|
statement = QUOTE(if (GVAR(mapTool_Shown) == 0) then {GVAR(mapTool_moveToMouse) = true}; GVAR(mapTool_Shown) = 2;);
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
};
|
|
|
|
class ACE_MapToolsAlignNorth {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapToolsAlignNorth);
|
2016-06-02 19:36:25 +00:00
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 0);
|
2015-08-18 21:57:56 +00:00
|
|
|
statement = QUOTE(GVAR(mapTool_angle) = 0;);
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
};
|
|
|
|
class ACE_MapToolsAlignCompass {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapToolsAlignCompass);
|
2022-05-03 01:40:59 +00:00
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 0 && {getUnitLoadout ACE_player param [ARR_2(9, [])] param [ARR_2(3, '')] != ''});
|
2015-08-18 21:57:56 +00:00
|
|
|
statement = QUOTE(GVAR(mapTool_angle) = getDir ACE_player;);
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class NATO_Box_Base;
|
|
|
|
class EAST_Box_Base;
|
|
|
|
class IND_Box_Base;
|
|
|
|
class FIA_Box_Base_F;
|
|
|
|
|
|
|
|
class Box_NATO_Support_F: NATO_Box_Base {
|
|
|
|
class TransportItems {
|
2015-03-15 02:38:16 +00:00
|
|
|
MACRO_ADDITEM(ACE_MapTools,12);
|
2015-03-14 19:58:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Box_East_Support_F: EAST_Box_Base {
|
|
|
|
class TransportItems {
|
2015-03-15 02:38:16 +00:00
|
|
|
MACRO_ADDITEM(ACE_MapTools,12);
|
2015-03-14 19:58:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Box_IND_Support_F: IND_Box_Base {
|
|
|
|
class TransportItems {
|
2015-03-15 02:38:16 +00:00
|
|
|
MACRO_ADDITEM(ACE_MapTools,12);
|
2015-03-14 19:58:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Box_FIA_Support_F: FIA_Box_Base_F {
|
|
|
|
class TransportItems {
|
2015-03-15 02:38:16 +00:00
|
|
|
MACRO_ADDITEM(ACE_MapTools,12);
|
2015-03-14 19:58:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Box_Misc: Box_NATO_Support_F {
|
|
|
|
class TransportItems {
|
2015-03-15 02:38:16 +00:00
|
|
|
MACRO_ADDITEM(ACE_MapTools,12);
|
2015-03-14 19:58:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|