Profile image

HELP funky tree

726 Bird6369  2.9 years ago

how to make the control surface lock up when I press 1 I don't know how to do it with the current code like here

.8clamp(Pitch+Roll+0.5Trim, -1, .5)

can someone help me with the code? basically I just want to add an extra function to the code

  • Log in to leave a comment
  • Profile image
    726 Bird6369

    @Astro12 thanks a lots bruh

    2.9 years ago
  • Profile image
    52.8k Astro12

    @Bird6369 clamp(Pitch+Roll+(Trim*0.5), -1, 0.5) * clamp01(Activate1)

    2.9 years ago
  • Profile image
    726 Bird6369

    @YoDudeChase no problem thanks a lot btw

    2.9 years ago
  • Profile image
    4,038 YoDudeChase

    @Bird6369 huh, well sorry I couldn't help

    2.9 years ago
  • Profile image
    726 Bird6369

    @YoDudeChase emm nope doesn't work it seems to just invert my controls

    2.9 years ago
  • Profile image
    4,038 YoDudeChase

    Actually just add "*Activate1" to the end of it, it wouldnt lock it in a extended position tho, only lock it and return it to center

    2.9 years ago
  • Profile image
    726 Bird6369

    @YoDudeChase ya i know but i want to use -Activate1 integrated in the code because feels like a proper funky tree but thanks

    2.9 years ago
  • Profile image
    4,038 YoDudeChase

    I believe theres a built in ag to enable and disable it, youd just have to use ag 8 so its enabled when you spawn. Its right above the input selection

    2.9 years ago