forceMap: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| ofp |Game name= | | ofp |Game name= | ||
Line 11: | Line 10: | ||
|gr2= Interaction |GROUP2= | |gr2= Interaction |GROUP2= | ||
| Opens non-interactive main map in background that overrides user screen. <br><br> | | Opens non-interactive main map in background that overrides user screen. <br><br> | ||
{{Warning | When map is forced with this command, the user is able to fire but cannot see the world, just the map. The map cannot be closed manually and the user can get stuck requiring the game restart. Make sure you provide scripted mechanics to resolve this, should you need to force the map.}}<br> | {{Warning | When map is forced with this command, the user is able to fire but cannot see the world, just the map. The map cannot be closed manually and the user can get stuck requiring the game restart. Make sure you provide scripted mechanics to resolve this, should you need to force the map.}}<br> | ||
To force open interactive map use [[openMap]] command. |DESCRIPTION= | To force open interactive map use [[openMap]] command. |DESCRIPTION= | ||
| '''forceMap''' show |SYNTAX= | | '''forceMap''' show |SYNTAX= | ||
Line 23: | Line 20: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[[forceMap]] [[true]]</code> |EXAMPLE1= | |x1= <code>[[forceMap]] [[true]]</code> |EXAMPLE1= | ||
| [[forcedMap]], [[showMap]], [[shownMap]], [[openMap]], [[visibleMap]] |SEEALSO= | | [[forcedMap]], [[showMap]], [[shownMap]], [[openMap]], [[visibleMap]] |SEEALSO= |
Revision as of 01:17, 17 January 2021
Description
- Description:
- Opens non-interactive main map in background that overrides user screen.
To force open interactive map use openMap command. - Groups:
- MapInteraction
Syntax
Examples
Additional Information
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
- 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. (ArmA 1.05)
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.27
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Map
- Command Group: Interaction
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands