Read up on "latches", they are used to store values and can be told when to accept new values.
Ok, here's a quick run down.
Basically, I have built a long monorail track using the PHW pack. What I am trying to do is automate the train. I have welded a small panel to the front of the train, and basically, what I want it to do is when it passes a certain point the thruster strength changes until it reaches the next point. To do this, I have so far used a beacon to see when the train passes through the point. Once this beacon has been set off, it goes to a more then gate, and compares it to 0 from a constant value. (So if anything goes past, it's got to be greater then 0, so the output is positive. (1)) This is then sent through a multiplier of 9000. This 9000 is then sent through a radio to the thruster.
Now, what I want to know is how to get it to save the last radio message, so when it reaches the next way point, the thrusters strength changes. Any help would be greatly appreciated.
Read up on "latches", they are used to store values and can be told when to accept new values.
Bookmarks