Profile image

Using buttons to set number-based variables

102 Schiwi17  3 months ago

Hello everyone, does someone know how to use FT to make a button set a number-based variable to a specific value? (eg: press a button to set throttle at 55%, or to zero the VTOL slider, etc).

Thanks in advance

  • Log in to leave a comment
  • Profile image
    102 Schiwi17

    Actually you can, I asked in the discord (Thanks to @11qazxc) and turns out you can use the "outputValue" xml property if you put the desired variable in the input, so for example "inputId = Throttle" and "outputValue = 0.5" for 50% throttle. Writing this in case anyone has the same question and stumble onto this post for answers.

    +1 3 months ago
  • Profile image
    49.3k PlaneFlightX

    Unfortunately, buttons cannot control the default axis aside from setting them to 1. Sorry.

    3 months ago