Show Waypoints on map

This commit is contained in:
PabstMirror 2015-03-09 16:28:29 -05:00
parent ce5595e107
commit 1cf8843cae
2 changed files with 7 additions and 0 deletions

View File

@ -53,4 +53,11 @@ if (GVAR(currentApplicationPage) == 1) then {
};
_size = 30 * _mapSize;
_theMap drawIcon [QUOTE(PATHTO_R(images\icon_self.paa)), [0.533,0.769,0.76,0.75], GVAR(gpsPositionASL), _size, _size, (getDir ace_player), '', 0 ];
_size = 20 * _mapSize;
{
EXPLODE_2_PVT(_x,_wpName,_wpPos);
_alpha = if (_forEachIndex == GVAR(currentWaypoint)) then {1} else {0.5};
_theMap drawIcon [QUOTE(PATHTO_R(images\icon_mapWaypoints.paa)), [1,1,1,_alpha], _wpPos, _size, _size, 0, '', 0 ];
} forEach _waypoints;
};

Binary file not shown.