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.
@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.
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