MIST hexadd

From DCS World Wiki - Hoggitworld.com


mist.hex.add

Added with: Mist 4.6
Description
Adds the two qrs table formatted hex coordinates to each other. Useful for getting a hex in a given direction, like the nearest neighbor to the right.
Syntax
qrs mist.hex.add(table qrs1 ,table qrs2 )
Valid Input Values:
Return value:
qrs
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