showCompass: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\<dt class\=\"note\"\>\'\'\'\[\[(.*)\]\]\'\'\'" to "<dt class="note">$1")
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
Line 41: Line 41:
[[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]]
[[Category:Scripting Commands ArmA|SHOWCOMPASS]]
[[Category:Scripting Commands Armed Assault|SHOWCOMPASS]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 20:37, 3 June 2020

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