Difference between revisions of "MIST zoneToVec3"

From DCS World Wiki - Hoggitworld.com
 
(No difference)

Latest revision as of 06:26, 12 April 2018


mist.utils.zoneToVec3

Added with: Mist 2.0
Description
This function takes a zone table or a string zonename and converts it into the Vec3 format. This is useful in using the position of a zone to define waypoints locations.
Syntax
vec3 mist.utils.zoneToVec3(table/string zone/zoneName )
Valid Input Values:
zoneTable 'myZone'
Return value:
vec3
Return example:
vec3
Usage Examples:
 do
 local zonePos= mist.utils.zoneToVec3('myZone')
 end
 do
 local zonePos= mist.utils.zoneToVec3(zoneTable)
 end

Notes:
Related Functions
makeVec2, makeVec3, zoneToVec3, makeVec3GL, vecToWP, unitToWP

Scripting Engine

MIST Root Page