BIS_fnc_KMLimport

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Take On Helicopters version1.00
  

Click on the images for descriptions

Introduced in

Game:
Take On Helicopters
Version:
1.00

Description

Description:
Read positions from a KML file.
Recommended to execute in loading screen.

Syntax

Syntax:
filePath call BIS_fnc_KMLimport
Parameters:
filePath: String - (Optional, default "hsim\Doc_H\GoogleEarth\Missions\" + missionName + ".kml") KML file path
Arma 3 logo black.png
Default value only works in Take On Helicopters. Do not rely on it in Arma 3
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

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_keypointsExportFromKMLBIS_fnc_dbImportXMLBIS_fnc_posDegToWorld

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section