MIST hex distance

From DCS World Wiki - Hoggitworld.com


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