BIS fnc KMLimport: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Map and Markers |GROUP1=")
m (Text replacement - "\[\[Category:Function Group: [a-zA-Z0-9_: ]+(\|\{\{[a-zA-Z0-9_: ]+\}\})?\]\]" to " ")
Line 41: Line 41:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:KMLimport}}]]
[[Category:Functions|{{uc:KMLimport}}]]
[[Category:Function Group: Map|{{uc:KMLimport}}]]
 
 
 
[[Category:{{Name|tkoh}}: Functions|{{uc:KMLimport}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:KMLimport}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:KMLimport}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:KMLimport}}]]

Revision as of 13:31, 13 October 2020

Hover & click on the images for description

Description

Description:
Read positions from a KML file.
Recommended to execute in loading screen.
Execution:
call
Groups:
Map and Markers

Syntax

Syntax:
filePath call BIS_fnc_KMLimport
Parameters:
filePath: String - (Optional, default "hsim\Doc_H\GoogleEarth\Missions\" + missionName + ".kml") KML file path Template:Feature arma3
Return Value:
Array of Arrays in format [type, positionXYZ, folder, name, description]
  • type: Number - 0 for a point, 1 for a line, 2 for a polygon
  • positionXYZ: Position - format PositionAGL
  • folder: String - path to the value, "" if in the .kml root
  • name: String - location's name
  • description: String - location's description

Examples

Example 1:
_data = "subDir\myFile.kml" call BIS_fnc_KMLimport;

Additional Information

See also:
BIS_fnc_keypointsExportFromKMLBIS_fnc_dbImportXMLBIS_fnc_posDegToWorld

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

Notes

Bottom Section