shownWatch: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
(description)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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



Revision as of 17:48, 6 September 2014

Hover & click on the images for description

Description

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

Syntax

Syntax:
shownWatch
Return Value:
Boolean

Examples

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

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