shownCompass: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
(see also)
Line 15: Line 15:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[if]] ([[shownCompass]]) [[then]] {[[hint]] "You have a compass};"</code> |= Example 1
|x1= <code>[[if]] ([[shownCompass]]) [[then]] {[[hint]] "You have a compass"};</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[showCompass]], [[visibleCompass]] |= See also
| [[showCompass]], [[showGPS]], [[showWatch]], [[visibleCompass]] |= See also


}}
}}

Revision as of 00:20, 29 May 2014

Hover & click on the images for description

Description

Description:
Check if player has compass enabled.
Groups:
Uncategorised

Syntax

Syntax:
Boolean = shownCompass
Return Value:
Boolean

Examples

Example 1:
if (shownCompass) then {hint "You have a compass"};

Additional Information

See also:
showCompassshowGPSshowWatchvisibleCompass

Notes

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

Notes

Bottom Section