showWatch: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofp |Game name=
| ofp |Game name=
Line 7: Line 6:


|gr1= Interaction |GROUP1=
|gr1= Interaction |GROUP1=
____________________________________________________________________________________________


| Shows or hides the watch on the map screen, if enabled for the mission and you possess the item. (default [[true]]) |DESCRIPTION=
| Shows or hides the watch on the map screen, if enabled for the mission and you possess the item. (default [[true]]) |DESCRIPTION=
____________________________________________________________________________________________


| '''showWatch''' show |SYNTAX=
| '''showWatch''' show |SYNTAX=
Line 17: Line 14:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[[showWatch]] [[false]];</code> |EXAMPLE1=
|x1= <code>[[showWatch]] [[false]];</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[shownWatch]], [[visibleWatch]], [[showCompass]], [[showGPS]], [[showRadio]], [[showPad]] |SEEALSO=
| [[shownWatch]], [[visibleWatch]], [[showCompass]], [[showGPS]], [[showRadio]], [[showPad]] |SEEALSO=

Revision as of 04:59, 17 January 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

Notes

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")


Bottom Section