mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Show Waypoints on map
This commit is contained in:
parent
ce5595e107
commit
1cf8843cae
@ -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;
|
||||
};
|
||||
|
BIN
addons/microdagr/images/icon_mapWaypoints.paa
Normal file
BIN
addons/microdagr/images/icon_mapWaypoints.paa
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user