shownMap: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 28: Line 28:
|s1= '''shownMap'''
|s1= '''shownMap'''


|r1=[[Boolean]]
|r1= [[Boolean]]


|x1= <code>[[if]] ([[shownMap]]) [[then]] {[[hint]] "You have Map enabled"};</code>
|x1= <code>[[if]] ([[shownMap]]) [[then]] {[[hint]] "You have Map enabled"};</code>

Revision as of 00:47, 8 August 2021

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

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