Profile image

Activate on AGL and activation group.

10.3k VisionAviation  2.5 years ago

Hey, does anyone know a way of activating a detacher based on ground level, but also only if activate group 2 has been activated? I'm trying to make a bomb that explodes just above the ground but obviously I don't want it to explode when taking off or landing.

  • Log in to leave a comment
  • Profile image

    @V Thanks man! The code indeed works but only based on the cockpit altitude. I now just made so that it activates on a timer, which is also fine really.

    2.5 years ago
  • Profile image
    35.4k V

    Activate2 & (AltitudeAgl <= X) ? 1 : 0

    Replace X with desired altitude

    Altitude is based on the cockpit, so your idea likely wont work, but heres some working code anyways

    2.5 years ago