forcedMap: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
Line 14: Line 14:
* forceMapForced: [[Boolean]] - [[true]] if map was forced with [[forceMap]] command
* forceMapForced: [[Boolean]] - [[true]] if map was forced with [[forceMap]] command
* 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;
_openMapForced = [[forcedMap]] [[select]] 1;</code>|= EXAMPLE1
_openMapForced = [[forcedMap]] [[select]] 1;</code>|EXAMPLE1=  
| [[openMap]], [[forceMap]], [[showMap]], [[visibleMap]], [[shownMap]]|= SEEALSO
| [[openMap]], [[forceMap]], [[showMap]], [[visibleMap]], [[shownMap]]|SEEALSO=  
|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
}}
}}



Revision as of 10:31, 7 April 2019

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:
Uncategorised

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