MIST hex setRadius

From DCS World Wiki - Hoggitworld.com


mist.hex.setRadius

Added with: Mist 4.6
Description
Sets the radius that all hex functions will use when converting coordinates with DCS's XYZ coordinate system.

If you are using multiple radius values in your code you will need to switch to the corresponding value and perhaps back to your default value in each function.

Syntax
none mist.hex.setRadius(number radius )
Valid Input Values:
Return value:
none
Return example:
Usage Examples:
mist.hex.setRadius(5000)
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