shownCompass: Difference between revisions

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


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


}}
}}

Revision as of 00:18, 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:
showCompassvisibleCompass

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