Jump to content

DCS-BIOS function BIOS.util.defineIntegerFromGetter and negative values


Recommended Posts

Is it possible to have a variation of this function that uses signed integers? To for example have a control based on a function that gives the VVI in human readable format?


Similar to this:

local function getAltitude()
   local returnValue = (GetDevice(0):get_argument_value(96))*100000 
   return returnValue
defineIntegerFromGetter("ALTIMETER_VALUEX", getAltitude, 65000, "Altimeter", "Altimeter")

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...