shownWatch: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 28: Line 28:
|s1= '''shownWatch'''
|s1= '''shownWatch'''


|r1=[[Boolean]]
|r1= [[Boolean]]


|x1= <code>[[if]] ([[shownWatch]]) [[then]] {[[hint]] "You have Watch enabled"};</code>
|x1= <code>[[if]] ([[shownWatch]]) [[then]] {[[hint]] "You have Watch enabled"};</code>

Revision as of 00:45, 8 August 2021

Hover & click on the images for description

Description

Description:
Checks if client has Watch enabled in description.ext (showWatch param) or force enabled with showWatch command.
Groups:
Interaction

Syntax

Syntax:
shownWatch
Return Value:
Boolean

Examples

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

Additional Information

See also:
showWatchvisibleWatchshownGPSshownCompassshownHUD

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