跳至主內容

搜尋

What would the best way of selecting an object be in this situation?

  • Krustofsky

    I know there are ways of wiring this using selectors, but using exclusive gates seems easier.

    Exclusive gates work by only having one with the same name open at a time. So you place 24 exclusive gates, one for each color.

    I’m new at exclusive gates, but I believe having them set to “automatic” (the default) would work in your case. Basically it just means the gate closes automatically.

    So, you’ve placed a “grab” logic on each color block I assume, and set it to “hover”. Wire that to an exclusive gate (default settings) output to light or whatever.

    Just make sure all exclusive gates are named the same, this forces them to only have one open.

    This may be more thermo-costly than selectors, though. Not sure.

  • Krustofsky

    YouTube guide to exclusive gates which someone tipped me to: https://youtu.be/NmVgytE3bfY

  • RW_Bear

    I will check that out, thank you. I need a break from getting frustrated just messing around with it. As of right now I do not understand it.

    I can't use automatic without other logic because I need the gate to stay open until another color is selected. Having other ports turn off the gate wasn't working the way I was expecting either.

    The way I had it set up originally was (hover+x) logic for each color, connected to a selector, the output turns on a color node, that color lights up a block that stays lit up. When I wanted more than 10 options I ran into trouble.

  • RW_Bear

    I couldn't get it to work that way, but I was able to get the Selectors to finally work. I left the A slot open so nothing would be transmitted initially and used switched back to A anytime anyone of those 8 colors wasn't in use.

  • daniel-hamster

    i have a 50 slot selector on my profile if you want to try it out

  • Supposer

    I've released a "selector with more than 10 channels" creation. I'd recommend just figuring out how it works and then creating something similar to suit your needs. Or look at @daniel-hamster's, of course.

登入寫評論。