showWatch: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 30: Line 30:
|p1= show: [[Boolean]]
|p1= show: [[Boolean]]


|r1=[[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[showWatch]] [[false]];</code>
|x1= <code>[[showWatch]] [[false]];</code>

Revision as of 00:47, 8 August 2021

Hover & click on the images for description

Description

Description:
Shows or hides the watch on the map screen, if enabled for the mission and you possess the item. (default true)
Groups:
Interaction

Syntax

Syntax:
showWatch show
Parameters:
show: Boolean
Return Value:
Nothing

Examples

Example 1:
showWatch false;

Additional Information

See also:
shownWatchvisibleWatchshowCompassshowGPSshowRadioshowPad

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
Posted on 16 Aug, 2009
GeneralCarver
In Arma 2, the Watch is now an inventory item. Class path is CfgWeapons->ItemWatch. Use the commands addWeapon and removeWeapon to add or remove it from a unit's inventory. (example: player addweapon "ItemWatch")