shownWatch: Difference between revisions

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


| |= See also
| [[showWatch]], [[visibleWatch]], [[shownGPS]], [[shownCompass]] |= See also


}}
}}

Revision as of 00:28, 29 May 2014

Hover & click on the images for description

Description

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

Syntax

Syntax:
Boolean = shownWatch
Return Value:
Boolean

Examples

Example 1:
if (shownWatch) then {hint "You have a Watch"};

Additional Information

See also:
showWatchvisibleWatchshownGPSshownCompass

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