shownMap: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 32: Line 32:
|x1= <code>[[if]] ([[shownMap]]) [[then]] {[[hint]] "You have Map enabled"};</code>
|x1= <code>[[if]] ([[shownMap]]) [[then]] {[[hint]] "You have Map enabled"};</code>


|seealso= [[showMap]] [[visibleMap]] [[forceMap]], [[shownGPS]], [[shownWatch]], [[shownCompass]], [[shownUAVFeed]], [[shownHUD]]
|seealso= [[showMap]] [[visibleMap]] [[forceMap]] [[shownGPS]], [[shownWatch]], [[shownCompass]], [[shownUAVFeed]], [[shownHUD]]
}}
}}

Revision as of 18:34, 20 January 2022

Hover & click on the images for description

Description

Description:
Checks if client has Map enabled in description.ext (showMap param) or force enabled with showMap command.
Groups:
Map

Syntax

Syntax:
shownMap
Return Value:
Boolean

Examples

Example 1:
if (shownMap) then {hint "You have Map enabled"};

Additional Information

See also:
showMap visibleMap forceMap shownGPSshownWatchshownCompassshownUAVFeedshownHUD

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