forceMap: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(One intermediate revision by the same user not shown) | |||
Line 29: | Line 29: | ||
|descr= Opens non-interactive main map in background that overrides user screen. To force open interactive map use [[openMap]] command. | |descr= Opens non-interactive main map in background that overrides user screen. To force open interactive map use [[openMap]] command. | ||
{{Feature | | {{Feature|warning| | ||
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.}} | 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. | |||
}} | |||
|s1= [[forceMap]] show | |s1= [[forceMap]] show | ||
Line 38: | Line 40: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>forceMap true;</sqf> | ||
|seealso= [[forcedMap]] [[showMap]] [[shownMap]] [[openMap]] [[visibleMap]] | |seealso= [[forcedMap]] [[showMap]] [[shownMap]] [[openMap]] [[visibleMap]] | ||
}} | }} | ||
{{Note | |||
|user= Ceeeb | |||
|timestamp= 20070202052800 | |||
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)'' | |text= 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)'' | |||
}} | |||
{{Note | |||
|user= 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 | |timestamp= 20070505154300 | ||
|text= 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 {{Controls|M}} key again will still show the forcefully opened map. | |||
|game= arma1 | |||
|version= 1.05 | |||
}} |
Latest revision as of 00:45, 28 March 2024
Description
- Description:
- Opens non-interactive main map in background that overrides user screen. To force open interactive map use openMap command.
- Groups:
- MapInteraction
Syntax
- Syntax:
- forceMap show
- Parameters:
- show: Boolean - true to force, false to go back to normal map behaviour
- Return Value:
- Nothing
Examples
- Example 1:
- forceMap true;
Additional Information
- See also:
- forcedMap showMap shownMap openMap visibleMap
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
- Posted on Feb 02, 2007 - 05:28 (UTC)
- 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)
- Posted on May 05, 2007 - 15:43 (UTC)
-
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.
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.27
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Map
- Command Group: Interaction
- Scripting Commands: Local Effect