add config mapOnZoomSetMarkerSize

This commit is contained in:
DirtySanchez 2017-10-19 11:30:42 -05:00
parent 04d3d1d64d
commit 4aa72d5a5d
2 changed files with 51 additions and 49 deletions

View File

@ -376,7 +376,7 @@ if(_markerName in allMapMarkers)then{
}forEach _markerArray;
};
};
if(getNumber(('CfgEpochClient' call EPOCH_returnConfig) >> 'mapOnZoomSetMarkerSize') isEqualTo 1)then{
if(visibleMap)then{
_mapControl = (findDisplay 12) displayCtrl 51;
_mapScale = ctrlMapScale _mapControl;
@ -428,6 +428,7 @@ if(visibleMap)then{
};
EPOCH_lastMapScale = _mapScale;
};
};
// force update
if (EPOCH_forceUpdateNow) then {

View File

@ -178,6 +178,7 @@ class CfgEpochClient
playerRevengeMinAliveTime = 900;
playerLocationMarkerGPSOnly = 1; // Map marker toggle in map dyna menu with assigned GPS only
playerDeathMarkerGPSOnly = 1; // Map marker toggle in map dyna menu on death with assigned GPS only
mapOnZoomSetMarkerSize = 1; // When in map markers will change to larger size as player zooms in
bankTransferTime[] = {0.0006,1.2,0.06};
// Favorite Bar