showCompass: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
Line 33: Line 33:
</dl>
</dl>


<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.99|{{uc:{{PAGENAME}}}}]]

Revision as of 02:35, 18 January 2021

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:
Interaction

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