Arma 3 Scripting

Command in Map, Interaction

forceMap

Also available as Markdown and JSON, or read the original wiki page.

Description

Opens non-interactive main map in background that overrides user screen. To force open interactive map use openMap command.

Warning

When the map is forced open with this command, the user is still able to fire but cannot see the world, just the map. The map cannot be closed manually and the user can get stuck requiring a game restart. Make sure you provide scripted mechanics to de-force the map at a later stage.

Syntax

forceMap show

Parameters:

Returns: Nothing

Examples

Example 1

forceMap true;

See also

forcedMap · showMap · shownMap · openMap · visibleMap

Community notes

Ceeeb

In OFP v1.96, the mapAnim series of commands, together with forceMap can only be used in the intro and mission, as it is not possible to access the map from the outro. (not checked, sourced from an old copy of the OFPEC comref)

Manny

Manually opening the map afterwards won't close the map. Actually it will open the "real" map on top of the forced map, and closing the (top) map with the M key again will still show the forcefully opened map.