showCompass: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| '''showCompass''' show |= Syntax
| '''showCompass''' show |SYNTAX=


|p1= show: [[Boolean]] |= Parameter 1
|p1= show: [[Boolean]] |PARAMETER1=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[showCompass]] [[false]];</code> |= Example 1
|x1= <code>[[showCompass]] [[false]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[shownCompass]], [[visibleCompass]], [[showGPS]], [[showRadio]], [[showWatch]], [[showPad]], [[showMap]] |= See also
| [[shownCompass]], [[visibleCompass]], [[showGPS]], [[showRadio]], [[showWatch]], [[showPad]], [[showMap]] |SEEALSO=


}}
}}

Revision as of 14:49, 7 April 2019

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
showCompass false;

Additional Information

See also:
shownCompassvisibleCompassshowGPSshowRadioshowWatchshowPadshowMap

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 Compass is now an inventory item. Class path is CfgWeapons->ItemCompass. Use the commands addWeapon and removeWeapon to add or remove it from a unit's inventory. (example: player addweapon "ItemCompass")

Bottom Section