How to preventing repeating signals

    Joined
    Oct 24, 2017
    Messages
    39
    Reaction score
    54
    Hello, I made a harpoon the other day that uses an area trigger to know when to activate a door. What I wanted was for the area trigger to turn the door on, but for repeat signals from the area trigger to do nothing, such that it would stay turned on until a signal from a different source came in. Using just logic blocks, I got stumped.

    This is what I ended up doing:


    The signal from the area controller moves the rail at the top to a position to turn on the activation module, which turns on the door. That way, repeated signals only tell the rail to go the same direction, and do not interfere. A second signal moves the top rail to the other side, deactivating the door. Is there a way to do this without a docked entity? IT seems like it should be possible, if not easier, but I couldn't come up with a solution that would disable the area trigger after first use.
     
    Joined
    Feb 10, 2017
    Messages
    350
    Reaction score
    775
    • Community Content - Bronze 2
    • Legacy Citizen 5
    • Likeable
    starmade-screenshot-0142.png
    left button -> left And -> FlipFlop
    right button -> right And -> FlipFlop.
    FlipFlop -> left And
    FlipFlop -> Not
    Not -> right And.
     
    • Like
    Reactions: ProfDriftwood