mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Better Code
This commit is contained in:
parent
7731e69b4e
commit
510aa2f1aa
@ -1323,13 +1323,11 @@ _skn_admincode = compileFinal ("
|
||||
if ("+_skn_tg_map_basebuilding+") then {
|
||||
_size = (1/ctrlMapScale _display) max 20;
|
||||
{
|
||||
if (_x isKindOf 'PlotPole_Epoch') then {
|
||||
_display drawIcon [
|
||||
getText (configFile >> 'CfgVehicles' >> 'PlotPole_Epoch' >> 'Icon'), _x call _getDmgColor, visiblePosition _x, _size, _size, getDir _x,
|
||||
getText (configFile >> 'CfgVehicles' >> 'PlotPole_Epoch' >> 'displayName')
|
||||
];
|
||||
};
|
||||
} forEach ((epoch_centerMarkerPosition) nearObjects ['NonStrategic',(EPOCH_dynamicVehicleArea)]);
|
||||
_display drawIcon [
|
||||
getText (configFile >> 'CfgVehicles' >> 'PlotPole_Epoch' >> 'Icon'), _x call _getDmgColor, visiblePosition _x, _size, _size, getDir _x,
|
||||
getText (configFile >> 'CfgVehicles' >> 'PlotPole_Epoch' >> 'displayName')
|
||||
];
|
||||
} forEach ((epoch_centerMarkerPosition) nearObjects ['PlotPole_Epoch',(EPOCH_dynamicVehicleArea)]);
|
||||
};
|
||||
if ("+_skn_tg_old_espMap+") then {
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user