Profile image

Rotary Bomb Bay

676 Whatamievendoing  1.8 years ago

Im planning to make a rotary bomb bay that carries 4 missiles in an 'x' shape. If the weapons on the four arms are all different, then I know how to code it. But the problem is, I'm planning to carry the same weapons on two of the arms (namely the interceptor AAM), and I'm now wondering if the game can detect if a certain missile is launched?

  • Log in to leave a comment
  • Profile image

    I tried to make one, and the code I got was
    clamp((ammo("Boom 50")),0,4)*6
    placed on a rotator. It might work if you put it on your one, but you will need to replace the Boom 50 with the name of the missile. It works by detecting the number of ammo left for a weapon, and then rotating the amount that there is back from 360. However, because it starts at 4, since there are 4 weapons, the rotary part will rotate round once after loading in, but it should work after, as long as your weapons deploy in the correct order.
    I hope this helps.

    +1 1.8 years ago