Jump to content

Recommended Posts

Posted

Is it possible to "remember" the state of a switch motor?

I would really like to know this, its for a large train track in my city and i need to go to different destinations with only 1 line of tracks

the plan is to only have to press 1 button and all switch tracks get in the right state and to travel to any destination from any start point

I don`t know if its possible in tekkit, but thanx in advance for your anwser...

Posted

Probably easiest with a Computer Craft program that checks which line you want then sets all of the motors that need to be set. A loop which takes an input then a lot of ifs that choose the right output setting (does Lua have Select statements?) then waits for a new input.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...