visibleGPS: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Some wiki formatting)
Line 8: Line 8:
|descr= Checks if the player has GPS receiver (minimap) opened and visible.
|descr= Checks if the player has GPS receiver (minimap) opened and visible.


|s1= '''visibleGPS'''
|s1= [[visibleGPS]]


|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <sqf>if (visibleGPS) then {hint "GPS is visible"};</sqf>
|x1= <sqf>
if (visibleGPS) then
{
hint "GPS is visible"
};
</sqf>


|seealso= [[openGPS]] [[showGPS]] [[shownGPS]] [[visibleWatch]] [[visibleCompass]]
|seealso= [[openGPS]] [[showGPS]] [[shownGPS]] [[visibleWatch]] [[visibleCompass]]
}}
}}

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