Difference between revisions of "MIST hex setRadius"
From DCS World Wiki - Hoggitworld.com
(Created page with "{{Mission Scripting |fName= mist.hex.setRadius| |vNum = Mist 4.6 |desc= Sets the radius that all hex functions will use when converting coordinates with DCS's XYZ coordinat...") |
(No difference)
|
Latest revision as of 00:38, 1 September 2026
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 |
