showCompass: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
mNo edit summary
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>showCompass [[false]]</code> |= Example 1
|x1= <code>[[showCompass]] [[false]];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 23:21, 28 May 2014

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