Map Tools - Show GPS on Map when equipped with UAV Terminal (#9885)

* Show Map GPS when equipped with UAV Terminal

* Update Maptools Documentation

* Reword documentation

* Reword docs, remove dash

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* Allow GPS when terminal slot is not empty

* Allow GPS on map when GPS sidepanel is available

* Reword docs

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>

* Return statement - remove ; and add comment

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>

---------

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
This commit is contained in:
Fabio Schick 2024-04-04 13:09:02 +02:00 committed by GitHub
parent d312792631
commit ccb3e65734
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 4 deletions

View File

@ -15,6 +15,10 @@
* Public: No
*/
visibleMap &&
{alive ACE_player} &&
{"ItemGPS" in (assignedItems ACE_player)}
if (!visibleMap || {!alive ACE_player}) exitWith {false};
private _gpsOpened = visibleGPS;
private _gpsAvailable = openGPS true;
if (!_gpsOpened) then {openGPS false};
_gpsAvailable // return

View File

@ -25,7 +25,7 @@ This adds map tools that can be used to measure distances between two points or
This adds a plotting board that can be used to aid in the rapid usage and adjustment of short-ranged indirect fires, as well as quick measurements of directions and distances between points, and general land-navigation.
### 1.4 GPS on map
If you are equipped with a vanilla GPS it will be shown on the map. (You don't need the `Map Tools` item in your inventory for this.)
If you have GPS capability, a GPS display will be shown on the map, indicating current grid position. (You don't need the `Map Tools` item in your inventory for this.)
## 2. Usage