shownMap: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(description, see also)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Check if player has Map enabled. |= Description
| Checks if client has Map enabled in [[description.ext]] (''showMap'' param). . |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> '''shownMap''' |= Syntax
| '''shownMap''' |= Syntax


| [[Boolean]] |= Return value
| [[Boolean]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>? shownMap : [[hint]] "You have a Map."</code> |= Example 1
|x1= <code>[[if]] ([[shownMap]]) [[then]] {[[hint]] "You have Map enabled"};</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[showMap]], [[visibleMap]], [[forceMap]], [[shownGPS]], [[shownWatch]], [[shownCompass]], [[shownUAVFeed]] |= See also


}}
}}

Revision as of 17:53, 6 September 2014

Hover & click on the images for description

Description

Description:
Checks if client has Map enabled in description.ext (showMap param). .
Groups:
Uncategorised

Syntax

Syntax:
shownMap
Return Value:
Boolean

Examples

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

Additional Information

See also:
showMapvisibleMapforceMapshownGPSshownWatchshownCompassshownUAVFeed

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

Bottom Section