MIST hex distance

From DCS World Wiki - Hoggitworld.com
Revision as of 23:47, 2 September 2026 by Grimes (talk | contribs) (Created page with "{{Mission Scripting |fName= mist.hex.distance| |vNum = Mist 4.6 |desc= Returns the distance in number of hexes between hexA and hexB |rtnType= table |reqType1= table |r...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


mist.hex.distance

Added with: Mist 4.6
Description
Returns the distance in number of hexes between hexA and hexB
Syntax
table mist.hex.distance(table hexA ,table hexB )
Valid Input Values:
Return value:
table
Return example:
Usage Examples:
Notes:
Related Functions
to, getRadius, setRadius, add, subtract,scale, rotate_left, rotate_right, neighbor, getNeighborCount, diagonalNeighbor, length, distance, round, lerp, cubeScale, cubeRing, cubeSpiral, lineDraw, cubeToAxial, axialToCube, pointToHex, makeVek2, makeVec3, makeVec3GL, hash, hashToHex, draw

Scripting Engine

MIST Root Page