forcedMap: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 8: Line 7:


|gr2= Interaction |GROUP2=
|gr2= Interaction |GROUP2=
____________________________________________________________________________________________


| Returns if map was forced by using [[forceMap]] command or [[openMap]] command with force option |DESCRIPTION=
| Returns if map was forced by using [[forceMap]] command or [[openMap]] command with force option |DESCRIPTION=
____________________________________________________________________________________________


| '''forcedMap''' |SYNTAX=
| '''forcedMap''' |SYNTAX=
Line 19: Line 16:
* openMapForced: [[Boolean]] - [[true]] if map was forced with [[openMap]] command.
* openMapForced: [[Boolean]] - [[true]] if map was forced with [[openMap]] command.
|RETURNVALUE=  
|RETURNVALUE=  
____________________________________________________________________________________________


|x1= <code>_forceMapForced = [[forcedMap]] [[select]] 0;
|x1= <code>_forceMapForced = [[forcedMap]] [[select]] 0;

Revision as of 01:18, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns if map was forced by using forceMap command or openMap command with force option
Groups:
MapInteraction

Syntax

Syntax:
forcedMap
Return Value:
Array - in format [forceMapForced, openMapForced] where:

Examples

Example 1:
_forceMapForced = forcedMap select 0; _openMapForced = forcedMap select 1;

Additional Information

See also:
openMapforceMapshowMapvisibleMapshownMap

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

Bottom Section

Notes

Bottom Section