forceMap: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "") |
||
(5 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
| 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> | {{Feature | 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. | To force open interactive map use [[openMap]] command. | ||
Line 23: | Line 23: | ||
|x1= <code>[[forceMap]] [[true]]</code> | |x1= <code>[[forceMap]] [[true]]</code> | ||
| [[forcedMap]], [[showMap]], [[shownMap]], [[openMap]], [[visibleMap]] | |seealso= [[forcedMap]], [[showMap]], [[shownMap]], [[openMap]], [[visibleMap]] | ||
}} | }} | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dt class="note">[[User:Ceeeb|Ceeeb]]</dt> | <dt class="note">[[User:Ceeeb|Ceeeb]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
Line 36: | Line 35: | ||
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) | 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) | ||
</dl> | </dl> | ||
{{GameCategory|arma1|Scripting Commands}} | {{GameCategory|arma1|Scripting Commands}} | ||
{{GameCategory|arma2|Scripting Commands}} | {{GameCategory|arma2|Scripting Commands}} | ||
{{GameCategory|arma3|Scripting Commands}} | {{GameCategory|arma3|Scripting Commands}} | ||
{{GameCategory|tkoh|Scripting Commands}} | {{GameCategory|tkoh|Scripting Commands}} |
Revision as of 01:32, 6 April 2021
Description
- Description:
- Description needed
- Groups:
- MapInteraction
Syntax
- Syntax:
- Syntax needed
- Parameters:
- show: Boolean
- Return Value:
- Return value needed
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
- 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)