Difference between revisions of "MIST vecToWP"
From DCS World Wiki - Hoggitworld.com
(Created page with "{{Mission Scripting |fName= mist.utils.vecToWP| |vNum = Mist 4.1 |desc= This function takes a Vec2/3 table and returns it as a WP table {x, y, alt}. If passed as a vec2 tab...") |
(No difference)
|
Latest revision as of 06:24, 12 April 2018
mist.utils.vecToWP
Added with: Mist 4.1 |
Description |
This function takes a Vec2/3 table and returns it as a WP table {x, y, alt}. If passed as a vec2 table the altitude value will be returned as ground level. |
Syntax |
WP mist.utils.vecToWP(table vec2/3 ) |
Valid Input Values: |
any vec2/vec3 table. |
Return value: |
WP |
Return example: |
{x, y, alt} |
Usage Examples: |
|
Notes: |
Related Functions |
makeVec2, makeVec3, zoneToVec3, makeVec3GL, vecToWP, unitToWP |