Profile image

How to Auto fire a Gun?

8 Yukisou  yesterday

I ain't good of funky trees but I've manage to make a tracking mode for a camera, for locking enemy aircraft for my AAtank, but the thing is i also want a autonomous firing mechanism to it as it locks on to an enemy it also fires for it self. I need some advice or codes that i can use, i cant do much because i only use my smartphone on making my planes it ain't looking good but im still a newbie so i hope there's someone that can help,thanks<3

  • Log in to leave a comment
  • Profile image
    111k Monarchii

    @SILVERPANZER I see

    7 hours ago
  • Profile image
    63.6k SILVERPANZER

    This needs to be set using the overload mod (there is one for the mobile version too), in the button section (from the drop-down list in this mod), in the first column -interectionType, and in the second - Toggle.

    +1 7 hours ago
  • Profile image

    @SILVERPANZER so what would that look like in xml

    8 hours ago
  • Profile image
    63.6k SILVERPANZER

    @Monarchii yes, press button and auto fire

    9 hours ago
  • Profile image
    111k Monarchii

    @SILVERPANZER and then you press it or?

    10 hours ago
  • Profile image
    63.6k SILVERPANZER

    @Monarchii There is another way to make automatic shooting, you need to enter the inputid in the button: FireWeapons or FireGuns (depending on the weapon), and also interectionType = Toggle

    10 hours ago
  • Profile image
    111k Monarchii

    i don't think there's another way beside causing critical damage after spawning? like the build has 2/3rd of fake blocks or something to detach after it spawns using a Detacher part.. idk if there's any new way tbh

    yesterday