showCompass: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 38: Line 38:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SHOWCOMPASS]]
[[Category:Scripting Commands|SHOWCOMPASS]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SHOWCOMPASS]]
[[Category:Scripting Commands OFP 1.96|SHOWCOMPASS]]
[[Category:Scripting Commands OFP 1.46|SHOWCOMPASS]]
[[Category:Scripting Commands OFP 1.46|SHOWCOMPASS]]

Revision as of 12:17, 25 September 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