BIS fnc KMLimport: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{Feature arma3|" to "{{Feature|arma3|") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| tkoh |Game name= | | tkoh |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Map and Markers |GROUP1= | |gr1 = Map and Markers |GROUP1= | ||
| Read positions from a [https://en.wikipedia.org/wiki/Keyhole_Markup_Language KML file]. | | Read positions from a [https://en.wikipedia.org/wiki/Keyhole_Markup_Language KML file]. | ||
{{Informative|Recommended to execute in loading screen.}}|Description= | {{Informative|Recommended to execute in loading screen.}}|Description= | ||
| filePath call [[BIS_fnc_KMLimport]] |Syntax= | | filePath call [[BIS_fnc_KMLimport]] |Syntax= | ||
Line 24: | Line 21: | ||
* name: [[String]] - location's name | * name: [[String]] - location's name | ||
* description: [[String]] - location's description|Return value= | * description: [[String]] - location's description|Return value= | ||
|x1= <code>_data = "subDir\myFile.kml" [[call]] [[BIS_fnc_KMLimport]];</code> |Example 1= | |x1= <code>_data = "subDir\myFile.kml" [[call]] [[BIS_fnc_KMLimport]];</code> |Example 1= | ||
| [[BIS_fnc_keypointsExportFromKML]], [[BIS_fnc_dbImportXML]], [[BIS_fnc_posDegToWorld]] |See also= | | [[BIS_fnc_keypointsExportFromKML]], [[BIS_fnc_dbImportXML]], [[BIS_fnc_posDegToWorld]] |See also= |
Revision as of 21:50, 16 January 2021
Description
- Description:
- Read positions from a KML file.
- 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 - Return Value:
- Array of Arrays in format [type, positionXYZ, folder, name, description]
Examples
- Example 1:
_data = "subDir\myFile.kml" call BIS_fnc_KMLimport;
Additional Information
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