From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Creates a strategic map.
- Execution:
- call
- Groups:
- Strategic
Syntax
- Syntax:
- [display, pos, missions, ORBATs, markers, images, weather, night, scale, simulation, label, missionName, missionIcon] call BIS_fnc_strategicMapOpen
- Parameters:
- display: Display - parent display. When empty, mission display is used.
- pos: Array format Position - default view position in format [x,y,y] or [x,y]
- missions: Array - list of missions, each Array in format:
- 0: Position - 2D or 3D position of mission
- 1: Code - Expression executed when user clicks on mission icon
- 2: String - Mission name
- 3: String - Short description
- 4: String - Name of mission's player
- 5: String - Path to overview image
- 6: Number - size multiplier for overview image
- 7: Array - parameters for on-click action. Can be accessed in code with c_this # 9
- ORBATs: Array - list of ORBAT, each Array in format:
- 0: Array format Position - 2D or 3D position
- 1: Config - preview CfgORBAT group
- 2: Config - topmost displayed CfgORBAT group
- 3: Array of Strings - list of allowed tags
- 4: String - name of mission's player
- 5: Number - maximum number of displayed tiers
- markers: Array of Strings - list of markers revealed in strategic map (will be hidden when map is closed)
- images: Array - list of custom images, each Array in format:
- weather: Number - overcast, from 0 - 1, where 1 means cloudy weather
- night: Boolean - true for night version of strategic map (darker with blue tone)
- scale: Number - default map scale coeficient (1 is automatic scale)
- simulation: Boolean] - (Optional, default false true to enable simulation while the map is opened
- label: String - (Optional, default "Select a mission") bottom bar action label text
- missionName: Boolean - (Optional, default true) true to show icon label as a mission name
- missionIcon: String - (Optional, default "\A3\Ui_f\data\Map\GroupIcons\badge_rotate_%1_gs.paa") path to mission icon texture
- %1 - Animation frame from 0-6 (optional)
- %2 - Index from 1-9 (optional)
- Return Value:
- Display - rscDisplayStrategicMap
Examples
- Example 1:
Additional Information
- See also:
- ORBAT Viewer BIS_fnc_ORBATAddGroupOverlay BIS_fnc_ORBATAnimate BIS_fnc_ORBATConfigPreview BIS_fnc_ORBATGetGroupParams BIS_fnc_ORBATOpen BIS_fnc_ORBATRemoveGroupOverlay BIS_fnc_ORBATSetGroupFade BIS_fnc_ORBATSetGroupParams BIS_fnc_ORBATTooltip BIS_fnc_strategicMapMouseButtonClick BIS_fnc_strategicMapAnimate
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
- ansin11 - c
- Posted on Mar 31, 2021 - 15:29 (UTC)
-
In order to use an image from the mission folder, the full path to the image has to be provided: