shownCompass: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(description)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Check if player has compass enabled. |= Description
| Checks if client has Compass enabled in [[description.ext]] (''showCompass'' param). |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> '''shownCompass''' |= Syntax
| '''shownCompass''' |= Syntax


| [[Boolean]] |= Return value
| [[Boolean]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[if]] ([[shownCompass]]) [[then]] {[[hint]] "You have a compass"};</code> |= Example 1
|x1= <code>[[if]] ([[shownCompass]]) [[then]] {[[hint]] "You have Compass enabled"};</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:49, 6 September 2014

Hover & click on the images for description

Description

Description:
Checks if client has Compass enabled in description.ext (showCompass param).
Groups:
Uncategorised

Syntax

Syntax:
shownCompass
Return Value:
Boolean

Examples

Example 1:
if (shownCompass) then {hint "You have Compass enabled"};

Additional Information

See also:
showCompassvisibleCompassshownGPSshownWatch

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