MIST getQFE

From DCS World Wiki - Hoggitworld.com
Revision as of 08:38, 13 April 2018 by Grimes (talk | contribs) (Created page with "{{Mission Scripting |fName= mist.utils.getQFE| |vNum = Mist 4.4 |desc= Returns the QFE of a given point. QFE is the altitude pressure of a given point at ground level. It i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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