---
name: "forceMap"
type: command
status: ok
groups: ["Map", "Interaction"]
arma3_since: "0.50"
locality: {"argument": null, "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/forceMap
revid: 363365
updated: 2024-03-27T23:45:43Z
---

# forceMap

*Command · Map, Interaction · Arma 3 v0.50 · introduced in Operation Flashpoint v1.27*

Locality: effect **local**

## Description

Opens non-interactive main map in background that overrides user screen. To force open interactive map use [openMap](../commands/openMap.md) 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

```sqf
forceMap show
```

**Parameters:**

- `show`: [Boolean](../topics/Boolean.md) - [true](../commands/true.md) to force, [false](../commands/false.md) to go back to normal map behaviour

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
forceMap true;
```

## See also

[forcedMap](../commands/forcedMap.md) · [showMap](../commands/showMap.md) · [shownMap](../commands/shownMap.md) · [openMap](../commands/openMap.md) · [visibleMap](../commands/visibleMap.md)

## Community notes

**Ceeeb** — 2007-02-02

In **OFP v1.96**, the mapAnim series of commands, together with [forceMap](../commands/forceMap.md) 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** — 2007-05-05

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 <kbd>M</kbd> key again will still show the forcefully opened map.

<sub>Source: [BI Community Wiki — forceMap](https://community.bistudio.com/wiki/forceMap) (revision 363365).</sub>
