2015-03-14 19:58:05 +00:00
|
|
|
class CfgVehicles {
|
|
|
|
class Man;
|
|
|
|
class CAManBase: Man {
|
|
|
|
class ACE_SelfActions {
|
|
|
|
|
|
|
|
class ACE_MapTools {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapTools_Menu);
|
2015-03-14 19:58:05 +00:00
|
|
|
condition = QUOTE((call FUNC(canUseMapTools) || {call FUNC(canUseMapGPS)}));
|
|
|
|
statement = "";
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
priority = 100;
|
|
|
|
|
|
|
|
class ACE_MapToolsHide {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapToolsHide);
|
2015-03-14 19:58:05 +00:00
|
|
|
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 0}));
|
|
|
|
statement = QUOTE(GVAR(mapTool_Shown) = 0; [] call FUNC(updateMapToolMarkers));
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
priority = 5;
|
|
|
|
};
|
|
|
|
class ACE_MapToolsShowNormal {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapToolsShowNormal);
|
2015-03-14 19:58:05 +00:00
|
|
|
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 1}));
|
|
|
|
statement = QUOTE(GVAR(mapTool_Shown) = 1; [] call FUNC(updateMapToolMarkers));
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
priority = 4;
|
|
|
|
};
|
|
|
|
class ACE_MapToolsShowSmall {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapToolsShowSmall);
|
2015-03-14 19:58:05 +00:00
|
|
|
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 2}));
|
|
|
|
statement = QUOTE(GVAR(mapTool_Shown) = 2; [] call FUNC(updateMapToolMarkers));
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
priority = 3;
|
|
|
|
};
|
|
|
|
class ACE_MapToolsAlignNorth {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapToolsAlignNorth);
|
2015-03-14 19:58:05 +00:00
|
|
|
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 0}));
|
|
|
|
statement = QUOTE(GVAR(mapTool_angle) = 0; [] call FUNC(updateMapToolMarkers));
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
};
|
|
|
|
class ACE_MapToolsAlignCompass {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapToolsAlignCompass);
|
2015-03-14 19:58:05 +00:00
|
|
|
condition = QUOTE((call FUNC(canUseMapTools) && {GVAR(mapTool_Shown) != 0} && {('ItemCompass' in assigneditems ACE_player) || {'ItemCompass' in assigneditems ACE_player}}));
|
|
|
|
statement = QUOTE(GVAR(mapTool_angle) = getDir ACE_player; [] call FUNC(updateMapToolMarkers));
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1;
|
|
|
|
};
|
|
|
|
class ACE_MapGpsShow {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapGpsShow);
|
2015-03-14 19:58:05 +00:00
|
|
|
condition = QUOTE((call FUNC(canUseMapGPS) && {!GVAR(mapGpsShow)}));
|
|
|
|
statement = QUOTE(GVAR(mapGpsShow) = true; [GVAR(mapGpsShow)] call FUNC(openMapGps));
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
priority = 0;
|
|
|
|
};
|
|
|
|
class ACE_MapGpsHide {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapGpsHide);
|
2015-03-14 19:58:05 +00:00
|
|
|
condition = QUOTE((call FUNC(canUseMapGPS) && {GVAR(mapGpsShow)}));
|
|
|
|
statement = QUOTE(GVAR(mapGpsShow) = false; [GVAR(mapGpsShow)] call FUNC(openMapGps));
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
priority = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
|
|
|
class ACE_CopyMap {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(CopyMap);
|
2015-03-14 19:58:05 +00:00
|
|
|
condition = QUOTE(([_target] call EFUNC(common,isPlayer) && {'ItemMap' in assigneditems _player} && {'ACE_MapTools' in items _player} && {'ItemMap' in assignedItems _target}));
|
|
|
|
statement = QUOTE([ARR_2(_player,_target)] call FUNC(copyMapStart));
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = -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
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|