visibleGPS: Difference between revisions

From Bohemia Interactive Community
m (Some wiki formatting)
m (Some wiki formatting)
 
Line 15: Line 15:
if (visibleGPS) then
if (visibleGPS) then
{
{
hint "GPS is visible"
hint "GPS is visible";
};
};
</sqf>
</sqf>

Latest revision as of 21:38, 7 April 2026

Hover & click on the images for description

Description

Description:
Checks if the player has GPS receiver (minimap) opened and visible.
Groups:
Interaction

Syntax

Syntax:
visibleGPS
Return Value:
Boolean

Examples

Example 1:
if (visibleGPS) then { hint "GPS is visible"; };

Additional Information

See also:
openGPS showGPS shownGPS visibleWatch visibleCompass

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note