forcedMap: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 19: Line 19:
_openMapForced = [[forcedMap]] [[select]] 1;</code>
_openMapForced = [[forcedMap]] [[select]] 1;</code>


|seealso= [[openMap]], [[forceMap]], [[showMap]], [[visibleMap]], [[shownMap]]
|seealso= [[openMap]] [[forceMap]], [[showMap]], [[visibleMap]], [[shownMap]]
}}
}}

Revision as of 16:47, 20 January 2022

Hover & click on the images for description

Description

Description:
Returns if map was forced by using forceMap command or openMap command with force option
Groups:
MapInteraction

Syntax

Syntax:
forcedMap
Return Value:
Array - in format [forceMapForced, openMapForced]:

Examples

Example 1:
_forceMapForced = forcedMap select 0; _openMapForced = forcedMap select 1;

Additional Information

See also:
openMap forceMapshowMapvisibleMapshownMap

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