MIST getQFE

From DCS World Wiki - Hoggitworld.com


mist.utils.getQFE

Added with: Mist 4.4
Description
Returns the QFE of a given point. QFE is the altitude pressure of a given point at ground level. It is a critical piece of information for setting the altimeter in the AJS-37 Viggen. By default the function returns the value in hectopascal which is the same format used by the Viggen. If the optional value is present then the QFE is returned in inches of Mercury. US aircraft commonly use inHg.
Syntax
number mist.utils.getQFE(table point , boolean inhg )
Valid Input Values:
Any vec or vec3 value is accepted. Function automatically converts to vec3 at ground level.
Return value:
number
Return example:
Usage Examples:
Notes:
Related Functions
makeUnitTable, getRandPointInCircle, getRandomPointInZone, getRandomPointInPoly, isTerrainValid, terrainHeightDiff, getUnitsInZones, getUnitsInMovingZones, pointInPolygon, getUnitsInPolygon, getDeadMapObjsInZones, getDeadMapObjsInPolygonZone, getUnitsLOS, random, randomizeNumTable, getAvgPoint, getQFE, getWindBearingAndVel, getPathLength, getPathInSegments, getPointAtDistanceOnPath, projectPoint, getGroupsByAttribute, , getUnitsByAttribute, mapValue,

Scripting Engine

MIST Root Page