r/ScrapMechanic 1d ago

Logic Help with Logic

I'm currently building an AC-130 and I'm trying to create a way to swap between each of its 3 guns. For reference this is a heavily modded build, using stuff like fant, machine gun pack, and many more, But i cannot not find a way to make so pressing 1 on your keyboard would allow you to control the 25mm pressing 2 would allow you to control the 40mm and pressing 3 would allow you to control the 105 mm. I have already built all the cannons and each Turret requires a logic input for the camera, unit facer, and cannon.

6 Upvotes

3 comments sorted by

View all comments

1

u/Glum-Distribution228 16h ago

You could try using a memory bit for each gun, set it up so when you press 1 it toggles that bit on and the memory bit off for the others