Arma 3 Scripting

Command in Interaction

visibleCompass

Also available as Markdown and JSON, or read the original wiki page.

Description

Checks if the player has compass opened and visible. Keep in mind that the GPS minimap in Arma 3 also shows the direction.

Syntax

visibleCompass

Returns: Boolean

Examples

Example 1

if (visibleCompass) then {hint "Compass is visible"};

See also

showCompass · shownCompass · visibleGPS · visibleWatch